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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| m_calibrate-0.0.3.tar.gz | 48.4 kB | Without provenance | Details for m_calibrate-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| m_calibrate-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for m_calibrate-0.0.3-py3-none-any.whl |
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
|
Security for m-calibrate 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.