Skip to main content

CVX package template for convex optimization projects.

Project description

cvx-package-template

build docs codecov license pypi

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.4.tar.gz (11.0 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.4-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file cvx_package_template-0.1.4.tar.gz.

File metadata

  • Download URL: cvx_package_template-0.1.4.tar.gz
  • Upload date:
  • Size: 11.0 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.4.tar.gz
Algorithm Hash digest
SHA256 266a323fedff20380eaa98428be1ac232c933d612254d1d85552942b792f3fa7
MD5 09efc13764f792a79f64452245f5d60c
BLAKE2b-256 5fe4503fea7e4d5c2bac20c0d23d7d99c6d66602bdf48a806ed1c8add8c35bd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cvx_package_template-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cvx_package_template-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 87adb71052a452cb83ecc1f72dfe95a680037b6f50202588d2a37086293dac33
MD5 fb2442dc0fbaccec1d2f0e3c53f7e7f3
BLAKE2b-256 39902933b866f1404ed8decbe313ad4339001c58e579bdf107f73cd3a225558b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cvx_package_template-0.1.4-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