BSD Ports

databases/py-postgresql 1.3.0_1 DragonFly

Python 3 compatible PostgreSQL database driver and tools

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
databases, python
Package size
500.3 KiB, 3317.2 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
DragonFlydatabases/py-postgresql1.3.0_1
FreeBSDdatabases/py-postgresql1.3.0_1
NetBSDdatabases/py-postgresql5.1nb1
MidnightBSDdatabases/py-postgresql1.1.0_4

Install

Binary package:

pkg install py311-postgresql

From DPorts:

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

Dependencies

Run dependencies 2

No port depends on this one.