473,396 Members | 2,106 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,396 software developers and data experts.

Python + RDBM framework?

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
Jun 27 '08 #1
3 1086
bukzor wrote:
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
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/2004...orm-tools.html
http://www.sqlalchemy.org/
http://www.sqlobject.org/

-Larry

Jun 27 '08 #2
On Jun 14, 10:43*am, Larry Bates <larry.ba...@websafe.com`wrote:
bukzor wrote:
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

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

http://pythonnotes.blogspot.com/2004...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
Jun 27 '08 #3
bukzor wrote:
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
Not sure of your project but you might consider Dabo (www.dabodev.com).
John
Jun 27 '08 #4

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

Similar topics

0
by: Phillip J. Eby | last post by:
PEP: 333 Title: Python Web Server Gateway Interface v1.0 Version: $Revision: 1.1 $ Last-Modified: $Date: 2004/08/27 17:30:09 $ Author: Phillip J. Eby <pje at telecommunity.com> Discussions-To:...
0
by: Neil Benn | last post by:
Hello, I'm attempting to determine what paths I would need on a win32, Linux, OSX box to run python. This should be a vanilla python with no extra packages (including tk). The paths I have...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
122
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one...
53
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I...
8
by: metaperl.etc | last post by:
Earlier I asked about how people installed Python on OS X, given that one can choose from Xcode, Fink, Darwin, ActiveState and source builds: ...
4
by: Arnaud Delobelle | last post by:
Hi fellow python enthusiasts. Having recently acquired a MacBook Pro (Intel Core 2 Duo) which comes with python2.5, I have been installing some modules that I need (PIL, psycopg2, PyXML ...). ...
1
by: Con | last post by:
Hi, I'm gettting a traceback when I attempt to read the MySQLdb docs after installation on Mac OS X 10.5.2: BEGIN TRACEBACK: Traceback (most recent call last): File "<stdin>", line 1, in...
8
by: Barry Warsaw | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team and the Python community, I am happy to announce the release of Python 2.6 final. This is the...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.