Port details on branch 2024Q3 |
- py-psycopg2 High performance Python adapter for PostgreSQL
- 2.9.10 databases =15 2.9.9_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2006-08-10 19:35:33
- Last Update: 2024-10-22 21:58:18
- Commit Hash: 810ea94
- People watching this port, also watch:: libgcrypt, libxml2, libgpg-error, p5-Digest-HMAC, p5-Net-SSLeay
- Also Listed In: python
- License: LGPL3
- WWW:
- https://www.psycopg.org/
- https://github.com/psycopg/psycopg2
- Description:
- psycopg2 is a PostgreSQL database adapter for the Python programming language.
It was written from scratch with the aim of being small, fast and stable. It
supports the full Python DBAPI-2.0 and is thread safe.
psycopg2 is different from the other database adapter because it was designed
for heavily multi-threaded applications that create and destroy lots of cursors
and make a conspicuous number of concurrent INSERTs or UPDATEs. Every open
Python connection keeps a pool of real (UNIX or TCP/IP) connections to the
database. Every time a new cursor is created, a new connection does not need to
be opened; instead one of the unused connections from the pool is used. That
makes psycopg very fast in typical client-server applications that create a
servicing thread every time a client request arrives.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-psycopg2/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-psycopg2
- pkg install py311-psycopg2
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-psycopg2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-psycopg2
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1729594454
SHA256 (psycopg2-2.9.10.tar.gz) = 12ec0b40b0273f95296233e8750441339298e6a572f7039da5b260e3c8b60e11
SIZE (psycopg2-2.9.10.tar.gz) = 385672
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- Library dependencies:
-
- libpq.so.5 : databases/postgresql16-client
- This port is required by:
- for Build
-
- deskutils/py-paperless-ngx
-
Deleted ports which required this port:
- for Run
-
- audio/py-supysonic
- databases/nagios-check_postgres_replication
- databases/pg_activity
- databases/pg_partman
- databases/pgbarman
- databases/powa-web
- databases/py-aiopg
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- databases_py-psycopg2
- USES:
- pgsql python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|