Skip to main content

PostgreSQL Database Manager

Project description

pgElephant

PostgreSQL Database Manager

CREATE ADMIN

bank = PostgreSQL(dbname='my_db',user='my_user',password=my_password)

CONNECT

bank.connect()

CHECK

version = bank.version()

GET ALL VALUES IN ONE TABLE

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

GET A ID

value_single = bank.get_single(id='my_id',table='users')

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

Uploaded Source

File details

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

File metadata

  • Download URL: pgElephant-1.0.5.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for pgElephant-1.0.5.tar.gz
Algorithm Hash digest
SHA256 c507948776e58777a950187207618ccce9444b167967791a0b9a69df805c56ba
MD5 d59d388fe58e6f021035ff0dd224961c
BLAKE2b-256 27703f2c6cb10932472aaa977b049e80bc06e6edecd6575d92e8c4d83d64d0c0

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