alastria-service-client
alastria-service-client is a Python http client for dealing with communication with the wealize alastria service.
Installation
Use the package manager pip to install alastria-service-client.
pip install alastria-service-client
Usage
from alastria_service_client.client import AClient, Client
from django.core.exceptions import PermissionDenied
from alastria_service_client.validators import (
NetworkValidator,
OnlyNetworkValidator,
Address,
)
# returns 'identity_keys'
alastria_service_client: AClient = Client(
service_host=settings.ALASTRIA_SERVICE_HOST
)
return alastria_service_client.identity_keys(
address=Address(address), body=OnlyNetworkValidator(network=network_body)
).response
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
Metadata
Release files for alastria-service-client 0.0.13
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 |
|---|---|---|---|---|
| alastria_service_client-0.0.13.tar.gz | 4.0 kB | Without provenance | Details for alastria_service_client-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alastria_service_client-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for alastria_service_client-0.0.13-py3-none-any.whl |
Total release size: 9.3 kB
Release files / alastria_service_client-0.0.13.tar.gz
| Download URL | alastria_service_client-0.0.13.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01517acb29a025733b06f7b89241e1a44d0f69d2a50d8a2268746f9f0cc1ef55
|
|
BLAKE2b-256 checksum How to use checksums |
8800630ce7bc8b33ca1a5daadd6b2a1b2cbead2cb916206dd5e583bd0ebc40a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / alastria_service_client-0.0.13-py3-none-any.whl
| Download URL | alastria_service_client-0.0.13-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2af545cf490c704265b730c623738857807b2254ea3530e4fe2b9c8e6d753ee
|
|
BLAKE2b-256 checksum How to use checksums |
42210c7dc381de2f84bfb0ad45423a0325089a5882e89a113f4facd009e603f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for alastria-service-client 0.0.13
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.