
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
.. start-badges
.. list-table:: :stub-columns: 1
* - docs
- |docs|
* - tests
- | |tox-pytest| |tox-checks| |coveralls|
* - package
- | |version| |wheel| |supported-versions| |supported-implementations| |commits-since| |packaging|
.. |tox-pytest| image:: https://github.com/oemof/demandlib/workflows/tox%20pytests/badge.svg :target: https://github.com/oemof/demandlib/actions?query=workflow%3A%22tox+checks%22
.. |tox-checks| image:: https://github.com/oemof/demandlib/workflows/tox%20checks/badge.svg?branch=dev :target: https://github.com/oemof/demandlib/actions?query=workflow%3A%22tox+checks%22
.. |packaging| image:: https://github.com/oemof/demandlib/workflows/packaging/badge.svg?branch=dev :target: https://github.com/oemof/demandlib/actions?query=workflow%3Apackaging
.. |docs| image:: https://readthedocs.org/projects/demandlib/badge/?style=flat :target: https://demandlib.readthedocs.io/ :alt: Documentation Status
.. |coveralls| image:: https://coveralls.io/repos/oemof/demandlib/badge.svg?branch=dev&service=github :alt: Coverage Status :target: https://coveralls.io/github/oemof/demandlib?branch=dev
.. |version| image:: https://img.shields.io/pypi/v/demandlib.svg :alt: PyPI Package latest release :target: https://pypi.org/project/demandlib
.. |wheel| image:: https://img.shields.io/pypi/wheel/demandlib.svg :alt: PyPI Wheel :target: https://pypi.org/project/demandlib
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/demandlib.svg :alt: Supported versions :target: https://pypi.org/project/demandlib
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/demandlib.svg :alt: Supported implementations :target: https://pypi.org/project/demandlib
.. |commits-since| image:: https://img.shields.io/github/commits-since/oemof/demandlib/latest/dev :alt: Commits since latest release :target: https://github.com/oemof/demandlib/compare/master...dev
.. end-badges
Creating heat and power demand profiles from annual values.
::
pip install demandlib
You can also install the in-development version with::
pip install https://github.com/oemof/demandlib/archive/master.zip
https://demandlib.readthedocs.io/
To run all the tests run::
tox
Note, to combine the coverage data from all the tox environments run:
.. list-table:: :widths: 10 90 :stub-columns: 1
- - Windows
- ::
set PYTEST_ADDOPTS=--cov-append
tox
- - Other
- ::
PYTEST_ADDOPTS=--cov-append tox
FAQs
Creating heat and power demand profiles from annual values
We found that demandlib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.