Coder Social home page Coder Social logo

optionalg / psycopg2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from psycopg/psycopg2

0.0 3.0 0.0 6.62 MB

PostgreSQL database adapter for the Python programming language

Home Page: http://initd.org/psycopg/

License: Other

Makefile 0.23% Python 49.27% C 49.57% Shell 0.60% Batchfile 0.33%

psycopg2's Introduction

psycopg2 - Python-PostgreSQL Database Adapter

Psycopg is the most popular PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python DB API 2.0 specification and the thread safety (several threads can share the same connection). It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a large number of concurrent "INSERT"s or "UPDATE"s.

Psycopg 2 is mostly implemented in C as a libpq wrapper, resulting in being both efficient and secure. It features client-side and server-side cursors, asynchronous communication and notifications, "COPY TO/COPY FROM" support. Many Python types are supported out-of-the-box and adapted to matching PostgreSQL data types; adaptation can be extended and customized thanks to a flexible objects adaptation system.

Psycopg 2 is both Unicode and Python 3 friendly.

Documentation

Documentation is included in the doc directory and is available online.

Installation

If your pip version supports wheel packages it should be possible to install a binary version of Psycopg including all the dependencies from PyPI. Just run:

$ pip install -U pip      # make sure your pip is up-to-date
$ pip install psycopg2

If you want to build Psycopg from source you will need some prerequisites (a C compiler, development packages): please check the install and the faq documents in the doc dir for the details.

For any other resource (source code repository, bug tracker, mailing list) please check the project homepage.

Linux/OSX

Linux and OSX build status

Windows

Windows build status

psycopg2's People

Contributors

dvarrazzo avatar fogzot avatar a1exsh avatar jhenstridge avatar jerickso avatar wulczer avatar tranchitella avatar mrmilosz avatar cjw296 avatar slacy avatar razerm avatar msabramo avatar intgr avatar snaury avatar mildebrandt avatar enmand avatar giomasce avatar yoloseem avatar james-emerton avatar nateeag avatar flupzor avatar cataliniacob avatar chrullrich avatar moench-tegeder avatar clodoaldopinto avatar tabletcorry avatar gnur avatar dargor avatar idank avatar jonnelson avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.