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

Uploaded Source

File details

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

File metadata

  • Download URL: dbrw-0.1.12.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for dbrw-0.1.12.tar.gz
Algorithm Hash digest
SHA256 b3c7dfc3e40542f132847e95013f5e7af3c041997227f6846c7572b2c02826b3
MD5 909ae40a3d28a6e21a8d384e84191302
BLAKE2b-256 b42fb1578ef1cda452e4001e7264066ffa8ab1840f470b5c199e34438671e23f

See more details on using hashes here.

Supported by

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