Skip to main content
CircleCI Status CodeCov Status

When describing in python of the configuration file, you need to change it in each environment. For example settings.py of Django. This package provides the utility to assist it.

Install

$ pip install custom_settings

How to use it

settings_custom.py:

AUTH_CREDENTIAL = 'MY_CREDENTIAL'
>>> import custom_settings
>>> custom = custom_settings.load('settings_custom')
>>> custom.get('AUTH_CREDENTIAL')
'MY_CREDENTIAL'
>>> custom.get('NO_SET_VALUE', default=10)
10

Other

Metadata

Release files for custom-settings 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for custom-settings 1.0
File Size Uploaded Provenance Actions
custom_settings-1.0.tar.gz 4.8 kB Without provenance Details for custom_settings-1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for custom-settings 1.0
File Interpreter ABI Platform Actions
custom_settings-1.0-py3-none-any.whl Python 3 none any Details for custom_settings-1.0-py3-none-any.whl

Total release size: 12.6 kB

Release files / custom_settings-1.0.tar.gz

Download URL custom_settings-1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9485777a685a3086b0b74c536b4df15ae89f0366127045a8daefa307494cbcf9
BLAKE2b-256 checksum
How to use checksums
0fa7757a7c779eb62a53eebcee3e2320959a81e01d109e725413b231ffb1d9c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / custom_settings-1.0-py3-none-any.whl

Download URL custom_settings-1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc947d27c0bf5e4078fbb0de07fa555e820340dc1dede2de7037ca7b61dbee4b
BLAKE2b-256 checksum
How to use checksums
816e094bdaf003da0086cb73bf3c50b84e2a7dde5973e2dd18257056d9063f88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for custom-settings 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page