Skip to main content

A multi-purpose calibration tool.

Project description

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

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

m_calibrate-0.0.3.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

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

m_calibrate-0.0.3-py3-none-any.whl (62.9 kB view details)

Uploaded Python 3

File details

Details for the file m_calibrate-0.0.3.tar.gz.

File metadata

  • Download URL: m_calibrate-0.0.3.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for m_calibrate-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2000c0c0944d70e4baddde9c2c5b7a668cff0beb23443909b7d5f347e7a8efcd
MD5 553a7f51b8d684b84bff832d3df4bbdb
BLAKE2b-256 6f624aee41b4c3c20a4963be71db815e78290f3a0af0b43a7589a238f70f2c7a

See more details on using hashes here.

File details

Details for the file m_calibrate-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: m_calibrate-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 62.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for m_calibrate-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 11836d04c120eaa98522f4bf42f752def51af030a3e22ca1be18220b29be9a9d
MD5 96831440cc80d842832e046a28e62201
BLAKE2b-256 30479597ab872073fdba1283068d0fb15ef090104ed5aacd7aad863c7f378d24

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