Summary

In this chapter, we've shown you the Python DB-API (version 2.0). There are at least three implementations of the PostgreSQL/DB-API interface; we've described the PyGreSQL implementation because that is the one you are most likely to have if you're using an older version of PostgreSQL (it was distributed with PostgreSQL for quite some time). As we mentioned at the beginning of this chapter, all three PostgreSQL/Python APIs are compatible with the Python DB-API so you can choose a different implementation if you find that it offers features that you need.

As we mentioned at the start of this chapter, you can also use the PyGreSQL interface without using the DB-API wrapper. PyGreSQL is a nifty toolkit, but the DB class offers some nice features.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset