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.2.0.tar.gz (21.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-1.2.0-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for detdevlib-1.2.0.tar.gz
Algorithm Hash digest
SHA256 81396bf18640720b27541916cad29cc5940b8cf853f10841348463f0e56bad35
MD5 943c6a6cc0565596b3daa178723fbd47
BLAKE2b-256 71e4e4bbc7c799ebd0e8f9ba4acd866f3ee4c7e6e912043a79c21628c558ee78

See more details on using hashes here.

File details

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

File metadata

  • Download URL: detdevlib-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.4 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4ff1e265078e79f688dbfde0f51a26d9388cd30d0b01c64e0f64651e11a205e
MD5 37d71cc452d434827d65eaae4c32d940
BLAKE2b-256 c6bf24acddfe60748cc464338144906818c555bbf97235e73d36cfc290933748

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