Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for ol-anura 2.8.21.6.dev1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ol-anura 2.8.21.6.dev1
File Size Uploaded
ol_anura-2.8.21.6.dev1.tar.gz 279.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ol-anura 2.8.21.6.dev1
File Interpreter ABI Platform
ol_anura-2.8.21.6.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 841.7 kB

Release files / ol_anura-2.8.21.6.dev1.tar.gz

Download URL ol_anura-2.8.21.6.dev1.tar.gz
Size 279.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ae0b5fbce5838ede84a3aa5beb8b3bfc2ce3af2f9f33c5db0822ec19ab7a8287
BLAKE2b-256 checksum
How to use checksums
a4f6f74bd3f8887f792fbac516fd04ec0e45f6c102448c8d73fa4f2fb3c82fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release files / ol_anura-2.8.21.6.dev1-py3-none-any.whl

Download URL ol_anura-2.8.21.6.dev1-py3-none-any.whl
Size 562.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3961e6d5c57db2856173f9f3a9f7ef3e69f67a99dbf9a1bbcd5dca174bd8e1f1
BLAKE2b-256 checksum
How to use checksums
f1d2b29b55a0930150b83483107e52ba4aeffc5eeaffada9c3620b5997fe5777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Release history Release notifications | RSS feed

2.9.0

2 release files

This release

2.8.21.6.dev1 This release

2 release files

2.8.21

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release 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