simonw/ttok

Count and truncate text based on tokens

by Simon Willison Python Apache-2.0 licence 23 forks Created May 2023 View on GitHub

Stars
409
1% of simonw's stars
Rank
#149,928
of 847,188 repos, top 18%
In Python
#28,224
of 172,244 repos, top 17%

Among 847,188 repos

Compare with

400–630 stars: 51,400 repos, including ttok

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #149,600
Next milestone
+360 stars to reach the top 10%
Popular
One of 488,466 repos with 100+ stars
Yearly average
117 stars a year since May 2023

Stars counted Recounted daily Next count around