Skip to main content

TinyToken SDK

Text compression API client.

Install

pip install tinytoken-sdk

Usage

You need an API key to use TinyToken. Get one at https://tinytoken.org.

import tinytoken

# Compress text using the function directly
result = tinytoken.compress("Your text here", "your-api-key")
print(result)

# Or use the class (recommended)
client = tinytoken.TinyToken("your-api-key")
result = client.compress("Your text here")
print(result)

# With optional quality parameter
result = client.compress("Your text here", quality=0.8)
print(result)

Metadata

Release files for tinytoken-sdk 0.1.3

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

Source distribution (sdist)

Source distribution for tinytoken-sdk 0.1.3
File Size Uploaded Provenance Actions
tinytoken_sdk-0.1.3.tar.gz 2.6 kB Without provenance Details for tinytoken_sdk-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinytoken-sdk 0.1.3
File Interpreter ABI Platform Actions
tinytoken_sdk-0.1.3-py3-none-any.whl Python 3 none any Details for tinytoken_sdk-0.1.3-py3-none-any.whl

Total release size: 5.3 kB

Release files / tinytoken_sdk-0.1.3.tar.gz

Download URL tinytoken_sdk-0.1.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8da4edc5e7a454fb2a584eece5e0ea6cf995b6a715acaf7a734a7eafe5baa77f
BLAKE2b-256 checksum
How to use checksums
608ccc4a810372c3dfc0194b745ced18f4fa0a0fe433482cc583c8c1421acf79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / tinytoken_sdk-0.1.3-py3-none-any.whl

Download URL tinytoken_sdk-0.1.3-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad24a411790cbc48e74b0d21b92993b7b83dc7b1dc320b760537dc2b67fe1490
BLAKE2b-256 checksum
How to use checksums
ee92f211aac8623af78b99342fbea58aedd68754725773181376f163826cd78b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for tinytoken-sdk 0.1.3

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