Coverage for src/cvx/quadprog/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.16.1, created at 2026-09-15 05:55 +0000

1"""A NumPy/SciPy implementation of the Goldfarb/Idnani dual QP algorithm.""" 

2 

3from importlib.metadata import version 

4 

5from ._solve import Solution, solve_qp 

6from ._sweep import Sweep 

7 

8__all__ = ["Solution", "Sweep", "solve_qp"] 

9 

10#: Installed distribution version, read from package metadata rather than 

11#: hardcoded, so `pyproject.toml` stays the single place a release bumps. 

12#: Deliberately absent from ``__all__``: dunders are excluded from star-imports 

13#: by convention, and ``tests/test_docs.py`` requires every ``__all__`` entry to 

14#: have an API-reference block, which a version string does not warrant. 

15__version__ = version("cvx-quadprog")