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.10.tar.gz (9.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: dbrw-0.1.10.tar.gz
  • Upload date:
  • Size: 9.4 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.10.tar.gz
Algorithm Hash digest
SHA256 aca7384e396bf9e4788abdfc3f7a8917c900a240ac329a6368c5cccbb5d517db
MD5 cac9b4e61330864b28868a99a38164f5
BLAKE2b-256 0fd58d87143b466e220832642a1bf388faa4eaccae5ae133991c13eb27dffd9f

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