Skip to main content

Client for dynamic settings service https://github.com/MarkAntipin/dynamic-settings

Project description

Dynamic Settings Client

Dynamic Settings Client is a python client for dynamic-settings project, allowing you to update your application’s settings on the fly without redeploying code.

Installation

pip install dynamic-settings

Usage

docker run -d -p 18100:18100 -v db_data:/app/db -e API_KEY=api-key markantipin12/dynamic-settings
from dynamic_settings import DynamicSettings

settings = DynamicSettings(
    api_key='api-key',
    url='http://localhost:18100'
)


hello_message = settings.get('HELLO_MESSAGE', default='Hello, World!')
is_enabled = settings.get('IS_ENABLED', default=False)

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

dynamic_settings-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

dynamic_settings-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dynamic_settings-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Linux/6.8.0-1021-azure

File hashes

Hashes for dynamic_settings-0.1.0.tar.gz
Algorithm Hash digest
SHA256 45c43f9966de93733bfb4f46d2d14556399d9f7bd6ee159c61da19ffd866f9bb
MD5 de4d64a3dd938e1850db256a3db2f927
BLAKE2b-256 b010792bf7e25ebce15f5244bb470806ffd2fe02bd1bcbc8444b766de251a360

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dynamic_settings-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.1 Linux/6.8.0-1021-azure

File hashes

Hashes for dynamic_settings-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a318f3ff22167b9aeb0723155c6941d5e42e40c4ea09f72d63c25919d7ec576
MD5 e9dddc02aace0442ec62108d1c097b75
BLAKE2b-256 237e4eb862efeb00a3d5004be12461080f640d2914a29ed4a61d5a700a35c2da

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