Skip to main content

senabase starterpack library

Project description

senabase-starterpack

senabase-starterpack is personal library for fast prototyping.

Installation

Use pip to download it from PyPI

$ pip install senabase-starterpack

The minimum required versions of the respective tools are:

psycopg2-binary>=2.9.*
pyyaml>=6.*

Example

PostgreSQLHandler

Postgresql starterpack

from senabase.starterpack.database import PostgreSQLHandler

pgh = PostgreSQLHandler()
pgh.configure('127.0.0.1', 5432, 'postgres', 'userid', 'userpassword')

q1 = 'select now()'
rs = pgh.get(q1)

log

Logging starterpack

from senabase.starterpack.log import SimpleLogger

log = SimpleLogger()
log.configure('proto')

log.i('Information')
log.d('Debug')
log.e(Exception('Example exception'))

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

senabase-starterpack-0.1.6.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

senabase_starterpack-0.1.6-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file senabase-starterpack-0.1.6.tar.gz.

File metadata

  • Download URL: senabase-starterpack-0.1.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for senabase-starterpack-0.1.6.tar.gz
Algorithm Hash digest
SHA256 515ddb3ffd053efefe076858bd2a4693738df06570020549ba87a331cd818a81
MD5 33fb249395d00044daeb4023f01cd538
BLAKE2b-256 16f752e68ce289ea078e2f4db71fb47809be9ced8242321c2918cda78ab4f498

See more details on using hashes here.

File details

Details for the file senabase_starterpack-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for senabase_starterpack-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea01c63c470de32c5e0e63c2ce43ade82422a4aa85320643630f5113688fbe4
MD5 7f3113406cff99fc3af0df46b8cea508
BLAKE2b-256 8f5a539cbe9653e727e29ed9254739477e6156a884c0d496d2582b29b455b273

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