Skip to main content

Pazer Database - Python

Project description

pazer_database_python

Pazer Database - Python

install

pip install pazer_database_python

Example

from pazer_database_python.Executor import Executor

# Database Host
DB_HOST: dict = {
    "name": {
        "hostname": "localhost",
        "username": "user",
        "password": "password",
        "database": "database",
        "port": 3306,
        "charset": "utf8mb4",
    },
}

# Session(Redis) host
SESSION_HOST: dict = {
    "name": {
        "hostname": "127.0.0.1",
        "port": 6379,
        "namespace": "test",
        "decode": True,
    },
}

# Executor Loads
executor = Executor()
executor.loads(
    databaseConfig=DB_HOST,
    sessionConfig=SESSION_HOST,
)

# get Client
DATABASE_client = executor.databaseClient("name")
SESSION_client = executor.sessionClient("name")

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

pazer_database_python-0.3.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

pazer_database_python-0.3.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file pazer_database_python-0.3.1.tar.gz.

File metadata

  • Download URL: pazer_database_python-0.3.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pazer_database_python-0.3.1.tar.gz
Algorithm Hash digest
SHA256 341d935633f3631a3d5a48162ed79e26f99ad794fbb8108172329a7862f22e12
MD5 d13fca3a320ae38f373a511bae069d8d
BLAKE2b-256 dc869b008b1afc58b13fe4f921f242ef41c9dd7c29b27b6402bb0ec393b92e4c

See more details on using hashes here.

File details

Details for the file pazer_database_python-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pazer_database_python-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a0b31a521857f0ac53173cfa536f44b6d98ef3be776bb91e6cf8ea1b17a485
MD5 a23eea4286ce59d3207611b6c8e2ec8c
BLAKE2b-256 07668c5288f951e10f849f001c170defccc1f75aa9f6162f2d1ca01671564c72

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