Skip to main content

dkist-processing-math

codecov

dkist-processing-math contains the math functions used throughout the DKIST data processing software stack.

Development

git clone git@bitbucket.org:dkistdc/dkist-processing-visp.git
cd dkist-processing-visp
pre-commit install
pip install -e .[test]
pytest -v --cov dkist_processing_visp

Changelog

When you make any change to this repository it MUST be accompanied by a changelog file. The changelog for this repository uses the towncrier package. Entries in the changelog for the next release are added as individual files (one per change) to the changelog/ directory.

Writing a Changelog Entry

A changelog entry accompanying a change should be added to the changelog/ directory. The name of a file in this directory follows a specific template:

<PULL REQUEST NUMBER>.<TYPE>[.<COUNTER>].rst

The fields have the following meanings:

  • <PULL REQUEST NUMBER>: This is the number of the pull request, so people can jump from the changelog entry to the diff on BitBucket.

  • <TYPE>: This is the type of the change and must be one of the values described below.

  • <COUNTER>: This is an optional field, if you make more than one change of the same type you can append a counter to the subsequent changes, i.e. 100.bugfix.rst and 100.bugfix.1.rst for two bugfix changes in the same PR.

The list of possible types is defined the the towncrier section of pyproject.toml, the types are:

  • feature: This change is a new code feature.

  • bugfix: This is a change which fixes a bug.

  • doc: A documentation change.

  • removal: A deprecation or removal of public API.

  • misc: Any small change which doesn’t fit anywhere else, such as a change to the package infrastructure.

Rendering the Changelog at Release Time

When you are about to tag a release first you must run towncrier to render the changelog. The steps for this are as follows:

  • Run towncrier build –version vx.y.z using the version number you want to tag.

  • Agree to have towncrier remove the fragments.

  • Add and commit your changes.

  • Tag the release.

NOTE: If you forget to add a Changelog entry to a tagged release (either manually or automatically with towncrier) then the Bitbucket pipeline will fail. To be able to use the same tag you must delete it locally and on the remote branch:

# First, actually update the CHANGELOG and commit the update
git commit

# Delete tags
git tag -d vWHATEVER.THE.VERSION
git push --delete origin vWHATEVER.THE.VERSION

# Re-tag with the same version
git tag vWHATEVER.THE.VERSION
git push --tags origin main

Metadata

Release files for dkist-processing-math 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dkist-processing-math 3.0.0
File Size Uploaded
dkist_processing_math-3.0.0.tar.gz 28.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dkist-processing-math 3.0.0
File Interpreter ABI Platform
dkist_processing_math-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.0 kB

Release files / dkist_processing_math-3.0.0.tar.gz

Download URL dkist_processing_math-3.0.0.tar.gz
Size 28.5 kB
Tags Source
SHA-256 checksum
How to use checksums
754a9dd7e3e45984ff0fd4f918966564598f9e8c08b47659a78d3a5e94735dd0
BLAKE2b-256 checksum
How to use checksums
1bd66a1bb5de0013e380975584a4e50a8130e280a36e902976c91246c3bea146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / dkist_processing_math-3.0.0-py3-none-any.whl

Download URL dkist_processing_math-3.0.0-py3-none-any.whl
Size 29.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56f29ccfea0663dc431881d04a1f0b0e059800be6389e8f2caa92d9c817d0ebf
BLAKE2b-256 checksum
How to use checksums
132ffe7bdc42d7889b71eea1593927edec2df4efd8c17600702e3cdcff239633
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page