Skip to main content

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

daitum_model-1.0.2.tar.gz (82.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

daitum_model-1.0.2-py3-none-any.whl (92.9 kB view details)

Uploaded Python 3

File details

Details for the file daitum_model-1.0.2.tar.gz.

File metadata

  • Download URL: daitum_model-1.0.2.tar.gz
  • Upload date:
  • Size: 82.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for daitum_model-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e35fb34ba99ad563220445fe2d949ffbe81a137d22b7c266a0c57faa080278cc
MD5 d03d2735e3c9df43466a504dcbae980b
BLAKE2b-256 bc4927de381b9cd7b09687ba47f28974008ebc16ed044025777238b59de81562

See more details on using hashes here.

File details

Details for the file daitum_model-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: daitum_model-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 92.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for daitum_model-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fdf1709751b5b9e406cc3b65913d3667b1476bd00230ed7897f0006e0f8bb770
MD5 57377b3415c08a5b5d37fa0942806e80
BLAKE2b-256 a9afdaeca5c5ce23c4adbbf3bb774f5c2009a56a73964045c6485c57a448085a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page