Skip to main content

PostgreSQL Database Manager

Project description

pgElephant

PostgreSQL Database Manager

CREATE ADMIN

bank = PostgreSQL(dbname='your_db',user='your_user',password=your_password)

CONNECT

bank.connect()

CHECK

version = bank.version()

GET ALL VALUES IN ONE TABLE

value_all = bank.get_all(table='users')

GET A UNIQUE ITEM

value_single = bank.get_single(unique='ryansouza.cwb@gmail.com',table='users',column='email')

GET A SINGLE LINE

value_first = bank.get_first(unique='ryansouza.cwb@gmail.com',table='users',column='email')

COMMIT

bank.commit()

DISCONNECT

bank.disconnect()

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

pgElephant-1.0.2.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file pgElephant-1.0.2.tar.gz.

File metadata

  • Download URL: pgElephant-1.0.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for pgElephant-1.0.2.tar.gz
Algorithm Hash digest
SHA256 475d067677536372af85c7ed316c6a36e2b8b1846229bbeccf3801326f9771a6
MD5 1c25594f1206dd9078238db3cc41a727
BLAKE2b-256 33d61fa2e66537663031764c33c020bbecf83c066dd65d4453bbec95b3dc139e

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