upload to pyPI, fix documentation (#4)

* Upload to pyPI, fix documentation

* Add new line

* fix terminal commands and dependencies
This commit is contained in:
Trisha Pan
2023-12-15 02:23:50 -05:00
committed by GitHub
parent fadab68c03
commit 27e6eb7687
3 changed files with 45 additions and 6 deletions

View File

@@ -13,14 +13,21 @@ TokenCost is a specialized tool designed for calculating the token count and ass
## Installation
To install TokenCost, use the following command:
Tokencost can be installed either via PyPI or GitHub.
#### With [PyPI](https://pypi.org/project/tokencost/) (Python package):
```bash
git clone https://github.com/yourusername/tokencost.git
cd tokencost
pip install -r requirements.txt
pip install tokencost
```
#### With [GitHub](https://github.com/AgentOps-AI/tokencost):
```bash
git clone git@github.com:AgentOps-AI/tokencost.git
cd tokencost
pip install -e .
```
## Usage