Skip to main content

CVX package template for convex optimization projects.

Project description

cvx-package-template

Build Status Documentation Coverage Status

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.toml file for package metadata and dependencies.
  • A tests directory for unit tests using pytest and pytest-cov for coverage reporting.
  • A docs directory for documentation using Sphinx.
  • A examples directory for example usage of the package, which will be displayed in the documentation.
  • Linting and formatting using ruff and typechecking using ty.
  • Pre-commit hooks using pre-commit to 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

cvx_package_template-0.1.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cvx_package_template-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

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

Hashes for cvx_package_template-0.1.1.tar.gz
Algorithm Hash digest
SHA256 24636e33a21e84829ea7561f0c744b11e65925fe07307d0cdba8857c52262e54
MD5 eb6dbd8fa27f39c68b9069efdc7c0193
BLAKE2b-256 46a72ed3d55eb34c009436958a8f21847ba5c9ca711196b191e9f71f92981be4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cvx_package_template-0.1.1.tar.gz:

Publisher: release.yaml on langestefan/cvx-package-template

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cvx_package_template-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cvx_package_template-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9846786192774029aca38ad4fd1ba61f594a874f622d02fc0849a1e42c036fdd
MD5 103fba3cdcbbfd7312d84dad1c1f6434
BLAKE2b-256 7c692cc58818cee1a20d5203c75437ad05f5c75f4608c17b9f581ba63bc529e5

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page