Skip to main content

MySQL storage plugin for PyConfBox

Project description

PyConfBox MySQL Plugin

PyConfBox용 MySQL 데이터베이스 저장소 플러그인입니다.

설치

pip install pyconfbox-mysql

사용법

from pyconfbox_mysql import MySQLStorage
from pyconfbox import Config

# MySQL 저장소 설정
mysql_storage = MySQLStorage(
    host='localhost',
    port=3306,
    user='root',
    password='password',
    database='config_db'
)

config = Config(default_storage=mysql_storage)

# 설정 저장/조회
config.set('app_name', 'MyApp')
app_name = config.get('app_name')

라이선스

MIT License

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

pyconfbox_mysql-0.1.0.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

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

pyconfbox_mysql-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyconfbox_mysql-0.1.0.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for pyconfbox_mysql-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6289e46a39d84385c33c9bc20b1cc4dc4a3b9d77dc2e7a380dc4f40049bbb534
MD5 9d360c720f8120a9dbaa0e78e084b832
BLAKE2b-256 77f816fc73439e5ab650f5e7fa42a0f18f352098e09d855d262780e52e149904

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyconfbox_mysql-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1f926d8baea2ec056eba7a83bf63bf94c89e4c5a0d13c6a82a637a8ba48827
MD5 c6632d5230eeb47858b56c359a480aa9
BLAKE2b-256 1e2b16fa868f0be2640bc7624eb2c3f4ed25629197cdb06ddabf96ea996603cc

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