Skip to main content

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", "your-api-key")
print(result)

# Or use the class
client = tinytoken.TinyToken("your-api-key")
result = client.compress("Your text here")
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.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinytoken_sdk-0.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file tinytoken_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: tinytoken_sdk-0.1.1.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

Hashes for tinytoken_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dc01a46e0b2e4881a9d83b8819b40e48e5ab67ee37c01186f9fd787688689fc7
MD5 cbc8f952a7585db3ccf781ff97bd8859
BLAKE2b-256 99bd2dce86cb713650281549c43a7dd3d0bdc5e35639eed8a5bb0b5c8a1ddde1

See more details on using hashes here.

File details

Details for the file tinytoken_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tinytoken_sdk-0.1.1-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

Hashes for tinytoken_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a1c4eed1d85f3d2fa51655a1fd870240236a1936c12a885406ee735bfdf7e74
MD5 6f2aeb6fda61d863f34728efc00f00f4
BLAKE2b-256 1367368b13dcedbf594c0efce08d4e2baf81b64162b806d24694d0f9d67ad7e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page