Skip to main content

A tool to pack repository contents into a single file for AI analysis

Project description

📦 Repopack-py

Python version of npm repopack by yamadashy

Repopack is a powerful tool that packs your entire repository into a single, AI-friendly file.
Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini.

📊 Usage

To use Repopack-py, follow these steps:

  1. Install the package:

    pip install repopack
    
  2. Run the following command:

    repopack path/to/your/repository
    
  3. The packed file will be generated in the current directory with the name repopackpy-output.txt by default.

Options

You can customize the packing process with these options:

  • -o, --output: Specify the output file name (default: repopack_output.txt)
  • -i, --ignore: Add patterns to ignore (in addition to .gitignore, comma-separated)
  • -c, --config: Specify a configuration file
  • --output-show-line-numbers: Show line numbers in the output file
  • --output-style: Specify the output style plain or xml (default: plain)

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

repopack-0.1.4.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

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

repopack-0.1.4-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file repopack-0.1.4.tar.gz.

File metadata

  • Download URL: repopack-0.1.4.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for repopack-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ea533ac64059ea14ab41e7223a12a6b58c4ca46eab84f33429d969774f683d16
MD5 004956aa64a07f2ebad79f85d2db10ba
BLAKE2b-256 487d78b4586df37eb4b6a8d245bafb7929f9f2ae878f66fd75346017b5500ac9

See more details on using hashes here.

File details

Details for the file repopack-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: repopack-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for repopack-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7cd025c1f612553c324ef9721080666fa1fcbd274aac3196deb67fc494501266
MD5 fe03c8ddd882999ae6138ac62ffc3d21
BLAKE2b-256 bb0501c3df442aa0a24423aee8689318f32aa112c032f35c40e579ac569be3a6

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