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-py
    
  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.2.tar.gz (16.8 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.2-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for repopack-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bbc4defcc2f935c4cc218303e68e3ecc9df51c646d1c941f0c106757288b216d
MD5 d030ac51b34c868604daf256c9bb2dec
BLAKE2b-256 777f4ccc7a1ce48e9b3cc68692a8b6d40e44e207395acd426eebbc05d3a2fcfb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for repopack-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7576f9ef9d40ed663b88db593458cb5e45103e336ddbc0aa0f38f8cb82792cbc
MD5 6c6835c1cbd0af6b54d77d78ac097bcd
BLAKE2b-256 16fd3ee122509995547738faec965a0dc59a3f148860bb4b3d5080a785d5dd77

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