Skip to main content

Internal library to be used across det repositories.

Project description

detdevlib

Library containing functions and classes that can be used across all det repositories.

Contributing

Any branch that creates a merge requests into master will be checked for:

  • style (black, isort and pydocstyle)
  • passing pytest It is recommended to run these checks locally before pushing.

Commits merged into master must follow the Conventional Commits specification, as this is crucial for the automated release process.

Releasing a New Version

This repository uses release-please to automate package and documentation publishing.

  1. Use Conventional Commits: When you merge a pull request, ensure your commit messages have a specific prefix. The most common are:

    • fix: for bug fixes (triggers a patch release, e.g., 1.2.3 → 1.2.4).
    • feat: for new features (triggers a minor release, e.g., 1.2.3 → 1.3.0).
    • Add a ! after the type for breaking changes (e.g., feat!: ...) to trigger a major release (e.g., 1.2.3 → 2.0.0).
  2. Automatic Release PR: After a valid commit is merged into master, the release-please workflow runs. It automatically creates or updates a special "Release PR". This PR contains the new version number and an updated CHANGELOG.md.

  3. Create the Release: To publish a new version, simply merge the Release PR. Merging this PR will:

    • Create a new GitHub Release with a git tag.
    • Trigger the workflow to publish the package to PyPI.
    • Trigger the workflow to deploy the latest documentation to GitHub Pages.

Documentation

Documentation is published to GitHub pages at https://dynamic-energy-trading.github.io/detdevlib/.

The source code for the site is on the gh-pages branch.

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

detdevlib-1.0.0.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

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

detdevlib-1.0.0-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file detdevlib-1.0.0.tar.gz.

File metadata

  • Download URL: detdevlib-1.0.0.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for detdevlib-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6a0a3e4497dc6886789e23e0fbf10725bb944b7c199aec674c9ace3c05016050
MD5 1a750a41f28943b68ea990c6e7906740
BLAKE2b-256 da2517059bb2692a53ccb74abbf40f458ac472619649c13bd272a70fb2460854

See more details on using hashes here.

File details

Details for the file detdevlib-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: detdevlib-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for detdevlib-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bbd8950eae146c7f3805bbbbfb880bbed83f5794f24735dde00b1ef8233d14f
MD5 76f3b917d6229c083e1feaa67052876f
BLAKE2b-256 a87765cda8a410bd88951f6cbcee4323cf81fc96b2cfe00cd91ba79737a4f6b1

See more details on using hashes here.

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