Skip to main content

Dumper

Python Typer Rich Tests

Dumper is a simple CLI tool that merges multiple files into a single text file. It supports patterns for inclusion and allows ignoring specific files or directories.


✨ Features

  • 📂 Merge multiple files into one text file
  • 🎯 Use glob patterns to include files (.py, .txt)
  • 🚫 Ignore directories and specific files
  • 🎨 Colored output powered by rich
  • 🧪 Tested with pytest

🚀 Installation

Recommended installing with uv:

uv tool install cli-dumper

or from source:

git clone https://github.com/DasKaroWow/cli-dumper.git
cd cli-dumper
pip install -e .

📖 Usage

After installation, the CLI is available as dumper.

dumper .py --ignore-dirs venv --ignore-files test.py

This will:

  • collect all .py files in the project (excluding venv/ and test.py)
  • merge their content into project_dump.txt in the current folder
  • print a summary

🧑‍💻 Development

Run tests:

uv run pytest

Code style checks (if you add ruff/black):

uv run ruff check .
uv run ruff format .

📜 License

MIT License. See LICENSE for details.

Metadata

Release files for cli-dumper 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cli-dumper 1.1
File Size Uploaded
cli_dumper-1.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cli-dumper 1.1
File Interpreter ABI Platform
cli_dumper-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / cli_dumper-1.1.tar.gz

Download URL cli_dumper-1.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
bcb796866eb692933f66099f1b015479f6f580c4ecc602380b8472d528cb7c48
BLAKE2b-256 checksum
How to use checksums
e07fa003960b52a30cca055437a6e06c88e6e3d05932cd66d813835e7ef5f781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / cli_dumper-1.1-py3-none-any.whl

Download URL cli_dumper-1.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a11e3d0d699b4bbdc67ee70a8df97f70cd6b94e027a028da98a48deacdbe2bd
BLAKE2b-256 checksum
How to use checksums
86ecf4e5fc84a7e423adb51c700301a2cd5ec91880336e0c975cd9f8359d5c46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page