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-0.3.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

detdevlib-0.3.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for detdevlib-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ddf64e440a709774d288ead0cbc0f516cf67d4d677669ac63c51a353601a8385
MD5 5c72cd9dc6591471506232f5fd4b0de6
BLAKE2b-256 0085093889165093f4118c339d0dfab607ab910523773fcc091d1719dd507d9c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for detdevlib-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 affa4ca42db068b002737eaf8fb0442ac6010b57b109a1dbc79e66ccba9e2b2e
MD5 efe79e146f0dbcbc76132ae132727c05
BLAKE2b-256 4c1250e9b06e64f2d78ae4dc9d9160d985174f6cd5c3a92b9dec4ee7f83df9cd

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