Python, PostgreSQL, What next?

V

vbgunz

Hello all,

I've studied Python and studied PostgreSQL. What is the absolute next
best step to take to merge these two finely together? I've heard of
SQLAlchemy and some others but before I dive in, I would really like
the opinion of those who tried it and other toolkits.

My main concern is, I would like to completely work with a database
from Python. What would you suggest I look into?

Thank you for your time!
 
A

Armin

I've studied Python and studied PostgreSQL. Good.

What is the absolute next best step to take to merge these two finely
together? I've heard of

Just download psycopg2. Python and PostgreSQL are a match made in heavan.

Make your connection,
do querys,
get data,
earn profits.

Object-Relational-Mappers are to direct SQL as phone sex is to the real
thing.

Harald
 
F

Fredrik Lundh

T

Thomas Bartkus

Hello all,

I've studied Python and studied PostgreSQL. What is the absolute next
best step to take to merge these two finely together? I've heard of
SQLAlchemy and some others but before I dive in, I would really like
the opinion of those who tried it and other toolkits.

My main concern is, I would like to completely work with a database
from Python. What would you suggest I look into?

Let me venture that the biggest problem most people seem to have is that
they endure great pain just to avoid learning SQL. SQL is a complete
programming language in and of itself with a breadth and depth that most
people miss. And it covers much terrain missed by Python. Which is a good
thing because SQL and Python are perfect together. With this language mix
you've got darn near everything licked.

Get SQL in your head and all you will need would be the db-api interface
with Postgres that Frederick Lundh pointed you to. All you want to do is
throw SQL commands at Postgres and recover result sets into Python.

It's a cinch.
Thomas Bartkus
 
J

jim-on-linux

Before commiting to a RDBMS take a look at Gadfly.

Depending on what you need a RDB for,
(light duty), or (heavy duty) take a look at
gadfly. Gadfly is made from all python code.

Use stardard SQL statements like Select, Create
and Drop Tables, etc.

Newest version GadflyB5
http://gadfly.sourceforge.net/

jim-on-linux
http://www.inqvista.com




 
V

vbgunz

I need to thank you all for your suggestions and recommendations. I am
ultimately aiming to work in Python, PostgreSQL and Django and this
link http://www.sqlalchemy.org/news.myt#item_3 sort of made my day :)

I really appreciate all of your feedback and will go through Fredrik's
links as soon as I get the chance. I thank you all again, I appreciate
it very much!
 

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

Forum statistics

Threads
474,271
Messages
2,571,357
Members
48,042
Latest member
DoraMcBrie

Latest Threads

Top