Flatten a project into a single LLM-friendly text dump
Project description
produm
produm is a tiny CLI tool that flattens any small project into a single, LLM-friendly text file. Useful when you want to show an entire codebase to ChatGPT or other LLMs without manually copying files. This was created for Python projects, but it could be generalized for other projects.
Features
- Generates a single
.txtdump with:- Directory tree
- File list
- All text-based file contents
- Respects
.gitignore(can be disabled) - Skips binary files automatically
- Supports include/exclude rules
- Optional line numbers for code review and debugging
- Output name auto-generated unless specified
Installation
uv add produm
or
pip install produm
Usage
Basic
produm
or
produm .
will create the dump file from and in the current directory.
Advanced
Specify output:
produm . -o dump.txt
Only include Python files:
produm . --include-ext .py
Skip the directory tree:
produm . --no-tree
License
See LICENSE
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file produm-0.1.2.tar.gz.
File metadata
- Download URL: produm-0.1.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b611d23e3a4e3a29db41a1c8840bf083da37bacf63e5c5a4c22e85dd8006e846
|
|
| MD5 |
ecaef22f15b3ec768c1ec5fbb5c24778
|
|
| BLAKE2b-256 |
b1a9b1bce11f2b9b17a5c01aed0eb5603a72a90545ba07b18fbe9e581282edd9
|
File details
Details for the file produm-0.1.2-py3-none-any.whl.
File metadata
- Download URL: produm-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac66e220a4f30d3a358d7150b23e950772d76e626342d384e62760687b9e9bce
|
|
| MD5 |
c7e293750d8aeaf7237a80ffa2c3475a
|
|
| BLAKE2b-256 |
e59a56f92a98c56eccd9353a78f87a8261de4c6e2f7891c02ce47451827cd777
|