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")
print(result)
# With optional quality parameter
result = tinytoken.compress("Your text here", 0.97)
print(result)
# Or use the class
client = tinytoken.TinyToken()
result = client.compress("Your text here")
print(result)
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.2.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.2.tar.gz.
File metadata
- Download URL: tinytoken_sdk-0.1.2.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 |
90a1677fc88462ef66870f9a7569f38230aeb4a957afa92e73cd92811b593066
|
|
| MD5 |
df5682954c86e6eb6ddc074ae5ec0ce0
|
|
| BLAKE2b-256 |
b8a232d8194002cb9f2d5e1e6ea0f4e0d0868c9d2bbbe161b1a81eb0ba3da0c8
|
File details
Details for the file tinytoken_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tinytoken_sdk-0.1.2-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 |
e3fcbfcacd13bb167f7601fd1536acd884bd02d84289a873d6a63411ee042fed
|
|
| MD5 |
5096bfdd8951012e436ab8aaf7031dd5
|
|
| BLAKE2b-256 |
ba6d4e4992584952cb8489de1fd899bc966a53d503576b7ea60ffa08506c393a
|