Skip to main content

Un tool per generare un contesto di progetto completo per gli LLM.

Project description

SmartBase

SmartBase è un tool a riga di comando che analizza una directory di progetto, estrae la struttura delle cartelle e il contenuto di tutti i file di codice significativi, e li consolida in un unico file di testo/markdown.

Questo "contesto" unificato è perfetto per essere fornito a un Large Language Model (LLM) per consentirgli di comprendere a fondo l'intero codebase.

Caratteristiche

  • Struttura del Progetto: Genera una visualizzazione ad albero della struttura di cartelle e file.
  • Filtro Intelligente: Ignora automaticamente le directory comuni non necessarie (.git, venv, node_modules, etc.).
  • Selezione per Estensione: Include solo i file con estensioni di codice o configurazione rilevanti (.py, .js, .md, Dockerfile, etc.).
  • Output Unificato: Combina tutto in un unico file, facile da copiare e incollare.
  • Pronto per PyPI: Facile da installare tramite pip.

Installazione

Puoi installare SmartBase direttamente da PyPI:

pip install smartbase

Come Usarlo

Una volta installato, avrai a disposizione il comando smartbase nel tuo terminale.

Uso di base:

Naviga nella cartella del tuo progetto (o in una cartella padre) ed esegui:

smartbase /percorso/del/tuo/progetto

Questo comando creerà un file chiamato llm_context.md nella directory corrente.

Specificare un file di output:

Usa l'opzione -o o --output per definire un nome diverso per il file di contesto.

smartbase /percorso/del/tuo/progetto -o contesto_progetto.txt

Licenza

Questo progetto è rilasciato sotto la licenza MIT. Vedi il file LICENSE per i dettagli.

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

deepbase-0.1.0.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

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

deepbase-0.1.0-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

Details for the file deepbase-0.1.0.tar.gz.

File metadata

  • Download URL: deepbase-0.1.0.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for deepbase-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0f1db3c75e9e3a82486e5041cffb3c6ce8faee0893cdbbb87e27d6f8b294c130
MD5 3fee50ccea5b4772b76a1bab3e1bc289
BLAKE2b-256 82528b8b2502c58b01db17c61a9f77ed58010fb733d810464aeed83a7beb2d55

See more details on using hashes here.

File details

Details for the file deepbase-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: deepbase-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for deepbase-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6662feb95db5b99f49564b9a9b4da23b6df8b3f570fdbff63f64c90dbf104b6f
MD5 89b673752415cac6b8ec73ff1a258fda
BLAKE2b-256 9a02ee8a556e3bffbce329ed32944d8bbc24302fee852741a4ee45407df653c3

See more details on using hashes here.

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