Skip to main content

getter simple setting json

Project description

settingsjson.py

PyPI

simple setting json getter

how to use

pip install settingsjson
  • write settings to .settings.json
{
	"DB_PATH": "postgresql://user:secret@host:port/dbname"
}
  • read settings from your apps
from sqlalchemy import create_engine
import settingsjson

settings = settingsjson.get()
db = create_engine(settings["DB_PATH"])
echo ".settings.json" >> .gitignore

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

settingsjson-1.0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

settingsjson-1.0.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file settingsjson-1.0.2.tar.gz.

File metadata

File hashes

Hashes for settingsjson-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6181a08f489a83e90efec5bfe00add98af3ff8dcdbd95be1dbfe8f659387c255
MD5 e9607659628512b81c4442d5c613a359
BLAKE2b-256 399a2dc94c522878c6d541ac854e1671e83be5d12bcbd5cfb292317ec3a134fd

See more details on using hashes here.

File details

Details for the file settingsjson-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for settingsjson-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 877c447c0cacfa2ca639b12ec47beccc5a93eb024c1eec3d87bf1ebae73faf6d
MD5 8cbf6faa4f1753b6339650712a1ee18a
BLAKE2b-256 8334ae83624eba0e99acce89099c0dd32a4699c985f1bcdbf9572093fe87a967

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page