cvx-package-template
Python package template for cvxpy extensions.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.8%) to scientific vocabulary
Repository
Python package template for cvxpy extensions.
Basic Info
- Host: GitHub
- Owner: langestefan
- License: mit
- Language: Python
- Default Branch: main
- Size: 1.75 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
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:
bash
uv sync --group dev
You can then run the tests using:
bash
uv run pytest tests
Alternatively, with pip you can install the dev dependencies and run the tests using:
bash
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:
bash
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:
bash
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.
Owner
- Name: Stefan de Lange
- Login: langestefan
- Kind: user
- Location: Eindhoven
- Repositories: 82
- Profile: https://github.com/langestefan
Electrical Engineer. I work on mathematical engineering, modelling and machine learning topics within the energy transition.
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Newton
given-names: Isaac
orcid: https://orcid.org/1234-5678-9101-1121
title: "My Research Software"
version: 2.0.4
identifiers:
- type: doi
value: 10.5281/zenodo.1234
date-released: 2021-08-11
GitHub Events
Total
- Push event: 31
- Pull request event: 1
- Create event: 2
Last Year
- Push event: 31
- Pull request event: 1
- Create event: 2
Packages
- Total packages: 1
-
Total downloads:
- pypi 359 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
pypi.org: cvx-package-template
CVX package template for convex optimization projects.
- Homepage: https://github.com/langestefan/cvx-package-template
- Documentation: https://github.com/langestefan/cvx-package-template
- License: MIT
-
Latest release: 0.1.4
published 10 months ago
Rankings
Maintainers (1)
Dependencies
- JamesIves/github-pages-deploy-action v4.7.3 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite