macss-modular-api-rest-client
Official MACSS outbound REST client for Python.
Quick start
from modular_api_rest_client import ServiceClientConfig, ServiceRequest, http_client
result = http_client(
config=ServiceClientConfig(
service_id="users",
base_url="https://api.example.test",
redacted_summary="users@example",
default_headers={"accept": "application/json"},
),
request=ServiceRequest(
operation_id="users.list",
method="GET",
path="/users",
),
)
if result.is_success:
print(result.value.data)
else:
print(result.failure.message)
Current slice
- normalized
ServiceResult[T]andServiceFailure - persistent
HttpServiceClient - one-shot
http_client()helper - explicit request metadata via
ServiceRequest - JSON-first response decoding and HTTP metadata preservation
Metadata
Release files for macss-modular-api-rest-client 0.7.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 |
|---|---|---|---|---|
| macss_modular_api_rest_client-0.7.1.tar.gz | 14.5 kB | Without provenance | Details for macss_modular_api_rest_client-0.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| macss_modular_api_rest_client-0.7.1-py3-none-any.whl | Python 3 | none | any | Details for macss_modular_api_rest_client-0.7.1-py3-none-any.whl |
Total release size: 23.4 kB
Release files / macss_modular_api_rest_client-0.7.1.tar.gz
| Download URL | macss_modular_api_rest_client-0.7.1.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce2f3e87d8a9a275ca2cf304f2bcd7cc6309f37cc2df0ffffe30e203a22d8ec2
|
|
BLAKE2b-256 checksum How to use checksums |
fe18c7cebab191d3315e4124801c9f09e0eac54697faa30d9cf768283ceaa1f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / macss_modular_api_rest_client-0.7.1-py3-none-any.whl
| Download URL | macss_modular_api_rest_client-0.7.1-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d7f352e6c6bd4d50ecbffb4ba237139cd385d6b9f402ba960435545d28f6f20
|
|
BLAKE2b-256 checksum How to use checksums |
9013ce323f8e9a9f5490098e95babc202a69a29dcf8bcb645ef07f2428cbff86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for macss-modular-api-rest-client 0.7.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.