An open API service indexing awesome lists of open source software.

https://github.com/mallickboy/snapkit

SnapKit is a lightweight toolkit for everyday image-related tasks in AI, Computer Vision, and ML workflows.
https://github.com/mallickboy/snapkit

Last synced: about 1 month ago
JSON representation

SnapKit is a lightweight toolkit for everyday image-related tasks in AI, Computer Vision, and ML workflows.

Awesome Lists containing this project

README

          

# SnapKit
SnapKit is a lightweight toolkit for everyday image-related tasks in AI, Computer Vision, and ML workflows.
It provides handy **Python utilities and CLI commands** for faster, repeatable workflows.

---

## 📦 Installation
```bash
pip install snapkit
```
---

## 🚀 Usage

### Python API
```python
from snapkit import jpg_to_png

jpg_to_png(
input_dir="./your_input_dir",
output_dir="./your_output_dir",
max_threads=10 # Optional, defaults to CPU count
)
```

### CLI
```bash
snapkit --help
snapkit jpg-to-png --help
snapkit jpg-to-png --input ./your_input_dir --output ./your_output_dir --threads 10
```

---

## 🛠 Development Setup

Clone the repo and create a virtual environment:

```bash
git clone https://github.com/mallickboy/snapkit.git
cd snapkit
python -m venv .venv
source .venv/bin/activate # (Linux/macOS)
.venv\Scripts\activate # (Windows)
pip install -r requirements.txt
```

Build and install locally:

```bash
python setup.py sdist bdist_wheel
pip install dist/snapkit-0.0.2-py3-none-any.whl
```

#### OR simply
```bash
pip install .
```

---

## 📌 Roadmap
- [x] JPG → PNG converter (multi-threaded)
- [ ] Image stitching utilities
- [ ] Visualization & plotting helpers
- [ ] Space/time optimized conversions
- [ ] Extended CLI for common workflows

---

## 📜 License
This project is licensed under the MIT License – see the [LICENSE](LICENSE) file for details.

---

## 👤 Author
Developed by **Tamal Mallick**
GitHub: [mallickboy](https://github.com/mallickboy)