Skip to main content

MongoDB storage plugin for PyConfBox

Project description

PyConfBox MongoDB Plugin

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

설치

pip install pyconfbox-mongodb

사용법

from pyconfbox_mongodb import MongoDBStorage
from pyconfbox import Config

# MongoDB 저장소 설정
mongodb_storage = MongoDBStorage(
    host='localhost',
    port=27017,
    database='config_db',
    collection='configurations'
)

config = Config(default_storage=mongodb_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_mongodb-0.1.0.tar.gz (63.2 kB view details)

Uploaded Source

Built Distribution

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

pyconfbox_mongodb-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyconfbox_mongodb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 828ea640f3860ded8def6fd4b2ab4a5f4567e1090066d40aee6dc23088fc8f5e
MD5 2d3baffc10cb9ff112b6b2cfbd10dbbc
BLAKE2b-256 63a6fb74d41f513ceb8a8166825dca3668746c0c5020a9fcd83aa9887cd32ed7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyconfbox_mongodb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 127c678ec66250c6186ec221ea3311e9398deeec2d7b6e4d2fdaa34e6a9b6229
MD5 b3c21968a34d5a2c219f136068bef933
BLAKE2b-256 38b1e6bd4a2ae84168bed59a48a412a017ceeb765d3bb3c91881cebdb6e69ebb

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