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.1.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.1-py3-none-any.whl (93.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: daitum_model-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 fe678c2eae69652d41411fb616027870ab9f57ef8f1dc080fea13e5ba8d81834
MD5 0369e03c40609cc1f3742382b7f085e5
BLAKE2b-256 e92b9c7262be284972d663b6c1b4b93702d9a6f583b9e88758eb546ad62d3e99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: daitum_model-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 93.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 695b91960287dcb2532d1c0f8e7c2bf5adac8ed1b1e23f5d0fe67a23f099c95f
MD5 15aba1c400043e4fb96687c4724248af
BLAKE2b-256 18c0588d2e10ea0b13778c0cc8f7e508350e842a2bc7a9788d3deed9a9c18c19

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