{"id":23457,"library":"cov-core","title":"cov-core","description":"Plugin core for use by pytest-cov, nose-cov and nose2-cov. Provides a shared coverage core for test runners. Current version: 1.15.0, last released 2016. In maintenance mode.","status":"maintenance","version":"1.15.0","language":"python","source_language":"en","source_url":"https://github.com/schlamar/cov-core","tags":["coverage","pytest","nose","testing"],"install":[{"cmd":"pip install cov-core","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Most common entry point; cov-core is a dependency of pytest-cov","package":"pytest-cov","optional":true},{"reason":"Runtime dependency for instrumentation","package":"coverage","optional":false}],"imports":[{"note":"Direct import of cov_core module is discouraged; use via pytest-cov or nose-cov","wrong":"","symbol":"CovCore","correct":"from cov_core import CovCore"}],"quickstart":{"code":"# cov-core is not typically used directly. Instead use pytest-cov:\n# pip install pytest-cov\n# Run tests with: pytest --cov=myproject tests/\n","lang":"python","description":"Typical usage via pytest-cov; cov-core is a backend plugin."},"warnings":[{"fix":"Use pytest-cov (which depends on coverage) directly.","message":"cov-core has been in maintenance mode since 2016. New projects should use coverage and pytest-cov directly.","severity":"deprecated","affected_versions":"all"},{"fix":"When importing in Python, use from cov_core import CovCore","message":"Import path uses underscore: cov_core, not cov-core.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install with 'pip install cov-core' and import as 'from cov_core import CovCore'","cause":"Library not installed or wrong import name (hyphen instead of underscore).","error":"ModuleNotFoundError: No module named 'cov_core'"},{"fix":"Ensure cov-core>=1.15.0 is installed and use 'from cov_core import CovCore'","cause":"Attempting to import an older version or misspelled name.","error":"ImportError: cannot import name 'CovCore'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}