• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux py-postgresql Download

py-postgresql

June 16, 2009
The PostgreSQL driver and tools library" is a software package that provides tools for PostgreSQL databases, including a driver for connecting to the database and various other utilities for managing and manipulating data within the database.
Version 0.9.0
License BSD License
Platform Linux
Supported Languages English
Homepage python.projects.postgresql.org
Developed by James William Pye
I recently had the opportunity to review py-postgresql, a versatile Python library that allows users to interface with various aspects of PostgreSQL. The library includes a pure-Python driver with C optimizations for easy querying of PostgreSQL databases.

One of the standout features of py-postgresql is its easy-to-use code, which allows users to quickly get started with the library. Sample PG-API code is readily available for testing and experimentation. For example, the following code initializes a connection to a PostgreSQL database, creates a new table, and inserts data into it:

```
import postgresql
db = postgresql.open('pq://user:password@host:port/database')
db.execute("CREATE TABLE emp (emp_first_name text, emp_last_name text, emp_salary numeric)")
make_emp = db.prepare("INSERT INTO emp VALUES ($1, $2, $3)")
make_emp("John", "Doe", "75,322")
with db.xact():
make_emp("Jane", "Doe", "75,322")
make_emp("Edward", "Johnson", "82,744")
```

py-postgresql also includes a DB-API 2.0 module, called postgresql.driver.dbapi20, though users are encouraged to use the PG-API instead as it provides greater utility.

Installation of the library is straightforward, and users are encouraged to try out the pg_python console script. With this script, a user can easily connect to a remote host and open a Python console with the database connection already bound to the `db` name. Simply run the following command:

```
$ pg_python -h localhost -p port -U theuser -d database_name
```

Overall, I found py-postgresql to be an excellent tool for working with PostgreSQL databases using Python. Its range of features and ease of use make it a valuable addition to any developer's toolbox.
What's New

Version 0.9.0: N/A

Free Download 202K
436
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Xws
Xws is a multi-player server software that enables users to play Across ...
yahoo2mbox
Yahoo2mbox software is a Perl script designed to extract all messages from ...
Sacred
SACRED is an upgraded edition of the ROM 2.4b6 source code, offering ...
Multi-Site Opener
This software allows users to open multiple websites simultaneously either in tabs ...
ALPHAmanager
A versatile software solution designed to streamline various business operations, including inventory ...
toaH
The Super Simple CMS is an easy-to-use content management software that simplifies ...
MJPG-streamer
MJPG-streamer is a command-line tool for streaming JPEG files.
PhotoXtractor
PhotoXtractor is an image recovery software that helps to retrieve lost or ...
pXw4Pa
pXw4Pa - inadequate PHP array to XML wrapper.
SNAPPIX
SNAPPIX is a Linux distribution based on KNOPPIX's live CD, featuring a ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.