Skip to main content

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 docs.daitum.com.

Changelog

See CHANGELOG.md for version history.

Licence

Apache 2.0 — see LICENSE.

Metadata

Release files for daitum-model 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daitum-model 2.3.0
File Size Uploaded Provenance Actions
daitum_model-2.3.0.tar.gz 173.4 kB Without provenance Details for daitum_model-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for daitum-model 2.3.0
File Interpreter ABI Platform Actions
daitum_model-2.3.0-py3-none-any.whl Python 3 none any Details for daitum_model-2.3.0-py3-none-any.whl

Total release size: 343.0 kB

Release files / daitum_model-2.3.0.tar.gz

Download URL daitum_model-2.3.0.tar.gz
Size 173.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c1376acc7e046299d13ad435ff082f615b1878591686cfda49782c7ed6c1af1a
BLAKE2b-256 checksum
How to use checksums
e7d2b766293b8fc8b71a9196e0663d48d1e862e576d31b28260c97ba0b60fef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / daitum_model-2.3.0-py3-none-any.whl

Download URL daitum_model-2.3.0-py3-none-any.whl
Size 169.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8b76eaabf134289a9e6ce531a39285c372e2134ecf1c57177bf2eb309589462
BLAKE2b-256 checksum
How to use checksums
c597564dd2b29fb01c1251ccf208ec04da5ba273963b219b4e707786ae66a2fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for daitum-model 2.3.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page