mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Mention the CFFI port to Psycopg2 in documentation.
The CFFI port works much better on PyPy and has been used in production before. The documentation mentioned the Ctypes port but not the CFFI port. I added it to the documentation.
This commit is contained in:
parent
d70d3ee482
commit
a1fd2da1dc
|
@ -13,12 +13,15 @@ is a C extension and as such it is only compatible with CPython_. If you want
|
||||||
to use Psycopg on a different Python implementation (PyPy, Jython, IronPython)
|
to use Psycopg on a different Python implementation (PyPy, Jython, IronPython)
|
||||||
there is an experimental `porting of Psycopg for Ctypes`__, but it is not as
|
there is an experimental `porting of Psycopg for Ctypes`__, but it is not as
|
||||||
mature as the C implementation yet.
|
mature as the C implementation yet.
|
||||||
|
In addition to that port, there is a `CFFI port of Psycopg`__ which is
|
||||||
|
faster on PyPy and has seen some success in production environments.
|
||||||
|
|
||||||
.. _PostgreSQL: https://www.postgresql.org/
|
.. _PostgreSQL: https://www.postgresql.org/
|
||||||
.. _Python: https://www.python.org/
|
.. _Python: https://www.python.org/
|
||||||
.. _libpq: https://www.postgresql.org/docs/current/static/libpq.html
|
.. _libpq: https://www.postgresql.org/docs/current/static/libpq.html
|
||||||
.. _CPython: https://en.wikipedia.org/wiki/CPython
|
.. _CPython: https://en.wikipedia.org/wiki/CPython
|
||||||
.. _Ctypes: https://docs.python.org/library/ctypes.html
|
.. _Ctypes: https://docs.python.org/library/ctypes.html
|
||||||
|
.. _`CFFI port of Psycopg`: https://github.com/chtd/psycopg2cffi
|
||||||
.. __: https://github.com/mvantellingen/psycopg2-ctypes
|
.. __: https://github.com/mvantellingen/psycopg2-ctypes
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user