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

import settings as this
from settings_master import DirectorySettings


settings = DirectorySettings(this)

Now we can use this:

from 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.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

settings_master-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: settings-master-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 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.0.tar.gz
Algorithm Hash digest
SHA256 abed61b0d1f6abfb114b707a8a5fbea2eebff649837f1c4cf641e9a5eeb23dc9
MD5 cfc3bc6efa40d9427fc7bb06b09a4b29
BLAKE2b-256 0acf090e6e7f8eb11dc0f331eda91d2dbb77fa21cb2b2ad82612d63c7cd82f7f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: settings_master-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72c6575efc43bafe337a4ffad5f249c8f2513285f517853def630e141e5b0b2f
MD5 d6b15a32091eec633cf5a2fdd33551b2
BLAKE2b-256 22bea162e1552db496dc01e970b6b320c1a703b1fa290f1613bb7375bdb58a0a

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