Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

apix

Example

# models.py
from apix import Schema, Path, PathInfo

class Data(Schema):
    key: str
    value: str

class GetData(Path[Data]):
    __info__ = PathInfo("GET", "/data", Data)
    key: str

# sync.py
from apix.sync import SyncClient

class MySyncClient(SyncClient):
    BASE_URL = "https://my.api"

    def get_data(self, key: str) -> Data:
        return self(GetData(key=key))


# main.py
from apix import Config

with MySyncClient() as client:
    print(client.get_data("Key")) # "Value"

Serializers

Http Clients

Metadata

Release files for apix 0.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for apix 0.0a3
File Size Uploaded Provenance Actions
apix-0.0a3.tar.gz 7.7 kB Without provenance Details for apix-0.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for apix 0.0a3
File Interpreter ABI Platform Actions
apix-0.0a3-py3-none-any.whl Python 3 none any Details for apix-0.0a3-py3-none-any.whl

Total release size: 20.1 kB

Release files / apix-0.0a3.tar.gz

Download URL apix-0.0a3.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e7883ecde118520e4deadbbca4bed3438f7533d4e94c432e00f111c6e36a2553
BLAKE2b-256 checksum
How to use checksums
0e1bb2c265fdd39d007d98c443de121c28c76340ec0e1c910c6ebd27cefb2f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.10.4 CPython/3.10.12

Release files / apix-0.0a3-py3-none-any.whl

Download URL apix-0.0a3-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24b5c8e35d81c6804d2cedb5f2d9e2e709482b060506402347de7fb746181edd
BLAKE2b-256 checksum
How to use checksums
de0922063684a7e65dbc5fd2a39eb7c0a6626e359e0c55ecbc5c79c0fa2a60b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.10.4 CPython/3.10.12

Security for apix 0.0a3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page