BSD Ports

databases/py-postgresql 1.1.0_4 MidnightBSD

Python 3 compatible PostgreSQL database driver and tools

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd3
Categories
databases, python

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
MidnightBSDdatabases/py-postgresql1.1.0_4
FreeBSDdatabases/py-postgresql1.3.0_1
NetBSDdatabases/py-postgresql5.1nb1
DragonFlydatabases/py-postgresql1.3.0_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}postgresql

From mports:

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

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

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}postgresql>0:databases/py-postgresql

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
pgsql python:3.3+ zip
Service scripts
none

Files

distinfo 1
FileSizeSHA256
postgresql/py-postgresql-1.1.0.zip2545374bae6e15bf0be03294240acc5b27f5aa2d9649188bc4528cd5b5512582e0ea93
Master sites 2
  • PYPI
  • http://python.projects.postgresql.org/files/