No project description provided
Project description
This Is Package for fast use SETTINGS.
Example
STRUCTURE
settings
|
-- db.py
|
-- api.py
|
-- __init__.py
settings/db.py
DB_NAME = "name"
DB_PASSWORD = "password"
settings/api.py
API_TOKEN = "dekejfire"
settings/__init__.py
from settings_master import DirectorySettings, settings as this
settings = DirectorySettings(this)
Now we can use this:
from settings_master.settings import settings
assert settings.DB_NAME == "name"
assert settings.DB_PASWORD == "password"
assert settings.API_TOKEN == "dekejfire"
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
settings-master-0.1.3.tar.gz
(3.1 kB
view hashes)