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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6289e46a39d84385c33c9bc20b1cc4dc4a3b9d77dc2e7a380dc4f40049bbb534
|
|
| MD5 |
9d360c720f8120a9dbaa0e78e084b832
|
|
| BLAKE2b-256 |
77f816fc73439e5ab650f5e7fa42a0f18f352098e09d855d262780e52e149904
|
File details
Details for the file pyconfbox_mysql-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyconfbox_mysql-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc1f926d8baea2ec056eba7a83bf63bf94c89e4c5a0d13c6a82a637a8ba48827
|
|
| MD5 |
c6632d5230eeb47858b56c359a480aa9
|
|
| BLAKE2b-256 |
1e2b16fa868f0be2640bc7624eb2c3f4ed25629197cdb06ddabf96ea996603cc
|