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.7.tar.gz (3.5 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.7-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for senabase-starterpack-0.1.7.tar.gz
Algorithm Hash digest
SHA256 0519e2ac5e53f1ef6ce3b7f66b60a4ede2726160bc02021a236cca85dad63116
MD5 ef07d97fb9829087c2fa20b94a671d4b
BLAKE2b-256 fbf01491d0f44cb9ada4077393247eaecb79c879e17b5184013581208848e7e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for senabase_starterpack-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 29d9c12ceaab7a2e24dacfa794345ff554ea577856f1e8df5230dfa0eb7b5ec3
MD5 e8a951f236ae7cf1657dc266a0c59eee
BLAKE2b-256 bba8a81492c7f07eaaa4b1bfe751981f2ae231b910e96f5f4e6cc4931909dd63

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