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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pazer_database_python-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 72a5bf077f79e7b4d6264360c5de247b0f3efd339f5bb09c59eefb346e3c0a14
MD5 5efaec5b14276008118f9810da09f033
BLAKE2b-256 6009b76b07398d356a40e6c3cb2d05b94075a5f4caf7fce49804b45e7f61f98f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pazer_database_python-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9b736fa55dbb21a917845d477dd51459d97796ddb430b340331cf9cd95a06e
MD5 1a758d8439eb5cbb4ea0c06f7c312410
BLAKE2b-256 71824c17ef41067f9295880dd7b7717804735c69236971c45aef119a11519181

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