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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pazer_database_python-0.2.1.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.2.1.tar.gz
Algorithm Hash digest
SHA256 6c343614196623c68c57ef5af6b85d97f81182a73af0c1a58f95e1d46c4c1e35
MD5 fee9e0de4224c7fb414bccbc4676b4ae
BLAKE2b-256 f6e8587b9adeab5c5a21717d1ffbf2d8ba383bd08f2a81e1ea9dd6c7dbc1a7bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pazer_database_python-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dedc82fb247de5576bc09202b702c92581a1f84728aa74723d1721d553548f0
MD5 c274b41c2fc8c83cbc1792afb4db9a19
BLAKE2b-256 aef14f421802bfcc239c5b4d9812451d3972c9b60c11c7112953990ed8ab6a9c

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