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.1.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.1-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: m_calibrate-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 de6eb404c8a6ee2c893100af2b5e2f40af548189bc870a9aea7d7691c5928458
MD5 f69d32a229e946f6d8f99d509e89a96a
BLAKE2b-256 a4d80bd3e13a9d906aaed96860e8d26ae935773f7d711ea2e04734b2399645f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: m_calibrate-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99310bd689c5d41f2dcaa9410c2746db20108ff0319036830d32cff986dd94b6
MD5 d18a934b4e9417c6fe66af9723d2524c
BLAKE2b-256 41ac5d91e6033920e05d390af1167d2c2f9e0fe46ed3a645947a95a64b5c53a5

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