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

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-2.0.0.tar.gz (145.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-2.0.0-py3-none-any.whl (135.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for daitum_model-2.0.0.tar.gz
Algorithm Hash digest
SHA256 288e76fdb92a9ec2e04e08d3cd64aea27fbf81486bac9aefffca6df975268059
MD5 5279468dde42d4a9c89fd06221f4e502
BLAKE2b-256 999f63d6d7737a3c3c3071123ff80fd2b2b132e0a34d8c30f43b8c8a4c3b9c16

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for daitum_model-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6acdd6f1c871f56ca7c5e968cd9d84fd1bc7c5df22f3e0c21ecd990c052c028a
MD5 245b4cc471cadc7af5cd8240b54488d6
BLAKE2b-256 63718084e874500b4f08773edffa7095167933fb0eec758e68ef952f626455c2

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