Model and formula generation library for the Daitum platform
Project description
daitum-model
Model and formula generation library for the Daitum optimisation platform.
daitum-model provides a fluent builder API for defining optimisation models: tables, fields,
formulas, and formula functions. The model is serialised to JSON and packaged for upload to the
Daitum platform.
Installation
pip install daitum-model
Usage
from daitum_model import ModelBuilder, DataType
from daitum_model import formulas
model = ModelBuilder()
table = model.add_table("locations")
table.add_data_field("id", DataType.INTEGER)
table.add_data_field("name", DataType.STRING)
Documentation
Full documentation is available at daitum-core.readthedocs.io.
Changelog
See CHANGELOG.md for version history.
Licence
Apache 2.0 — see LICENSE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file daitum_model-0.1.1.tar.gz.
File metadata
- Download URL: daitum_model-0.1.1.tar.gz
- Upload date:
- Size: 79.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e3c1780da5c68b28654ba3647660d3961be4e3b78b63d221e3f663ee9ee7c24
|
|
| MD5 |
f6608ddf7eca48ee80aedb26c20dc78f
|
|
| BLAKE2b-256 |
c4836014bc337c56ca6358b2717f420be6b27e6a7fafd4de216c230948be59c4
|
File details
Details for the file daitum_model-0.1.1-py3-none-any.whl.
File metadata
- Download URL: daitum_model-0.1.1-py3-none-any.whl
- Upload date:
- Size: 87.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68078bc1d7641c890b8af23716aae7558b01f8e71dde93518818793489dd6e1a
|
|
| MD5 |
484d017468eca15e6a698ad2e69c1c57
|
|
| BLAKE2b-256 |
64fa5947a4650032344c28e4b2dce746474cb8a5426e5c8ab28352fc5c5ae9a0
|