# simonw/ttok

<https://repo.masters-masters.com/en/repos/simonw/ttok>

[Home](https://repo.masters-masters.com/en) › [simonw](https://repo.masters-masters.com/en/owners/simonw) › [ttok](https://repo.masters-masters.com/en/repos/simonw/ttok)

simonw/ttok has 409 stars on GitHub. Its RepoMasters card: Alpha tier. Count and truncate text based on tokens Language: Python.

| Field | Value |
| --- | --- |
| Owner | [simonw](https://repo.masters-masters.com/en/owners/simonw) |
| Stars | 409 |
| Forks | 23 |
| Language | [Python](https://repo.masters-masters.com/en/languages/python) |
| License | Apache-2.0 |
| Created | 2023 |
| Tier | [Alpha (250 to 699 ★)](https://repo.masters-masters.com/en/ranks/b_movie) |
| View on GitHub | [simonw/ttok](https://github.com/simonw/ttok) |

## Repository

Count and truncate text based on tokens

The tier for repos with 250 to 699 ★. Published odds per card pulled: 20%. Rarity: Uncommon.

## More repos by simonw

- [simonw/llm · ★ 12,695 · Python · Stable](https://repo.masters-masters.com/en/repos/simonw/llm)
- [simonw/datasette · ★ 11,540 · Python · Stable](https://repo.masters-masters.com/en/repos/simonw/datasette)
- [simonw/files-to-prompt · ★ 2,803 · Python · RC](https://repo.masters-masters.com/en/repos/simonw/files-to-prompt)
- [simonw/shot-scraper · ★ 2,602 · Python · RC](https://repo.masters-masters.com/en/repos/simonw/shot-scraper)
- [simonw/sqlite-utils · ★ 2,184 · Python · RC](https://repo.masters-masters.com/en/repos/simonw/sqlite-utils)
- [simonw/tools · ★ 1,925 · HTML · Beta](https://repo.masters-masters.com/en/repos/simonw/tools)

## Nearby in Python

- [estebanstifli/LocalText2Voice · ★ 409 · Python · Alpha](https://repo.masters-masters.com/en/repos/estebanstifli/LocalText2Voice)
- [aaronyi97/wedding-video-guided-wizard · ★ 409 · Python · Alpha](https://repo.masters-masters.com/en/repos/aaronyi97/wedding-video-guided-wizard)
- [JGRFW/comfyui-AICG3D · ★ 409 · Python · Alpha](https://repo.masters-masters.com/en/repos/JGRFW/comfyui-AICG3D)
- [toastdriven/itty · ★ 409 · Python · Alpha](https://repo.masters-masters.com/en/repos/toastdriven/itty)
- [Kotti/Kotti · ★ 409 · Python · Alpha](https://repo.masters-masters.com/en/repos/Kotti/Kotti)
- [sahana/eden-legacy · ★ 409 · Python · Alpha](https://repo.masters-masters.com/en/repos/sahana/eden-legacy)

---
Data: GitHub · Illustration drawn by RepoMasters from the repo’s ID and its language color.
