heiplanet-models
Description
This repository consists of a collection of models that share the same infrastructure code, used for the heiplanet project.
Installation
For usage
It is strongly recommended to use a virtual environment to install packages into. This will keep the package self-contained without its dependencies polluting the system, e.g. with python venv:
python3 -m venv .venv # creates a venv name 'venv' in a hidden directory on unix
source ./.venv/bin/activate # activate the environment
Then, install the package from pypi:
pip install heiplanet-models
In order to be able to visualize the computational graphs of the models you use or build, you need to install the package with the viz option. This will install the graphviz python package which will take care of the visualization.
pip install .[viz]
Note that if you are using zsh (default on macos), you need to add quotes
pip install ".[viz]"
Graphviz itself has additional dependencies it needs to install. For more details, see here.
For development
Clone the repository
git clone https://github.com/ssciwr/onehealth-model-backend.git
Create some virtual environment as described above. Then, go to the base directory of the repository, and run
pip install -e .
or including the graphviz dependency:
pip install -e .[viz]
again, you need to take care of shell specifics, e.g. on zsh:
pip install -e ".[viz]"
Please note the remark on graphviz's dependencies above.
Troubleshooting
to be done.
Metadata
Release files for heiplanet-models 0.1.2
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 |
|---|---|---|---|---|
| heiplanet_models-0.1.2.tar.gz | 25.2 kB | Without provenance | Details for heiplanet_models-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| heiplanet_models-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for heiplanet_models-0.1.2-py3-none-any.whl |
Total release size: 38.2 kB
Release files / heiplanet_models-0.1.2.tar.gz
| Download URL | heiplanet_models-0.1.2.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05315bcc96f95decaaf7c097f552eaa4659d11f96ccb696f510c9a2fd752338c
|
|
BLAKE2b-256 checksum How to use checksums |
f99bc70e2c7eff7239c42431ab8f40284480458f7eaec3822facfcb5e434306f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / heiplanet_models-0.1.2-py3-none-any.whl
| Download URL | heiplanet_models-0.1.2-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97e8a63f64b52ca947e65e3308281249a6d8c3602c947f9a982a59fc5d1a05e5
|
|
BLAKE2b-256 checksum How to use checksums |
0b55bea8fa8d2c7b4954792767c0edbbb65e2177137a2921768131a3a5172be8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for heiplanet-models 0.1.2
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.