BSD Ports

databases/py-postgresql 1.3.0_1 FreeBSD

Python 3 compatible PostgreSQL database driver and tools

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
databases, python
Package size
525.0 KiB, 3041.1 KiB installed

Description

Pure Python All code, at first, is written in pure Python so that py-postgresql will work anywhere that you can install Python 3. Optimizations in C are made where needed, but are always optional.

Prepared Statements Using the PG-API interface, protocol-level prepared statements may be created and used multiple times. db.prepare(sql)(*args)

COPY Support Use the convenient COPY interface to directly copy data from one connection to another. No intermediate files or tricks are necessary.

Arrays and Composite Typescw Arrays and composites are fully supported. Queries requesting them will returns objects that provide access to the elements within.

"pg_python" Quick Console Get a Python console with a connection to PostgreSQL for quick tests and simple scripts.

In the other systems

SystemPortVersion
FreeBSDdatabases/py-postgresql1.3.0_1
NetBSDdatabases/py-postgresql5.1nb1
DragonFlydatabases/py-postgresql1.3.0_1
MidnightBSDdatabases/py-postgresql1.1.0_4

Install

Binary package:

pkg install py312-postgresql

From the ports tree:

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

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

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

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:latest1.3.0_11.3.0_11.1.0_51.3.0_11.3.0_1
FreeBSD:14:quarterly1.3.0_11.3.0_1n/a1.3.0_11.3.0_1
FreeBSD:15:latest1.3.0_11.3.0_1n/a1.3.0_11.3.0_1
FreeBSD:15:quarterly1.3.0_11.3.0_1n/an/an/a
FreeBSD:16:latest1.3.0_11.3.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Build dependencies 12
Run dependencies 10

No port depends on this one.

Configuration

No options to configure.

USES
pgsql python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
postgresql/py-postgresql-1.3.0.tar.gz273764fca0f04d3f7478bd59c29c051e979d75b54be01545bd619eba2a3ed322a32c6e
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.