A small client for network service
Project description
network-service-client
network-service-client is a Python http client for dealing with communication with the wealize network service.
Installation
Use the package manager pip to install network-service-client.
pip install network-service-client
Usage
from network_service_client.client import (
AClient as ANetworkClient,
Client as NetworkClient,
Network as NetworkDTO,
NetworksNames,
)
# returns 'network'
network_data: NetworkDTO = NetworkClient(
service_host=settings.NETWORK_SERVICE_HOST
).get_network_by_name(NetworksNames.AlastriaRedT)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Built Distribution
Close
Hashes for network_service_client-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fab9382c2e79ca5cc9523e8ff9cc2e4f2f34ecbc991171cfa3cb9084e34d9877 |
|
MD5 | 10f941e7ccd0b16bd96398e40ab2e1a8 |
|
BLAKE2b-256 | af2b6b0f095a9008f7ff5225adca999366b77931dccae6502233833a84c7294c |
Close
Hashes for network_service_client-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5a72ec03ad25107e2f95eb93e601982aa7d6c0176cc2c0553d2922e7fa2e9b |
|
MD5 | 62aace1b0fd96852d93629519feab597 |
|
BLAKE2b-256 | 131b55629280121c9ef2040564b11fe0c9be14c3596c8c8d47845a8605b7ff8b |