Port details on branch 2024Q2 |
- py-psycopg2 High performance Python adapter for PostgreSQL
- 2.9.9_1 databases =14 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-03-23 14:31:06
- Commit Hash: ce63478
- People watching this port, also watch:: ca_root_nss, libgcrypt, libgpg-error, libxml2, p5-Digest-HMAC
- 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 py39-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 py39-psycopg2 listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-psycopg2
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1696432898
SHA256 (psycopg2-2.9.9.tar.gz) = d1454bde93fb1e224166811694d600e746430c006fbb031ea06ecc2ea41bf156
SIZE (psycopg2-2.9.9.tar.gz) = 384926
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:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- Library dependencies:
-
- libpq.so.5 : databases/postgresql15-client
- This port is required by:
- for Build
-
- deskutils/py-paperless-ngx
-
Deleted ports which required this port:
- for Run
-
- databases/nagios-check_postgres_replication
- databases/pg_activity
- databases/pg_partman
- databases/pgbarman
- databases/powa-web
- databases/py-Pyrseas
- 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:
|