Python + RDBM framework?

B

bukzor

It seems that whenever I have an application that uses a database
(MySQL) I end up writing a database framework from scratch. Is there
some accepted pre-existing project that has done this?

I see Django, but that seems to have a lot of web-framework that I
don't (necessarily) need. I just want to have my objects go in and out
of the database in a consistent manner without writing a ton of code.
Can you just use the database part without making a full-blow web app?

I see Zope, but that doesn't use MySQL (as far as I can tell), which
I've invested a lot of time learning to use and optimize. Also, my
manager wants to be able to log into a MySQL prompt and be able to
look at the data.

--Buck
 
B

bukzor

Zope definitely has MySQL interface, but if you think Django is a lot then Zope
is even more.  If I'm understanding your correctly what you want is ORM/  These
links should help:

http://pythonnotes.blogspot.com/200.../www.sqlalchemy.org/http://www.sqlobject.org/

-Larry

Both of those would work. I have a lot of data-integrity checks to
make that would be impossible at the MySQL level and hard at the
python/MySQLdb level. This will help a lot. I'll probably use the
SQLAlchemy.

Thanks so much!
--Buck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top