Skip to main content

Interactive CLI to extract project files into a single bundle

Project description

Proxtract

Proxtract is an interactive CLI for extracting readable project files into a single bundle that is easy to share with large language models.

Features

  • Rich-powered REPL with colorized output, tables, and progress indicators
  • Session state for configurable extraction settings
  • Command suite for quick extraction, configuration, and help

Installation

pip install proxtract

Install with the optional ASCII art banner extras by adding banner:

pip install proxtract[banner]

Usage

Launch the REPL with:

proxtract

Inside the session use /help to see available commands. Typical flow:

  1. Adjust defaults with /settings if needed.
  2. Run /extract <path> [output_file] to stream project files into one document.
  3. Exit anytime with /exit.

Settings keys accept handy aliases: /settings max 1024, /settings out merged.txt, /settings compact off, /settings empty on.

Verification

After installing, you can confirm the basics operate with the bundled smoke test:

python scripts/smoke_test.py

The script launches the REPL (and exits cleanly) and performs a one-file extraction using the public API.

Development

  • Python 3.9+
  • Dependencies managed via pyproject.toml

Run the REPL locally without installing by executing python -m proxtract from the project root. The banner gracefully falls back to ASCII art if the optional art dependency is unavailable.

For editable development installs, use:

pip install -e .[dev,banner]

Publishing to PyPI

  1. Ensure dist/ is clean: rm -rf dist/ build/
  2. Build the distribution artifacts: python -m build
  3. Inspect the generated wheels and sdist under dist/
  4. Run a sanity check: twine check dist/*
  5. Upload to PyPI (or TestPyPI) with twine upload dist/*

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

proxtract-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

proxtract-0.1.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file proxtract-0.1.0.tar.gz.

File metadata

  • Download URL: proxtract-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for proxtract-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce587653e2582a27fe6a99c4c2014163391c9e5c112bef8253b48ae967542a3a
MD5 82bee1d0646c5114ba991b7b114d88f1
BLAKE2b-256 e258292265c5c44a2d39aec726d55ee652bdaca374e0baadebac0726d1aa3573

See more details on using hashes here.

File details

Details for the file proxtract-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: proxtract-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for proxtract-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36542b6ed2a53ba935bc23ada9c6d8bc35d0b6dc05d1f0389ef91c60ba5f4ddd
MD5 512188a64b236b2dfa4465f1562925f5
BLAKE2b-256 3343ae1e64038f1ee37a5f1e23ccd07fe2c572a3e06e1d144e540e9a9fc0c566

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