semvec/pypi-packages huggingface dataset:
tokens-cli 0.1.0
Count tokens in text using tiktoken encoders
License: MIT
Requires Python: >=3.12
Keywords: tokens, tokenizer, tiktoken, openai, llm, cli

# Tokens CLI

A simple command-line tool to count tokens in text using OpenAI's tiktoken tokenizers.

## Why?

When working with LLMs and token-based API pricing, it's useful to quickly see how many tokens your text uses. This tool makes it easy to:

- Check token counts for prompt engineering
- Calculate costs for API requests
- Verify tokenization is as expected

## Installation

From PyPI:
```bash
pip install tokens-cli
# or with uv
uv pip install tokens-cli
```

For development:
```bash
# Clone the repository
git clone https://github.com/nikdavis/tokens_cli.git
cd tokens_cli

# Install locally
uv tool install .
```

## Usage

The `tokens` command (or its shorter alias `tks`) supports piping input from other commands:

```bash
# Basic usage
echo "Count how many tokens are in this text" | tokens
# or with the shorter alias
echo "Count how many tokens are in this text" | tks

# Verbose output with token count details
echo "Count tokens with detailed output" | tokens -v

# Specify model for tokenization
echo "Count tokens using gpt-4 tokenizer" | tokens -m gpt-4

# Specify encoding directly
echo "Count tokens using cl100k_base encoding" | tokens -e cl100k_base

# List available models and encodings
tokens -l
```

## Running Tests

Install development dependencies:

```bash
uv pip install -e ".[dev]"
```

Run tests:

```bash
pytest
# or
uv run pytest
```

## Supported Models/Encodings

- `cl100k_base`: Used by ChatGPT, GPT-4, text-embedding-ada-002
- `o200k_base`: Used by GPT-4o models
- `p50k_base`: Used by code models like text-davinci-002/003
- `p50k_edit`: Used by edit models
- `r50k_base`/`gpt2`: Used by GPT-3 and GPT-2 models

## License

MIT
richtqdm 0.1.3
A tqdm-style progress bar using Rich
License: MIT
Requires Python: >=3.7

# richtqdm

A modern and visually appealing replacement for `tqdm`, powered by [Rich](https://github.com/Textualize/rich).  
It automatically adapts to Jupyter notebooks and terminals.

## Features

- Beautiful progress bars using Rich
- Jupyter support
- Custom units (like `it`, `steps`, `samples`)
- tqdm-like API

## Installation

```bash
pip install richtqdm
```

## Usage

```python
from richtqdm import RichTqdm

for i in RichTqdm(range(100), desc="Processing", unit="items"):
    ...
```

## License

MIT License. Developed by Mahbodez.

## Links
- [Repository](https://github.com/mahbodez/richtqdm)
- [Author Profile](https://github.com/mahbodez)
IM-COOL-BOOY-GIF 1.2.2
A Cool Command-Line GIF Tool by COOL BOOY. This is a simple yet powerful tool designed to work seamlessly through the command line, allowing users to generate and manage GIFs easily. Whether you're looking to create GIFs from videos or manipulate them in various ways, this tool offers a straightforward interface for all your GIF-related needs.
License: MIT
Requires Python: >=3.6
Keywords: gif, image, hd, tool

![Coolbooy's Logo](https://imgur.com/9e9Ayck.jpeg)

# IM COOL BOOY GIF TOOL

**IM COOL BOOY GIF TOOL** is a powerful and easy-to-use Python tool designed to help you process images, add custom text, and create GIFs from image collections, all while maintaining HD resolution.

Developed by **SL Android Official ™ | IM COOL BOOY**, this tool offers you a seamless and efficient way to enhance your image and GIF creation process.

---

## 🖐 Features

- **Resize Images to HD Resolution**: Enhance your images by resizing them to high-definition resolution, ensuring crisp and clear visuals.
- **Generate Photo GIFs**: Easily create GIFs from multiple images, ideal for displaying photo collections in an animated format.
- **Generate Video-like GIFs**: Create smoother, video-like GIFs by animating a sequence of images, providing a cinematic experience.
- **Supports Multiple Image Formats**: The tool supports various image formats like PNG, JPG, JPEG, BMP, WEBP, TIFF, ICO, RAW, HEIF, HEIC, AVIF, EXR, SVG, PSD, INDD and more.

---

## 🧪 Installation

To get started with **IM COOL BOOY GIF TOOL**, install it using pip:

```bash
pip install IM-COOL-BOOY-GIF

Then simply run:

IM-COOL-BOOY-GIF

---

📸 Usage

1. Create a folder named Download in your sdcard.


2. Place the photos you want to include in the GIF into that folder.


3. Run the command IM-COOL-BOOY-GIF.


4. A folder named IM-COOL-BOOY will be created in your sdcard, and your GIF will be saved there.




---

🤝 Contribution

Contributions are always welcome...!
If you'd like to improve IM COOL BOOY GIF TOOL, feel free to submit a pull request or open an issue.
Bug fixes, feature ideas, or suggestions are all appreciated.!


---

🧾 License

This project is licensed under a modified MIT License – free to use, modify, and distribute, but **commercial use is not allowed**. See the [LICENSE](./LICENSE) file for more details.


---

IM COOL BOOY GIF TOOL makes it easy to create GIFs from your images in an improved way.
Want HD resizing or amazing animated GIFs..? This tool will meet your needs.!

---

Thank You.! 🌷 | SL Android Official ™ | IM COOL BOOY

## Programming Language

- **Language**: Python
- **Version**: 3.12

## Built With

- Python 3.12 – Main programming language
- Termux – For running the tool in a mobile Linux-like environment