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

Uploaded Source

File details

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

File metadata

  • Download URL: settings-master-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4ee0dbd755a38ac04700eef0cdbeaa5d6d55b1a1f62111695e670db662f71ba7
MD5 a0f0c90c26fb9eb4ab9ff8eab934fd67
BLAKE2b-256 345c27c3c2783f4c38f8b2e05f30cafe54e12c2c35b76c90be7062aa12463388

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