473,378 Members | 1,321 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Databases with python

Hi All,

I am interested in playing with python some more and am looking at
writing an app with data stored in a database. I have experience with
mysql but thought that their may be other better databases that can be
more easily distributed with the program does anyone have any
suggestions here?

I only use linux myself but I can foresee some windows people wanting
to use what I create and if I am going to support windows then I might
as well support mac too. (this is to say that the database should
support the 3 main platforms in use)

Also is wxpython the best cross platform gui library it seems to be
the best I have seen so far.

--
Kind Regards,
Anthony Irwin

http://www.irwinresources.com
email: anthony at the above domain, - www.
Apr 13 '07 #1
3 1406
Anthony Irwin wrote:
Hi All,

I am interested in playing with python some more and am looking at
writing an app with data stored in a database. I have experience with
mysql but thought that their may be other better databases that can be
more easily distributed with the program does anyone have any
suggestions here?
with SQLObject ( http://www.sqlobject.org/ )
or SQLAlchemy ( http://www.sqlalchemy.org/ )
you can use any of the supported (sqlite, mysql, postgresql, firebird)
databases in an object oriented way without worrying about the details
of the database you use.

sqlite ( http://www.sqlite.org/ ) is a database which stores its data
directly into a file, while all other databases require a server to
be installed prior to using it,

so if you want to distribute your application it might be the easiest way
to use sqlite as your database.

Python 2.5 and newer has sqlite already included, thus it seems
the database of choice.
I only use linux myself but I can foresee some windows people wanting to
use what I create and if I am going to support windows then I might as
well support mac too. (this is to say that the database should support
the 3 main platforms in use)

Also is wxpython the best cross platform gui library it seems to be the
best I have seen so far.
Happy pythoning

Herbert

ps: if you want to create a web-application i can recommend
TurboGears ( http://www.turbogears.org/ )
Apr 13 '07 #2


On Apr 13, 1:02 am, Anthony Irwin <nos...@noemailhere.nowherewrote:
Hi All,

I am interested in playing with python some more and am looking at
writing an app with data stored in a database. I have experience with
mysql but thought that their may be other better databases that can be
more easily distributed with the program does anyone have any
suggestions here?

Specially if your program is going to be multi plattform, check out
BuzHug http://buzhug.sourceforge.net/

It is a pure python database. Its performance may not be that high,
but it will be very easily distributed with your program. The
interface is pythonic, with no SQL to write.

Apr 13 '07 #3
Anthony Irwin wrote:
Also is wxpython the best cross platform gui library it seems to be the
best I have seen so far.
IMO, it's an extremely mature and well-supported library. I have no
experience with others (except a brief stint with Tkinter) but the
consensus I hear seems to be that wxPython is probably the most popular
choice.
Apr 13 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Marc | last post by:
Hi all, Having never used a database before and immersing myself in reading stuff about databases over the last two days I have come to this conclusion, I still don't know which one I need. I've...
2
by: Tim Williams | last post by:
I'm trying to write a simple python program to access a MySQL database. I'm having a problem with using MySQLdb to get the results of a SQL command in a cursor. Sometimes the cursor.execute works,...
4
by: Carl | last post by:
Using COM and ADO on Win32, it is very easy to access databases (eg MySql, MS SQL Server, etc) from Python. Does anybody know if it is possible to access databases from Zope (which is written in...
10
by: andrea_gavana | last post by:
Hello NG, I am still quite a newbie with Python (I intensely use wxPython, anyway). I would like to know what are, in your opinions, the best/faster databases that I could use in Python (and, of...
1
by: Mir Nazim | last post by:
Hi, I m planning to use ZODB for an applicaton. Is any one aware of report generators like Data Vision, Crystal Reports, fo python object databases. Some of you may have faced/solved similar...
6
by: Petr Jakes | last post by:
I would like to know if anybody can point me to the site, where it is possible to find the tutorial "Using Databases in Python" which is mentioned by Steve Holden here: http://tinyurl.com/ectj8 ...
2
by: RayOsborn | last post by:
I have some old "shelve" databases created in Python 2.2 that use the old bsddb format, whereas the version of Python 2.4 installed by my web hosting service doesn't have bsddb available at all...
0
by: M.-A. Lemburg | last post by:
On 2008-06-18 09:41, David wrote: You can have complete history in a database schema by: * adding a version column * adding a modification timestamp (and modification username, if that's...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.