Model Runner
Runner used to run real-time models for the CrunchDAO competitions.
Installation
[!NOTE] Python 3.11 or later is required.
pip install crunch-model-runner
Usage
Once installed, you can run the runner using:
model-runner --code-directory tests/models_examples/bill
[!NOTE] Replace
--code-directorywith the path to the directory containing the code.
Options
| Declaration | Description |
|---|---|
--code-directory <path> |
The directory path is where the code is located. This directory must exist. |
--resource-directory <path> |
The directory path to where the resources are located. The directory will be created if it does not exist. |
--main-file <name> |
The file to use as the entry point to the model. It must be exists in the code directory. |
--log-level <level> |
The logging level, must be one of: "debug", "info", "warning", "error", "critical", default to "info". |
Contribute
Instructions on how to prepare your development environment are available at CONTRIBUTE.md.
Metadata
Release files for crunch-model-runner 0.4.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 | |
|---|---|---|---|
| crunch_model_runner-0.4.2.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crunch_model_runner-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.1 kB
Release files / crunch_model_runner-0.4.2.tar.gz
| Download URL | crunch_model_runner-0.4.2.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a611ddaac1a8fa702e44252ac35d925f5401d2111875dfa41d319975b902b442
|
|
BLAKE2b-256 checksum How to use checksums |
924f83f8bcee31de443f283206a566748cd7b0d56e9715b9f4d09a50c05b2170
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / crunch_model_runner-0.4.2-py3-none-any.whl
| Download URL | crunch_model_runner-0.4.2-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c55c6afce9901efcaec81e3a49e596f986300a7f39b5c28aef04e28d89b27b52
|
|
BLAKE2b-256 checksum How to use checksums |
3a5c91005b3b1367ffdef4303f45dfacb391dbb6c0b1ffc56df35aa7f639976f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|