Config-client

Latest version: v1.4.0

Safety actively analyzes 631215 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

0.11.1

**changelog**

- fix issue 37;
- fix issue 38;
- added support to python 3.9;
- updated [documentation](https://config-client.amenezes.net);
- now the method `get_attribute` it's deprecated. Use `get`;
- now the method `get_keys` it's deprecated. Use `keys`.

Example:
python
from config.spring import ConfigClient

c = ConfigClient(app_name='simpleweb000')
c.get_config()

c.get('health.config')
c.keys()

0.11.0

**changelog**

- Added [Encryption](https://config-client.amenezes.net/docs/1.-overview/#encryption) and [Decryption](https://config-client.amenezes.net/docs/1.-overview/#decryption) API support [36]
- Updated [documentation](https://config-client.amenezes.net).

0.10.0

**changelog**

- Fixed issue related to travis-ci: [pull requests and security restrictions](https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions).
- Added support to configure request parameters on **config_client** [decorator](https://config-client.amenezes.net/docs/client/2.-decorator/#using-custom-values). [[PR-33]](https://github.com/amenezes/config-client/pull/33).
- contribution of luiscoms :muscle:
- Updated documentation.

0.9.1

**changelog**

- Execution of `isort` and `black` disabled from the CI :beetle:
- Merge [PR-31](https://github.com/amenezes/config-client/pull/31) - Change logging to logger
- contribution of luiscoms :muscle:

Now it's possible disable `config-client` logging in a simpler way from your application if you want.
- Added [contributing.md](https://github.com/amenezes/config-client/blob/master/docs/contributing.md) page in docs.

0.9.0

**changelog**

- merge [PR-30 - Added support for recovering remote file](https://github.com/amenezes/config-client/pull/30)
- contribution of luiscoms :clap:

Usage:

python
from config.spring import ConfigClient

config_client = ConfigClient(app_name='my_app')
response = config_client.get_file('nginx.conf')

print(response)


via CLI

python
python -m config client simpleweb000 nginx.conf --file
⏳ contacting server...
file saved: nginx.conf

or

python
config client simpleweb000 nginx.conf --file
⏳ contacting server...
file saved: nginx.conf

0.8.0

**changelog**

- Test code refactored;
- Import modules back to absolute path format. For example:

> **old style**
python
from config import ConfigClient


> **new style**
python
from config.spring import ConfigClient

For more details check the docs: [https://config-client.amenezes.net](https://config-client.amenezes.net)
- [PR-29 - Add get config timeout](https://github.com/amenezes/config-client/pull/29) merged.
- contribution of luiscoms :clap:

Now it's possible pass requests `**kwargs` to `get_config` method. For example:

python
myclient.get_config(timeout=1.0, headers={"Accept": "*/*"})

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.