snib scans projects and generates prompt-ready chunks
Project description
Snib is a Python CLI tool to scan your projects and generate prompt-ready chunks for use with LLMs.
💡 Why Snib?
Today there are many AI coding assistants such as Copilot, Cursor, and Tabnine. They are powerful but often expensive, tied to specific models, and in some cases not as good at reasoning as other LLMs available on the web.
Snib keeps you flexible:
- Use any LLM - free, paid, reasoning-strong, or lightweight.
- Use your favorite model’s web UI while snib prepares your code for input.
🚀 Features
- Recursively scan projects with include/exclude rules.
- Generate prompt-ready chunks with configurable sizes.
- Section formatting and built-in tasks to guide the AI.
- Simple CLI with three commands:
init,scan, andclean.
📦 Installation
pip install snib
Alternatively download the latest wheel here: Latest Release
⚡ Quick Start
cd /path/to/your/project
snib init
snib scan --smart
📚 Documentation
Full documentation is available at https://patmllr.github.io/snib/:
- Usage: Learn how to run snib and configure it.
- Development: Contributing, testing, and internal structure.
- API Reference: Automatically generated from the code docstrings.
🤝 Contribute
Help improve snib by contributing presets, features, or bug fixes. See Contributing.
📜 License
MIT License © 2025 Patrick Müller
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snib-0.4.3.tar.gz.
File metadata
- Download URL: snib-0.4.3.tar.gz
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3334bd48d221bd98611d727ccc021611bd1f6d9c23168d1e8d62be410e4fc20
|
|
| MD5 |
7262fae1833e3717d5716903824af307
|
|
| BLAKE2b-256 |
d8b15af966c81124759e2c7cb9039dc868002c56973b92d8f4386e9306d150ea
|
Provenance
The following attestation bundles were made for snib-0.4.3.tar.gz:
Publisher:
release.yml on patmllr/snib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
snib-0.4.3.tar.gz -
Subject digest:
c3334bd48d221bd98611d727ccc021611bd1f6d9c23168d1e8d62be410e4fc20 - Sigstore transparency entry: 501083269
- Sigstore integration time:
-
Permalink:
patmllr/snib@d8f95d4e389a8ede159e641c9399a6d5f9e7a401 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/patmllr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d8f95d4e389a8ede159e641c9399a6d5f9e7a401 -
Trigger Event:
push
-
Statement type:
File details
Details for the file snib-0.4.3-py3-none-any.whl.
File metadata
- Download URL: snib-0.4.3-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aaa5d3bef3fa57a8751059aa8225aaf9c0ee62d583668eee66b39456fd2bfe7
|
|
| MD5 |
5ab49339436dcc5bc197ea76f7918ef0
|
|
| BLAKE2b-256 |
6f2e0f614668cae73655804d7c6334f6f7b808689f16129672ff327fc803f39c
|
Provenance
The following attestation bundles were made for snib-0.4.3-py3-none-any.whl:
Publisher:
release.yml on patmllr/snib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
snib-0.4.3-py3-none-any.whl -
Subject digest:
8aaa5d3bef3fa57a8751059aa8225aaf9c0ee62d583668eee66b39456fd2bfe7 - Sigstore transparency entry: 501083376
- Sigstore integration time:
-
Permalink:
patmllr/snib@d8f95d4e389a8ede159e641c9399a6d5f9e7a401 -
Branch / Tag:
refs/tags/v0.4.3 - Owner: https://github.com/patmllr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d8f95d4e389a8ede159e641c9399a6d5f9e7a401 -
Trigger Event:
push
-
Statement type: