mirror of
https://github.com/AgentOps-AI/tokencost.git
synced 2024-06-22 04:30:40 +03:00
upload to pyPI, fix documentation (#4)
* Upload to pyPI, fix documentation * Add new line * fix terminal commands and dependencies
This commit is contained in:
15
README.md
15
README.md
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user