token-count
Count tokens in a text file.
A powerful package for estimating token prices in large language models.