Skip to main content

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

MIT

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

network_service_client-0.0.5.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

network_service_client-0.0.5-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

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