# 📦 Repopack-py
> Python version of [npm repopack](https://github.com/yamadashy/repopack) by [yamadashy](https://github.com/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
```
4. 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)
Raw data
{
"_id": null,
"home_page": "https://github.com/abinthomasonline/repopack-py",
"name": "repopack",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Abin Thomas",
"author_email": "abinthomasonline@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/24/c1/b607bff9cacf3009f8ac6e3bccad60ec39cfcda314d8a9bb01862419b9dc/repopack-0.1.3.tar.gz",
"platform": null,
"description": "# \ud83d\udce6 Repopack-py\n\n> Python version of [npm repopack](https://github.com/yamadashy/repopack) by [yamadashy](https://github.com/yamadashy)\n\nRepopack is a powerful tool that packs your entire repository into a single, AI-friendly file. \nPerfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, and Gemini.\n\n\n## \ud83d\udcca Usage\n\nTo use Repopack-py, follow these steps:\n\n1. Install the package:\n ```\n pip install repopack\n ```\n\n2. Run the following command:\n ```\n repopack path/to/your/repository\n ```\n\n4. The packed file will be generated in the current directory with the name `repopackpy-output.txt` by default.\n\n### Options\n\nYou can customize the packing process with these options:\n\n- `-o, --output`: Specify the output file name (default: repopack_output.txt)\n- `-i, --ignore`: Add patterns to ignore (in addition to .gitignore, comma-separated)\n- `-c, --config`: Specify a configuration file\n- `--output-show-line-numbers`: Show line numbers in the output file\n- `--output-style`: Specify the output style plain or xml (default: plain)\n",
"bugtrack_url": null,
"license": null,
"summary": "A tool to pack repository contents into a single file for AI analysis",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/abinthomasonline/repopack-py"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "defc86b9262777ba3270b8556b9d0163976d36b03c2f27f2d898d4f80150de13",
"md5": "ee449e30c8c11b461e9d61a9bd6ed782",
"sha256": "bd6f8b86f62efd0c19f77d195affb8d67ba8cc9b501ed95b265b397b6a60726e"
},
"downloads": -1,
"filename": "repopack-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ee449e30c8c11b461e9d61a9bd6ed782",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 24239,
"upload_time": "2024-08-27T04:24:20",
"upload_time_iso_8601": "2024-08-27T04:24:20.570852Z",
"url": "https://files.pythonhosted.org/packages/de/fc/86b9262777ba3270b8556b9d0163976d36b03c2f27f2d898d4f80150de13/repopack-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "24c1b607bff9cacf3009f8ac6e3bccad60ec39cfcda314d8a9bb01862419b9dc",
"md5": "f3b1f11a81d41d9906cfe773f90fd981",
"sha256": "1046f396286668e19d63a130698da0687e6e67129a01aefce1d97cad6e683093"
},
"downloads": -1,
"filename": "repopack-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "f3b1f11a81d41d9906cfe773f90fd981",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 18404,
"upload_time": "2024-08-27T04:24:22",
"upload_time_iso_8601": "2024-08-27T04:24:22.488115Z",
"url": "https://files.pythonhosted.org/packages/24/c1/b607bff9cacf3009f8ac6e3bccad60ec39cfcda314d8a9bb01862419b9dc/repopack-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-27 04:24:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "abinthomasonline",
"github_project": "repopack-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "repopack"
}