Codebase Batcher (cbatch) - CLI tool to output codebase to structured file for AI context.
Project description
cbatch - Codebase Batcher
A CLI tool to output your codebase into a structured Markdown file for AI context.
Installation
pip install .
Testing
4. Local Installation and Testing:
Now you can install your cbatch tool locally to test it!
-
Open your terminal or command prompt.
-
Navigate to the directory where you have
setup.pyandcbatch.py(andREADME.mdif you created it). -
Run the following command:
pip install .
(Make sure you have pip installed and are using the correct Python environment if you are using virtual environments.)
-
Test your
cbatchcommand: After successful installation, you should be able to runcbatchfrom your terminal from any directory!cbatch --helpYou should see the help message defined in your
argparsesetup. Try running other commands likecbatch initandcbatch updateto make sure they work as expected.
5. (Optional) Create Distribution Packages (for sharing or uploading to PyPI):
If you want to share your cbatch tool with others or upload it to PyPI (Python Package Index) so anyone can install it with pip install cbatch (after you upload to PyPI), you'll need to create distribution packages.
In the same directory as setup.py, run:
python setup.py sdist bdist_wheel
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codebatcher-0.1.0.tar.gz.
File metadata
- Download URL: codebatcher-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.12.10-200.fc41.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82a8ca2feab4e8a93ed868025363bd51ad951574b7d3a0abfd7be25b2c45c3a8
|
|
| MD5 |
590e216fc6d7c25b4f76d18fafb25993
|
|
| BLAKE2b-256 |
1a212ec1606fa0d3101d65345bf184c3c833e5f704afaff2c4160659991b7a19
|
File details
Details for the file codebatcher-0.1.0-py3-none-any.whl.
File metadata
- Download URL: codebatcher-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.12.10-200.fc41.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd48a00d6153c51887bce46a9708af945cf9fe429d2b595da50861fe3c8689d1
|
|
| MD5 |
11dff0a363e8842ddc72ca734c71225d
|
|
| BLAKE2b-256 |
56a51bd994fbe36175bdb321338c2ac809839b4b602e07e1ed4e98551517f033
|