{"library":"python-coveralls","title":"Coveralls Python","description":"python-coveralls is a Python interface to the coveralls.io API, enabling continuous integration services to send test coverage reports for Python projects. It integrates with `coverage.py` to process coverage data and send it to Coveralls.io. The current version is 2.9.3, and releases are generally made to address `coverage.py` compatibility, Python version support, or minor bug fixes, rather than on a fixed cadence.","language":"python","status":"active","last_verified":"Fri Apr 17","install":{"commands":["pip install python-coveralls"],"cli":{"name":"coveralls","version":"Traceback (most recent call last):"}},"imports":["from coveralls import Coveralls"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# 1. Install necessary packages\npip install coverage python-coveralls\n\n# 2. Run your tests with coverage.py to generate .coverage data\n#    Replace 'pytest' with your actual test runner (e.g., 'python -m unittest discover')\n#    Replace 'your_module_name' with the actual name of your package/module to cover\ncoverage run --source=your_module_name -m pytest\n\n# 3. Send the coverage report to Coveralls.io\n#    Set your repository token as an environment variable.\n#    In CI environments (e.g., GitHub Actions, Travis CI), this is often handled automatically\n#    or provided securely. For local testing, ensure it's exported in your shell.\n#    Using a placeholder; replace with your actual token.\nexport COVERALLS_REPO_TOKEN='YOUR_ACTUAL_COVERALLS_REPO_TOKEN'\n\n#    Now run the coveralls command-line tool\ncoveralls","lang":"bash","description":"This quickstart demonstrates the typical workflow: first, generate coverage data using `coverage.py` after running your tests, and then use the `coveralls` command-line tool to send the `.coverage` report to Coveralls.io. Ensure the `COVERALLS_REPO_TOKEN` is set, especially in CI environments.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}