Python SDK for TinyToken API
Project description
TinyToken SDK
Text compression API client.
Install
pip install tinytoken-sdk
Usage
import tinytoken
# Compress text
result = tinytoken.compress("Your text here", 0.8, "your-api-key")
print(result)
# Or use the class
client = tinytoken.TinyToken("your-api-key")
result = client.compress("Your text here", 0.8)
print(result)
Get your API key at https://tinytoken.org
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tinytoken_sdk-0.1.0.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinytoken_sdk-0.1.0.tar.gz.
File metadata
- Download URL: tinytoken_sdk-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdaa7897681dc9a8491e83af588bc37366d02e44e91da1d91dbd8883f2069212
|
|
| MD5 |
e0e1817632caa90fc8aaf3c8a477b482
|
|
| BLAKE2b-256 |
16aff958f742e859ac9e4f860c600d1bbdbcf27c3a24a7e6e8882344ad46caaa
|
File details
Details for the file tinytoken_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tinytoken_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36e127357ce84717ab8349b03d3744ea6cbe0b01db1d314870b88ad37025e0e8
|
|
| MD5 |
fc99520f13f408a2dd852a77647a7264
|
|
| BLAKE2b-256 |
97185a18433acfc1bdbaf4e0a0ba9473d8a9eaa76095f42dc3a0bdfc1aad559c
|