Skip to main content

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 details)

Uploaded Source

File details

Details for the file settings-master-0.1.3.tar.gz.

File metadata

  • Download URL: settings-master-0.1.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.3

File hashes

Hashes for settings-master-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3cd37c6dc1855fac8e0591a7cae13c38e404af4293c2abb33703ded8e2ca215e
MD5 6460b0ebab7d148566efdbe327c68ff7
BLAKE2b-256 d9f1913585e841acbb17b8bb469b9c8cbd6b84a7e378442241d5f56ad65948fd

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