An open API service indexing awesome lists of open source software.

https://github.com/reprompts/repmt

repmt is a lightweight Python library that automatically parses large Python repositories and converts them into clean, structured static prompts โ€” ideal for AI prompt engineering, documentation, or code intelligence workflows.
https://github.com/reprompts/repmt

beginner-friendly directory open-source parser pip-package prompt prompt-engineering prompts pypi-package pypi-packages python python-library python3 readme-generator repository stream-u streamlit

Last synced: 3 months ago
JSON representation

repmt is a lightweight Python library that automatically parses large Python repositories and converts them into clean, structured static prompts โ€” ideal for AI prompt engineering, documentation, or code intelligence workflows.

Awesome Lists containing this project

README

          

# ๐Ÿ” Repmt - Repository Prompt Generator for Python Projects
![Downloads](https://static.pepy.tech/badge/repmt/month)
[![PyPI Version](https://img.shields.io/pypi/v/repmt)](https://pypi.org/project/repmt/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python Versions](https://img.shields.io/pypi/pyversions/repmt)](https://pypi.org/project/repmt/)
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

**Repmt** is a lightweight tool that analyzes Python repositories and generates **static, structured prompts** โ€” ideal for technical documentation, AI prompt engineering, onboarding new developers, and building intelligent agents.

Check the Library on Pypi: https://pypi.org/project/repmt/

It provides a **Streamlit-powered UI** to let users select specific files, modules, or directories and generate meaningful, formatted prompts from them.

---

## ๐Ÿš€ Features

- ๐Ÿง  **Static Code-to-Prompt Generation** โ€“ Turn codebases into well-structured, static prompts
- ๐Ÿ“Š **Streamlit UI** โ€“ Choose what you want to generate: prompt type, modules, files, etc.
- ๐Ÿ“‚ **Selective Targeting** โ€“ Focus only on selected modules, folders, or classes
- ๐Ÿ“„ **Multi-Format Output (Coming Soon)** โ€“ Output to Markdown, HTML, or JSON
- ๐Ÿงญ **Prompt Types** โ€“ Tailored for GPT, documentation, architecture summarization, or onboarding
- ๐Ÿงผ **Temporary Use Option** โ€“ Auto-cleanup after execution

---

## ๐Ÿ“ฆ Installation

```bash

pip install repmt

๐Ÿ–ฅ๏ธ Launch the Streamlit UI
repmt

You will be prompted to:

Select a directory or Python project to analyze

Choose the type of prompt to generate

Choose specific modules, folders, or files to include

Export or copy the generated prompt

โšก One-Time Use (Temporary)
You can use repmt temporarily without keeping it installed:

pip install repmt && repmt --temp /path/to/repo && pip uninstall repmt -y
The --temp flag auto-uninstalls repmt after use.

๐Ÿงช Example Use Cases
Feed structured code chunks into LLMs for contextual reasoning

Document legacy or open-source codebases

Generate onboarding prompts for dev teams

Preprocess repos for embedding-based AI agents

๐Ÿ” License
MIT License โ€” Free for both open-source and commercial use.
See LICENSE for more details.

๐Ÿค Contributing
We welcome contributions!
Please read our Contribution Guidelines before submitting PRs.

๐Ÿ›ก๏ธ Security
To report a vulnerability, please email: repromptsquest@gmail.com

๐Ÿ™Œ Acknowledgements
Thanks to the open-source community and prompt engineering ecosystem for inspiring this project.

Built with โค๏ธ to make Python repositories more AI-readable and human-friendly.

---

Let me know if youโ€™d like:
- A badge-ready `setup.py` with `console_scripts`
- A `streamlit_app.py` that cleanly links to `repmt`
- Automatic prompt file saving
- Screenshot assets for your GitHub repo visuals

Happy open-sourcing!