Skip to main content

snib scans projects and generates prompt-ready chunks

Project description


Powered by COFFEE PyPI version Build Codacy Badge Codacy Badge License: MIT Conventional Commits Issues Pull Requests

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, and clean.

📦 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snib-0.4.4.tar.gz (46.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snib-0.4.4-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file snib-0.4.4.tar.gz.

File metadata

  • Download URL: snib-0.4.4.tar.gz
  • Upload date:
  • Size: 46.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for snib-0.4.4.tar.gz
Algorithm Hash digest
SHA256 19786450b990dd8ae78a61f0faebcaf82fe4c102e8ba0be07d95b19d98994218
MD5 276d42187d57a263a0539a48b2aad1ff
BLAKE2b-256 6f3e1fba2e87c909a5bbdeeaca7555d39b143fa004675a9b0818a5f27071bdfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for snib-0.4.4.tar.gz:

Publisher: release.yml on patmllr/snib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file snib-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: snib-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for snib-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2c67bd197f5793ad719a705a2d0aa99ebd93665786fc104da512415695769938
MD5 78bf0d84097c4c4789c965538c4f0f0d
BLAKE2b-256 3744a3369ec1a67afa872e8270a140532b46401af35fc51ac4e99937cf8fb204

See more details on using hashes here.

Provenance

The following attestation bundles were made for snib-0.4.4-py3-none-any.whl:

Publisher: release.yml on patmllr/snib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page