Skip to main content

ol-anura

The supply chain optimization data model for Optilogic's CosmicFrog platform — table and column definitions, data types, validation rules, and per-technology support matrices, exposed through a typed, read-only Python API.

  • Distribution name: ol-anura (PyPI) — import name: ol_anura
  • Python 3.11+ · single runtime dependency (pydantic>=2) · fully typed (py.typed) · MIT license

Install

pip install ol-anura

Quickstart

The public entry point is the AnuraSchema facade. All methods are static — do not instantiate it. Results are cached, so repeated calls are fast.

from ol_anura import AnuraSchema

# Discover tables
all_tables = AnuraSchema.get_all_table_names()
input_tables = AnuraSchema.get_input_table_names()
output_tables = AnuraSchema.get_output_table_names()

# Inspect a table
columns = AnuraSchema.get_columns("Facilities")
primary_keys = AnuraSchema.get_primary_keys("Facilities")
metadata = AnuraSchema.get_table_metadata("Facilities")

# Filter by technology support
neo_tables = AnuraSchema.get_fully_supported_tables("neo")
supported = AnuraSchema.get_supported_tables("neo", include_in_development=True)

# Full engine-facing schema views
engine_schema = AnuraSchema.get_engine_schema("neo")
engine_dict = AnuraSchema.export_engine_schema_to_dict("neo")

# Relationships and validations
master_tables = AnuraSchema.get_master_tables("CustomerDemand", "CustomerName")
validations = AnuraSchema.get_table_validations("Facilities")

Table and column names are case-insensitive in most methods.

Concepts

Tables and columns are Pydantic models (ol_anura.core.Table / ol_anura.core.Column). The canonical instances returned by the API are shared — treat them as read-only.

Technologies are the optimization engines that may consume a table: NEO, THROG, TRIAD, HOPPER, DART, DENDRO, CYCLO. Support is declared per column at one of three levels (unsupported, in-development, fully-supported) and rolled up to the table level automatically.

Released vs. in-development: every table and column carries a released flag. Query functions default to released content; pass the released parameter where available to include in-development definitions.

from ol_anura import Technology, TechnologySupport, DataType, Category
from ol_anura.core import Table, Column, TableName

Advanced usage

AnuraSchema is a facade over the underlying query modules; new code can also import ol_anura.query functions directly. A set of deprecated compatibility methods (e.g. get_schema_dict) exists for consumers migrating from the legacy internal anura package — avoid them in new code.

Support

Maintained by Optilogic. Issues and questions: contact your Optilogic representative or visit optilogic.com.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ol_anura-2.8.20.tar.gz (269.1 kB view details)

Uploaded Source

Built Distribution

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

ol_anura-2.8.20-py3-none-any.whl (549.4 kB view details)

Uploaded Python 3

File details

Details for the file ol_anura-2.8.20.tar.gz.

File metadata

  • Download URL: ol_anura-2.8.20.tar.gz
  • Upload date:
  • Size: 269.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for ol_anura-2.8.20.tar.gz
Algorithm Hash digest
SHA256 9d65f25587cb1bfc9cc9a7f5606c3f4a863b7e77c7b2740b312f1ef2376a3f76
MD5 2d6018e9fb3db404f5d93191807e7179
BLAKE2b-256 e2d0b007b054799913da176099e2cc809fdb58331930b720765c91f7a6ca17d1

See more details on using hashes here.

File details

Details for the file ol_anura-2.8.20-py3-none-any.whl.

File metadata

  • Download URL: ol_anura-2.8.20-py3-none-any.whl
  • Upload date:
  • Size: 549.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for ol_anura-2.8.20-py3-none-any.whl
Algorithm Hash digest
SHA256 8b70632d9203b2bc782b11dc4c6e264854b0f4d7e5ae1b0f59daa6ff6ccc70dc
MD5 1f073435efafe75d63fa8694dc1a924d
BLAKE2b-256 8285feed4f1ebf69318abba89135498728ec7a3db062ce4c1f25a3118b79f05f

See more details on using hashes here.

Release history Release notifications | RSS feed

2.9.0.1

2 files

2.9.0

2 files

2.9.0.dev2

2 files

2.9.0.dev1

2 files

2.8.20.11

2 files

2.8.20.10

2 files

2.8.20.9

2 files

2.8.20.8

2 files

2.8.20.7

2 files

2.8.20.6

2 files

2.8.20.5

2 files

2.8.20.4

2 files

2.8.20.2

2 files

2.8.20.1

2 files

This release

2.8.20 This release

2 files

1.2.4

2 files

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

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