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.3.tar.gz (46.0 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.3-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

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

Hashes for snib-0.4.3.tar.gz
Algorithm Hash digest
SHA256 c3334bd48d221bd98611d727ccc021611bd1f6d9c23168d1e8d62be410e4fc20
MD5 7262fae1833e3717d5716903824af307
BLAKE2b-256 d8b15af966c81124759e2c7cb9039dc868002c56973b92d8f4386e9306d150ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for snib-0.4.3.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.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

Hashes for snib-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8aaa5d3bef3fa57a8751059aa8225aaf9c0ee62d583668eee66b39456fd2bfe7
MD5 5ab49339436dcc5bc197ea76f7918ef0
BLAKE2b-256 6f2e0f614668cae73655804d7c6334f6f7b808689f16129672ff327fc803f39c

See more details on using hashes here.

Provenance

The following attestation bundles were made for snib-0.4.3-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