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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pazer_database_python-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 1d5b7711433c5f148f72da724da9d5c6d81adb703871cf25c48cb1b1cf5711ab
MD5 dbfe3c729a9c5755b422bd7f19af88a9
BLAKE2b-256 32eb37026c3990889821572e14eea497ddd4d2ff721570833f5a22b44523e94b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pazer_database_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4bec13103bc27ee402e11c66a13f92396634b16187f8d24a0db77375923c118
MD5 21aedcd6e8305f9c60e76788e0fc2c72
BLAKE2b-256 4d96c60c261f57ae6d113da42aaa060220173fba17758d5b98ab259c5bfc84a1

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