Skip to main content

DataBase Reader and Writer utilities

Project description

dbrw

Postgres DataBase Reader and Writer utilities.

Installation

pip install dbrw

Basic Usage

export DBRW_PGHOST=localhost
export DBRW_PGPORT=5432
export DBRW_PGDBNAME=postgres
export DBRW_PGUSER=postgres
export DBRW_PGPASSWORD=postgres
export DBRW_PGPOOLSIZE=10
from dbrw import DbSession, DbUtilities

session: DbSession = DbSession()
db: DbUtilities = session.get_db()

db.execute("SELECT * FROM mytable;")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbrw-0.1.11.tar.gz (9.3 kB view details)

Uploaded Source

File details

Details for the file dbrw-0.1.11.tar.gz.

File metadata

  • Download URL: dbrw-0.1.11.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.7

File hashes

Hashes for dbrw-0.1.11.tar.gz
Algorithm Hash digest
SHA256 1a43d6b43d1db896095726e38979f2b85f202822283e5436570c378777b9ad10
MD5 1beb03c3853ff7674234230ab066898e
BLAKE2b-256 3d73546ad288a74455dba58ac56d3308c6918b8ef6350b642509a6b242611eda

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page