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.0.tar.gz (87.2 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.0-py3-none-any.whl (96.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daitum_model-1.0.0.tar.gz
  • Upload date:
  • Size: 87.2 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.0.tar.gz
Algorithm Hash digest
SHA256 8de3d6194238caa2f1959c1d921715bee9b895ef1e712f3da17ccf4b20ca11b4
MD5 8552d8ec9f6268c521da565e42d88087
BLAKE2b-256 8ce32e5b663db32f20f3375ee62888453673829fc7c8fb09f0f2f19620ae3f68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daitum_model-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 96.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e97ce9e8d96a63ae246fb33fae9726ab23db93bb4f61e32f80763a951c05d326
MD5 4cd1bad4897463ddba9410961cf5eab3
BLAKE2b-256 a797b137ffc5c48d4031b297d4dad2389b12b54c09581d4c77361933b7b47114

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