Skip to main content

uplinkswitch-sdk

Typed Python SDK for UplinkSwitch. No dependencies.

from uplinkswitch_sdk import UplinkSwitch, estimate_cost

client = UplinkSwitch()  # reads UPLINKSWITCH_API_KEY
r = client.chat.completions.create(model="abliterated-model", messages=[{"role": "user", "content": "hi"}])
print(estimate_cost(r), r["_uplink"]["charge_usd"])

Model list and prices: https://uplinkswitch.ai/models

Metadata

Release files for uplinkswitch-sdk 0.1.0

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

Source distribution (sdist)

Source distribution for uplinkswitch-sdk 0.1.0
File Size Uploaded Provenance Actions
uplinkswitch_sdk-0.1.0.tar.gz 23.9 kB Without provenance Details for uplinkswitch_sdk-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uplinkswitch-sdk 0.1.0
File Interpreter ABI Platform Actions
uplinkswitch_sdk-0.1.0-py3-none-any.whl Python 3 none any Details for uplinkswitch_sdk-0.1.0-py3-none-any.whl

Total release size: 47.5 kB

Release files / uplinkswitch_sdk-0.1.0.tar.gz

Download URL uplinkswitch_sdk-0.1.0.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
be4eb4e5f02eb6b4dd45afa8414983adfd3d9e355007bbe450cd5ac0e7f3d9d5
BLAKE2b-256 checksum
How to use checksums
4cd6d8b14ba304436cf604c492dabdfce539389ab8aa272c26613cafd74c4bee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / uplinkswitch_sdk-0.1.0-py3-none-any.whl

Download URL uplinkswitch_sdk-0.1.0-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7d25f1ed740caadf8fbdd1ab60406a2a2ec5f68fc2c67a7160fccae91165a59
BLAKE2b-256 checksum
How to use checksums
98af3fd085fb1d34ddd622047ce884026a6b5c7b6148c2e73163ab52808da90c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for uplinkswitch-sdk 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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