Re: [IronPython] SQLite
2009/7/30 Kelie : > Is SQLite currently supported in IronPython? If not, is SQLite .NET > from http://sqlite.phxsoftware.com/ the best alternative? Seems so. Others have replied about this. One alternative was not mentioned in this thread. That is, CPython's SQLite module('s upstream), pysqlite, has been ported to ctypes FFI in the past. Now IronPython has ctypes, in theory, this pure Python version should work without modification. I don't think it will work without modification :) but it certainly would be a great stress test for IronPython's new ctypes implementation. -- Seo Sanghyeon ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] SQLite
On Wed, Jul 29, 2009 at 12:19 PM, Harry Pierson wrote: > We don't support the CPython sqlite3 module, but I would expect the > System.Data.SQLite DLL to work with IronPython. I imagine it would be > possible to build a sqlite3 compatible wrapper around System.Data.SQLite, but > I don't know if anyone has done that. You had to ask? :) There's one available as part of FePy (http://fepy.sourceforge.net/) or my adonet-dbapi project(http://bitbucket.org/jdhardy/adonet-dbapi/), which is just a fork of FePy anyway. It implements almost all of the Python sqlite module, except for custom functions. It depends on System.Data.SQLite (http://sqlite.phxsoftware.com/). - Jeff ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
[IronPython] Project versions updated to 2010
We have just updated ToolsVersion attribute in .csproj files included in IronPython and IronRuby solutions to "4.0". This change will soon show up in CodePlex and GIT sources. It allows to open these projects in Visual Studio 2010 (using IronPython4.sln or Ruby4.sln). The binaries produced by both builds (from VS2008 and VS2010) still have dependency only on .NET 2.0 assemblies so there is no change in that. You'll need Service Pack 1 installed in order to build Ruby.sln or IronPython.sln from VS2008. When you build from VS2008 you'll get a bunch of msbuild warnings: Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5". This is expected, you can ignore them. Thanks, Tomas ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] SQLite
If not, is SQLite .NET from http://sqlite.phxsoftware.com/ the best alternative? Yes. That library is solid. I have used them in productions. On Thu, Jul 30, 2009 at 12:04 AM, Bruce Bromberek wrote: > In Cpython I use SQLite, in Iron Python I've taken to using SQL Server > Compact Edition. But then again I am only writing for the windows platform. > > > On Wed, Jul 29, 2009 at 1:19 PM, Harry Pierson < > harry.pier...@microsoft.com> wrote: > >> We don't support the CPython sqlite3 module, but I would expect the >> System.Data.SQLite DLL to work with IronPython. I imagine it would be >> possible to build a sqlite3 compatible wrapper around System.Data.SQLite, >> but I don't know if anyone has done that. >> >> Harry >> >> -Original Message- >> From: users-boun...@lists.ironpython.com [mailto: >> users-boun...@lists.ironpython.com] On Behalf Of Kelie >> Sent: Wednesday, July 29, 2009 10:52 AM >> To: users@lists.ironpython.com >> Subject: [IronPython] SQLite >> >> Hello, >> >> Is SQLite currently supported in IronPython? If not, is SQLite .NET >> from http://sqlite.phxsoftware.com/ the best alternative? >> >> Thanks. >> ___ >> Users mailing list >> Users@lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> >> ___ >> Users mailing list >> Users@lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > ___ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > -- nomadlife.org ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] SQLite
In Cpython I use SQLite, in Iron Python I've taken to using SQL Server Compact Edition. But then again I am only writing for the windows platform. On Wed, Jul 29, 2009 at 1:19 PM, Harry Pierson wrote: > We don't support the CPython sqlite3 module, but I would expect the > System.Data.SQLite DLL to work with IronPython. I imagine it would be > possible to build a sqlite3 compatible wrapper around System.Data.SQLite, > but I don't know if anyone has done that. > > Harry > > -Original Message- > From: users-boun...@lists.ironpython.com [mailto: > users-boun...@lists.ironpython.com] On Behalf Of Kelie > Sent: Wednesday, July 29, 2009 10:52 AM > To: users@lists.ironpython.com > Subject: [IronPython] SQLite > > Hello, > > Is SQLite currently supported in IronPython? If not, is SQLite .NET > from http://sqlite.phxsoftware.com/ the best alternative? > > Thanks. > ___ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > > ___ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] SQLite
We don't support the CPython sqlite3 module, but I would expect the System.Data.SQLite DLL to work with IronPython. I imagine it would be possible to build a sqlite3 compatible wrapper around System.Data.SQLite, but I don't know if anyone has done that. Harry -Original Message- From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Kelie Sent: Wednesday, July 29, 2009 10:52 AM To: users@lists.ironpython.com Subject: [IronPython] SQLite Hello, Is SQLite currently supported in IronPython? If not, is SQLite .NET from http://sqlite.phxsoftware.com/ the best alternative? Thanks. ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Re: [IronPython] SQLite
On Wed, Jul 29, 2009 at 12:51, Kelie wrote: > Hello, > > Is SQLite currently supported in IronPython? If not, is SQLite .NET > from http://sqlite.phxsoftware.com/ the best alternative? > > Thanks. sqlite3 is implemented as a C extension, and as such, does not currently work. I've used the library you linked to in a C# application before and it worked fine for me. I would imagine the same would be true of it in IronPython. Give it a shot. ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
[IronPython] SQLite
Hello, Is SQLite currently supported in IronPython? If not, is SQLite .NET from http://sqlite.phxsoftware.com/ the best alternative? Thanks. ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
[IronPython] mono packages for ironpython
Hi I've added the ironpython mono package to the ironruby mono CI server. It is slightly different from the windows package it doesn't have the licenses included nor does it have the 64bit builds and the pyc.py file. The tutorial is also not in the github repository so I couldn't include that either. you can download the packages here: http://ironruby.colliertech.org/ --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com