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.2.tar.gz (32.2 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.2-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for m_calibrate-0.0.2.tar.gz
Algorithm Hash digest
SHA256 839095e51270329d29e62b7bfc157464f63bd4585693927dcb9165bebe2ad7a3
MD5 b517e208b2fd234d47b8085261d27314
BLAKE2b-256 042901fcf81e263582250a468374efdac672355caeaaa52e5fbee455bd85c03d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for m_calibrate-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c9b2e7dd2581a8d5ee1323951ce68b4e014b80d4d2bc03ab33e7d464691293
MD5 7f21d4685c4d0d28979d2fdeb43b5d35
BLAKE2b-256 3bef04bd69424d52e22836c4e5ac812ce4671443bad7cb1fd05c690d4009287f

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