comokit4py
comokit4py is a Python3 library for easily explore COMOKIT models, and process outputted data, on your laptop or an HPC in a few Python lines.
Installation
Use the package manager pip to install comokit4py.
pip install comokit4py
Usage example
import comokit4py
# Prepare GAMA (COMOKIT base software)
gama = comokit4py.Gama("~/.local/share/GAMA_1.8.1_Linux/headless/gama-headless.sh")
# Prepare exploration
explo = comokit4py.GamaExploration(experimentName = "Headless",
gamlFile = "~/Documents/COMOKIT/Model/COMOKIT/Experiments/Physical Interventions/Significance of Wearing Masks.gaml",
replication = 2, final = 5)
explo.calculatesExperimentSpace()
# Setup the exploration's workspace
ws = comokit4py.Workspace(gama, explo, "./out", True)
# Launch exploration
ws.runGamaHeadless(log = True, cores = 4)
The full library documentation is here : https://comokit.github.io/comokit4py/
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Release files for comokit4py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| comokit4py-0.1.0.tar.gz | 21.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comokit4py-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.9 kB
Release files / comokit4py-0.1.0.tar.gz
| Download URL | comokit4py-0.1.0.tar.gz |
|---|---|
| Size | 21.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e712195ce9786a5ae972c83f1acd767932427bebc74a0ddd728ee2bc29b6847
|
|
BLAKE2b-256 checksum How to use checksums |
39abb88faac45434dc6c8767fe341e5f1fe22d34a4d264f6121899bbaf35531b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
|
Release files / comokit4py-0.1.0-py3-none-any.whl
| Download URL | comokit4py-0.1.0-py3-none-any.whl |
|---|---|
| Size | 28.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbb34174e15229b7de89c2d32bcce45cc32283b8a7152780d03f160e1df1180a
|
|
BLAKE2b-256 checksum How to use checksums |
63ec6de3d6aba8c458dbd2a7ad205de8c4d0a2b713810d53dc7ae7497ecdfcfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
|