ECMind blue client: Spring
Helper module for spring alike configuration loading plus spring cloud config client
Installation
pip install ecmind_spring_config
Usage
from ecmind_spring_config.config import Config
config = Config()
my_value = config['my.key']
or
my_value = config['my']['key']
or
my_value = config.get['my.key', 42)
The following happens:
- All Environement Parameter will be loaded
- For each location (default are ./ and ./config/)
- If location is a file path
- Load file and patch the configuration
- If location is a directory path
- Load application.yml and patch the configuration if exists
- For each Profile (default is 'default')
- Load application-{profile}.yml and patch the configuration if exists
- If location is a file path
- If key
spring.cloud.config.uriandspring.application.nameis set- Load configuration from spring cloud config service and path configuration
Metadata
Release files for ecmind-spring-config 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ecmind_spring_config-0.1.1.tar.gz | 4.9 kB | Without provenance | Details for ecmind_spring_config-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ecmind_spring_config-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ecmind_spring_config-0.1.1-py3-none-any.whl |
Total release size: 12.1 kB
Release files / ecmind_spring_config-0.1.1.tar.gz
| Download URL | ecmind_spring_config-0.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fcbd428acd190727ce5cb0f01ed83f2244aa777d6d5f4a9213120ecc8fa8343
|
|
BLAKE2b-256 checksum How to use checksums |
a5d095e3aeb09b066c2f4952ebbddcc58021e72f83b0514d43578ab725ea429b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / ecmind_spring_config-0.1.1-py3-none-any.whl
| Download URL | ecmind_spring_config-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce6ec6b7d85eb87bf048f68a6385f24de80e596aa3924edc5fa8f1a91a28b45a
|
|
BLAKE2b-256 checksum How to use checksums |
b2838373a3e2d25bbc0acc2514f7c5aea33ecaefb73ea53e563dfa90a5b44130
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for ecmind-spring-config 0.1.1
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.