473,387 Members | 1,493 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,387 software developers and data experts.

Advice for PostgreSQL

Hi,

Can someone please point me out to some module/library for using
PostgreSQL from python? Perhaps a tutorial as wel? Thanks!
Steve

Jul 18 '05 #1
3 1538
On Tue, 16 Dec 2003 15:17:38 +1100, Steve wrote:
Can someone please point me out to some module/library for using
PostgreSQL from python? Perhaps a tutorial as wel? Thanks!


Hmm. Typing "python" and "postgresql" into Google gives numerous
results, most of the useful ones at the top.

Typing "python" and "postgresql" along with "module" gets me a direct
hit:

<http://www.pygresql.org/>

Did this method not work for you?

--
\ "Yesterday I told a chicken to cross the road. It said, 'What |
`\ for?'" -- Steven Wright |
_o__) |
Ben Finney <http://bignose.squidly.org/>
Jul 18 '05 #2
Steve wrote:
Hi,

Can someone please point me out to some module/library for using
PostgreSQL from python?
Either one of these will do fine:

- http://pypgsql.sourceforge.net/
- http://initd.org/software/initd/psycopg

Both contain documentation, but not tutorial-like, AFAIK.
Perhaps a tutorial as wel? Thanks!


http://www.linuxjournal.com/article.php?sid=2605

It uses soliddb as a module, but all these modules implement the Python DB-API
2.0, so the major differences are the import statement and the call to .connect().

-- Gerhard

Jul 18 '05 #3
On Tue, 16 Dec 2003 15:17:38 +1100, Steve <nospam@nopes> wrote:
Can someone please point me out to some module/library for using
PostgreSQL from python? Perhaps a tutorial as wel? Thanks!


Try module 'psycopg' from www.initd.org !

Regards,

Olaf

--
EOP
Jul 18 '05 #4

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

Similar topics

0
by: Google Mike | last post by:
I need help from PHP land. I've just completed an open source work order management system in PHP on Linux (RH9). I plan to use an Apache license, which was recommended by a friend, so that I can...
10
by: Frank Millman | last post by:
Hi all I would like some advice, and I hope that the good people on c.l.p will give me the benefit of their experience. I am busy developing an accounting package, using Python and wxPython,...
2
by: Randall Smith | last post by:
When I had been programming for a few years, I realised that as much as a love to learn, I can only explore and be proficient at a limited subset of technologies. I explored different languages to...
1
by: David Bear | last post by:
I would like some advice on what crypto lib to use. I am writing a cgi app that will store sensative data in a backend postgresql server. I have some simple numeric data I would like to make as...
3
by: John French | last post by:
I've been interested in Python for a while now but haven't had an opportunity to use / learn it. I'm tasked now with a project at work that might be my first opportunity. I have to write a ~75...
2
by: Egor Shipovalov | last post by:
I have a lot of tables of the same structure that represent weekly states of a certain system. I'd like to write a function that would take field name, number of weeks and return history of that...
0
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for following PostgreSQL versions: 7.4.5 7.4.4 7.3.7
1
by: | last post by:
Hi Database Gurus, Not to start a war among fanatics, but I just wanted to get honest opinion/advise of smart folks like you about this. We are about to begin development for a data intensive web...
5
by: Ted | last post by:
I am working on two versions of an application, one of which will be a windows forms application (which will need to be redistributable) and the other will be a web application. I have MS Visual...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.