Skip to main content

A simple tool to manage and utilize code context with LLMs.

Project description

DeepBase

DeepBase è 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 DeepBase direttamente da PyPI:

pip install DeepBase

Come Usarlo

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

Uso di base:

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

DeepBase /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.

DeepBase /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-1.0.0.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepbase-1.0.0.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for deepbase-1.0.0.tar.gz
Algorithm Hash digest
SHA256 82bf4bac8d5a3650f7b91a3e6304cfc926dd5ec909a4671e0f4c7d0c75e372f8
MD5 f857791b45c7cd0a3aa4887ca5e2017f
BLAKE2b-256 7f089a5d39db717481a214ffed2e71250b04f054a6896a655e5b91e89eb594ba

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for deepbase-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 585427013ffb8b528e5874c17b73532ac3c89412a3438db0b864d064864d988a
MD5 466016b6a971a06b9de1c9f992b3bbe8
BLAKE2b-256 b6cbc2b580e70e1fa9aafe483d0b1c1ebb71a701bab781059de19c41f216d477

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