Installation
Quick install
| pip install idmtools_calibra
|
Prerequisites
- Windows 10+ Pro/Enterprise, Linux, or macOS
- Python: Versions 3.10, 3.11, 3.12, 3.13, or 3.14 are supported.
Detailed installation
1. Create a virtual environment
2. Activate it
| pip install idmtools_calibra
|
Linux additional dependency
On Linux, also install the keyring backend:
4. Verify the installation
| import idmtools_calibra
print(idmtools_calibra.__version__)
|
Corporate or offline environments
If you are behind a corporate proxy or need to point pip at a custom index, create a pip configuration file:
Development install
For contributing to idmtools_calibra or running tests:
1. Clone the repository
| git clone https://github.com/InstituteforDiseaseModeling/idmtools_calibra.git
cd idmtools_calibra
|
2. Create and activate a virtual environment
| python -m venv v-calibra
# Windows:
v-calibra\Scripts\activate
# Linux/macOS:
source v-calibra/bin/activate
|
3. Bootstrap the dev environment
| python .dev_scripts/bootstrap.py
|
This installs all package dependencies and development tools.
Alternatively, install manually with test extras:
4. Run the tests
| cd tests
make test-all # run all tests
make test-unittests # fast unit tests only
|
5. Build documentation locally
| make docs # build
make docs-serve # build and serve at http://127.0.0.1:8000
|