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.2.2.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.2.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pazer_database_python-0.2.2.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.2.2.tar.gz
Algorithm Hash digest
SHA256 d0f7bdcb312c785e50dc99d7d2cb9788bf4875fb56d6f71ab82e8f15140047ae
MD5 7c7adc86cd326c8a680c77125acfcb67
BLAKE2b-256 f1b74151f588d4ca3b2748dc7e2dc8dcf2b2be7d3b8ce9dc2c4fa22e98e0b5a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pazer_database_python-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 801dfb557aa593209bc0250061f4725d1b1dc06ea5cb42e6d7ea645dde0c3d1f
MD5 cc5b4ec58ea40197866ef5e31b9cdb88
BLAKE2b-256 ee145088e153975d82690aa98ffe10014fd706c1e9cc69ae4223ec62670aafdf

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