Skip to main content

Multi Calibrate

A multi-purpose calibration tool.

Get Started

pip install m-calibrate

mcal run <my_config.yml>

Local setup

conda create --name mcal python
conda activate mcal
# Editable install
python -m pip install -e .
# Dev dependencies
python -m pip install -e '.[dev]'
# Docs dependencies
python -m pip install -e '.[docs]'
# All dependencies
pip install -e '.[all]'

Running tests

python -m pytest --cov mcal
python -m pytest --cov mcal --slow # With slow tests

# Run full test suite across all versions
# Note: Tox will run slow tests
tox
tox -m single_version

Dev Kubernetes

Install the following:

  • Kind
  • Kubectl
  • Helm

Setup cluster

# Create kind cluster
mcal dev cluster create
# Configure KUBECONFIG to use created cluster
$(mcal dev cluster setup)

Apply needed configurations

mcal dev cluster apply MetricsServer
mcal dev cluster apply NRI
mcal dev cluster apply DaskOperator

Delete cluster after finished

mcal dev cluster delete-all

Releasing

Update the version in pyproject.toml

version='X.Y.Z'

Create a git tag and push

git tag vX.Y.Z
git push --tags

Then create a release via github.

If you mess up and need to edit things

Remove old tag and re-tag

git tag -d vX.Y.Z
git tag vX.Y.Z

git push -f --tags

Delete previous github release and re-create.

TODO:

  • Pixie?
  • Prometheus

Release files for m-calibrate 0.0.3

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

Source distribution (sdist)

Source distribution for m-calibrate 0.0.3
File Size Uploaded
m_calibrate-0.0.3.tar.gz 48.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for m-calibrate 0.0.3
File Interpreter ABI Platform
m_calibrate-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 111.3 kB

Release files / m_calibrate-0.0.3.tar.gz

Download URL m_calibrate-0.0.3.tar.gz
Size 48.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2000c0c0944d70e4baddde9c2c5b7a668cff0beb23443909b7d5f347e7a8efcd
BLAKE2b-256 checksum
How to use checksums
6f624aee41b4c3c20a4963be71db815e78290f3a0af0b43a7589a238f70f2c7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / m_calibrate-0.0.3-py3-none-any.whl

Download URL m_calibrate-0.0.3-py3-none-any.whl
Size 62.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11836d04c120eaa98522f4bf42f752def51af030a3e22ca1be18220b29be9a9d
BLAKE2b-256 checksum
How to use checksums
30479597ab872073fdba1283068d0fb15ef090104ed5aacd7aad863c7f378d24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

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