mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Docs front page adjustments
This commit is contained in:
parent
82dc32cebd
commit
a666432329
|
@ -4,12 +4,13 @@ Psycopg -- PostgreSQL database adapter for Python
|
||||||
|
|
||||||
.. sectionauthor:: Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
.. sectionauthor:: Daniele Varrazzo <daniele.varrazzo@gmail.com>
|
||||||
|
|
||||||
Psycopg_ is a PostgreSQL_ database adapter for the Python_ programming
|
Psycopg_ is the most popular PostgreSQL_ database adapter for the Python_
|
||||||
language. Its main features are that it supports the full Python |DBAPI|_
|
programming language. Its main features are the complete implementation of
|
||||||
and it is thread safe (threads can share the connections). It was designed for
|
the Python |DBAPI|_ specification and the thread safety (several threads can
|
||||||
heavily multi-threaded applications that create and destroy lots of cursors and
|
share the same connection). It was designed for heavily multi-threaded
|
||||||
make a large number of concurrent :sql:`INSERT`\ s or :sql:`UPDATE`\ s.
|
applications that create and destroy lots of cursors and make a large number
|
||||||
The Psycopg distribution includes ZPsycopgDA, a Zope_ Database Adapter.
|
of concurrent :sql:`INSERT`\s or :sql:`UPDATE`\s. The Psycopg distribution
|
||||||
|
includes ZPsycopgDA, a Zope_ Database Adapter.
|
||||||
|
|
||||||
Psycopg 2 is mostly implemented in C as a libpq_ wrapper, resulting in being
|
Psycopg 2 is mostly implemented in C as a libpq_ wrapper, resulting in being
|
||||||
both efficient and secure. It features client-side and :ref:`server-side
|
both efficient and secure. It features client-side and :ref:`server-side
|
||||||
|
@ -18,12 +19,13 @@ both efficient and secure. It features client-side and :ref:`server-side
|
||||||
support, and a flexible :ref:`objects adaptation system
|
support, and a flexible :ref:`objects adaptation system
|
||||||
<python-types-adaptation>`. Many basic Python types are supported
|
<python-types-adaptation>`. Many basic Python types are supported
|
||||||
out-of-the-box and mapped to matching PostgreSQL data types, such as strings
|
out-of-the-box and mapped to matching PostgreSQL data types, such as strings
|
||||||
(both bytes and Unicode), numbers (ints, longs, floats, decimals), booleans and
|
(both byte strings and Unicode), numbers (ints, longs, floats, decimals),
|
||||||
datetime objects (both built-in and `mx.DateTime`_), several types of
|
booleans and date/time objects (both built-in and `mx.DateTime`_), several
|
||||||
:ref:`binary objects <adapt-binary>`. Also available are mappings between lists
|
types of :ref:`binary objects <adapt-binary>`. Also available are mappings
|
||||||
and PostgreSQL arrays of any supported type, between :ref:`dictionaries and
|
between lists and PostgreSQL arrays of any supported type, between
|
||||||
PostgreSQL hstores <adapt-hstore>`, and between :ref:`tuples/namedtuples and
|
:ref:`dictionaries and PostgreSQL hstore <adapt-hstore>`, between
|
||||||
PostgreSQL composite types <adapt-composite>`.
|
:ref:`tuples/namedtuples and PostgreSQL composite types <adapt-composite>`,
|
||||||
|
and between Python objects and :ref:`JSON <adapt-json>`.
|
||||||
|
|
||||||
Psycopg 2 is both Unicode and Python 3 friendly.
|
Psycopg 2 is both Unicode and Python 3 friendly.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user