BSD Ports

databases/py-psycopg2 2.9.13 FreeBSD

High performance Python adapter for PostgreSQL

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
6b5f4ad659
License
LGPL3
Categories
databases, python
Package size
159.9 KiB, 722.1 KiB installed

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.

In the other systems

SystemPortVersion
FreeBSDdatabases/py-psycopg22.9.13
OpenBSDdatabases/py-psycopg22.9.13p0
NetBSDdatabases/py-psycopg22.9.13
DragonFlydatabases/py-psycopg22.9.10
MidnightBSDdatabases/py-psycopg22.8.6_1

Install

Binary package:

pkg install py312-psycopg2

From the ports tree:

cd /usr/ports/databases/py-psycopg2/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-psycopg2>0:databases/py-psycopg2

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.9.132.9.132.9.52.9.102.9.13
FreeBSD:14:quarterly2.9.132.9.13n/a2.9.102.9.13
FreeBSD:15:latest2.9.132.9.13n/a2.9.102.9.10
FreeBSD:15:quarterly2.9.132.9.13n/an/an/a
FreeBSD:16:latest2.9.132.9.13n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

Build dependencies 17
Run dependencies 10

Configuration

No options to configure.

USES
pgsql python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
psycopg2-2.9.13.tar.gz378068d36784fc2dae69523ba4b79c7d1d1b4d6e83e87836874f111262f4db940b16a6
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
6b5f4ad659 Po-Chuan Hsieh databases/py-psycopg2: Update to 2.9.13
Changes: https://github.com/psycopg/psycopg2/blob/master/NEWS https://www.psycopg.org/docs/news.html