Skip to main content

CapOv — Captain Obvious

Fixes the dumbest, most obvious Python code errors automatically.

CapOv corrects only the 100% safe stuff: missing imports, duplicate imports, unclosed brackets, and more — with zero assumptions.


🔧 Installation

pip install capov

🚀 Example usage

from capov.fixers import process

code = '''
import os
import os
x = [1, 2, 3,
print(json.dumps(x)
'''

fixed = process(code)
print(fixed)

Command-line:

python -m capov your_script.py [options]

Options:

  • --in-place → Overwrite the input file
  • --output FILENAME → Write fixed code to a separate file
  • --backup → Create a .bak backup before overwrite
  • --verbose → Print debug messages
  • --log FILE → Log to specified log file

🧪 Run tests

To verify installation and test functionality:

python3 -m capov.tests

🗂 Project structure

  • capov/ — main package
    • fixers.py — bug fixing logic
    • main.py — CLI entry point
    • example.py — example usage
    • tests/
      • test_cli_full.py — full run tests
      • test_cli_params.py — CLI parameter tests
      • test_module_usage.py — module usage tests
      • faulty_scripts/ — broken Python samples

CapOv is your cleanup butler. Let him sweep the dumb bugs so you don't have to.

Submit bugs or contribute: https://github.com/HansPeterRadtke/capov

Metadata

Release files for llm-project-builder 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-project-builder 0.1.0
File Size Uploaded Provenance Actions
llm_project_builder-0.1.0.tar.gz 2.0 kB Without provenance Details for llm_project_builder-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-project-builder 0.1.0
File Interpreter ABI Platform Actions
llm_project_builder-0.1.0-py3-none-any.whl Python 3 none any Details for llm_project_builder-0.1.0-py3-none-any.whl

Total release size: 3.9 kB

Release files / llm_project_builder-0.1.0.tar.gz

Download URL llm_project_builder-0.1.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8ca2345331ca6450058e74b541d4284fb3e740b3768128f5ec474dd41c0631c1
BLAKE2b-256 checksum
How to use checksums
3da66a55d6e4d9af94b2089007261fcd0fe802905536934245cee47d8fa63b1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Release files / llm_project_builder-0.1.0-py3-none-any.whl

Download URL llm_project_builder-0.1.0-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
496ebf29fcfc4380b568772ff352bb9f6ca87224191589fa6b8ac558aa447795
BLAKE2b-256 checksum
How to use checksums
12e52940f04615fbc1662a386ac7a8a48d30f791683a914fc30970c03537b429
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for llm-project-builder 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page