CVX package template for convex optimization projects.
Project description
cvx-package-template
Template instructions (to be removed)
This is a template for creating packages in the cvxpy ecosystem. It provides a basic structure and configuration for a Python package, including:
- A
pyproject.tomlfile for package metadata and dependencies. - A
testsdirectory for unit tests usingpytestandpytest-covfor coverage reporting. - A
docsdirectory for documentation using Sphinx. - A
examplesdirectory for example usage of the package, which will be displayed in the documentation. - Linting and formatting using
ruffand typechecking usingty. - Pre-commit hooks using
pre-committo ensure code quality before committing changes.
Running tests
To be able to run unit tests with uv you will need:
uv sync --group dev
You can then run the tests using:
uv run pytest tests
Alternatively, with pip you can install the dev dependencies and run the tests using:
pip install -e .[dev]
pytest tests
Building documentation locally
To build and run the documentation locally using sphinx-autobuild,
you need to first install dependencies using the following commands:
uv sync --group dev --group doc
uv run sphinx-autobuild docs/src docs/_build/html
Alternatively, with pip you can install the dev and doc dependencies and run the documentation using:
pip install -e .[dev,doc]
sphinx-autobuild docs/src docs/_build/html
Repository description goes here.
The full documentation is available here.
If you wish to cite repository please cite the papers listed here.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cvx_package_template-0.1.1.tar.gz.
File metadata
- Download URL: cvx_package_template-0.1.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24636e33a21e84829ea7561f0c744b11e65925fe07307d0cdba8857c52262e54
|
|
| MD5 |
eb6dbd8fa27f39c68b9069efdc7c0193
|
|
| BLAKE2b-256 |
46a72ed3d55eb34c009436958a8f21847ba5c9ca711196b191e9f71f92981be4
|
Provenance
The following attestation bundles were made for cvx_package_template-0.1.1.tar.gz:
Publisher:
release.yaml on langestefan/cvx-package-template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cvx_package_template-0.1.1.tar.gz -
Subject digest:
24636e33a21e84829ea7561f0c744b11e65925fe07307d0cdba8857c52262e54 - Sigstore transparency entry: 351557954
- Sigstore integration time:
-
Permalink:
langestefan/cvx-package-template@aad1332de2b3702dc1a172e8627a3363d4d21356 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/langestefan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@aad1332de2b3702dc1a172e8627a3363d4d21356 -
Trigger Event:
release
-
Statement type:
File details
Details for the file cvx_package_template-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cvx_package_template-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9846786192774029aca38ad4fd1ba61f594a874f622d02fc0849a1e42c036fdd
|
|
| MD5 |
103fba3cdcbbfd7312d84dad1c1f6434
|
|
| BLAKE2b-256 |
7c692cc58818cee1a20d5203c75437ad05f5c75f4608c17b9f581ba63bc529e5
|
Provenance
The following attestation bundles were made for cvx_package_template-0.1.1-py3-none-any.whl:
Publisher:
release.yaml on langestefan/cvx-package-template
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cvx_package_template-0.1.1-py3-none-any.whl -
Subject digest:
9846786192774029aca38ad4fd1ba61f594a874f622d02fc0849a1e42c036fdd - Sigstore transparency entry: 351557963
- Sigstore integration time:
-
Permalink:
langestefan/cvx-package-template@aad1332de2b3702dc1a172e8627a3363d4d21356 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/langestefan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@aad1332de2b3702dc1a172e8627a3363d4d21356 -
Trigger Event:
release
-
Statement type: