RepoScribe
RepoScribe is a basic, lightweight tool for compiling your codebase and directory structure into a structured Markdown document. It is designed to enrich Large Language Models (LLMs) with project-specific context, but it's also highly effective for straightforward navigation and review of code projects or folders. The python package is self-contained, with no external dependencies.
Installation
To install RepoScribe, simply use pip:
pip install RepoScribe
Usage
In the Terminal
RepoScribe can be used directly from your command line. You can run it in your project's root directory to create a Markdown file of the entire project:
reposcribe
This command will generate a reposcribe.md file in the current directory. If you want to specify the root directory of your project and the output file location, you can do so as follows:
reposcribe /path/to/project /path/to/output.md
In a Python File
You can also use RepoScribe programmatically in your Python scripts. Here's a simple usage example:
from reposcribe import create_doc_file
# Generate documentation for the project
project_doc = create_doc_file(root_path='/path/to/project', save_path='/path/to/output.md')
# The `project_doc` variable now contains the Markdown content
print(project_doc)
Features
-
Compile entire projects into a single Markdown document.
-
Include a detailed file and directory structure.
-
Simple and intuitive command-line interface.
-
Flexible usage - run in your project's root directory with no arguments or specify paths as needed.
-
File Type Filters: Specify a list of file extensions or file names to include or exclude from the documentation.
Planned Features
- Multiple Output Formats: Allow exporting documentation to formats like HTML, PDF, or a Word document.
- Code Syntax Highlighting: Integrate syntax highlighting in the generated Markdown for better readability of code snippets.
- Documenting Non-Code Files: Include a structured summary of non-code files (like images, text files) in the project.
- GitHub Integration: Generate documentation by specifying a public GitHub repository.
- Dependency Graphs: Generate visual dependency graphs for the project, showing how different files and modules are interconnected.
Metadata
Release files for RepoScribe 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| RepoScribe-0.2.6.tar.gz | 2.2 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| RepoScribe-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.2 MB
Release files / RepoScribe-0.2.6.tar.gz
| Download URL | RepoScribe-0.2.6.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76655d11900475c8bf195fb4b283108dffb8425dcd95c9adea783e269e3b7dc5
|
|
BLAKE2b-256 checksum How to use checksums |
1d6bdfc0ce8464117b2221efaece5ca6170cdd65d7fc72db40476917420f2096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Release files / RepoScribe-0.2.6-py3-none-any.whl
| Download URL | RepoScribe-0.2.6-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eab03a762008ac44fe63ea02a7d97aa613d89b77954d55d07d337026fb4e8afe
|
|
BLAKE2b-256 checksum How to use checksums |
6bee0e20262cac5d5d024e29d8f41d3e419aaf8269808f966235b4b756172bf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.11
|
Security for RepoScribe 0.2.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.