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)
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)
| File | Size | Uploaded | |
|---|---|---|---|
| tinytoken_sdk-0.1.3.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tinytoken_sdk-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|