Skip to main content

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!

  1. Open your terminal or command prompt.

  2. Navigate to the directory where you have setup.py and cbatch.py (and README.md if you created it).

  3. 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.)

  4. Test your cbatch command: After successful installation, you should be able to run cbatch from your terminal from any directory!

    cbatch --help
    

    You should see the help message defined in your argparse setup. Try running other commands like cbatch init and cbatch update to 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

codebatcher-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

codebatcher-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for codebatcher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82a8ca2feab4e8a93ed868025363bd51ad951574b7d3a0abfd7be25b2c45c3a8
MD5 590e216fc6d7c25b4f76d18fafb25993
BLAKE2b-256 1a212ec1606fa0d3101d65345bf184c3c833e5f704afaff2c4160659991b7a19

See more details on using hashes here.

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

Hashes for codebatcher-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd48a00d6153c51887bce46a9708af945cf9fe429d2b595da50861fe3c8689d1
MD5 11dff0a363e8842ddc72ca734c71225d
BLAKE2b-256 56a51bd994fbe36175bdb321338c2ac809839b4b602e07e1ed4e98551517f033

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