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.2.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: settings-master-0.1.2.tar.gz
  • Upload date:
  • Size: 3.0 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.2.tar.gz
Algorithm Hash digest
SHA256 da193daef450fb22a4017e5721c9cad2c797f177572208209e7c577342205d1a
MD5 ce02ff8e6437c4d7b97cc56566033577
BLAKE2b-256 4e8f334e80a5911452080bd1f8200fd0c0373f0c7280e17e71653dbae2d46d2d

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