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, ACRIS. 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.10

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.10
File Size Uploaded Provenance Actions
ol_anura-2.8.21.10.tar.gz 283.5 kB Without provenance Details for ol_anura-2.8.21.10.tar.gz

Built distribution (wheel)

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

Total release size: 853.3 kB

Release files / ol_anura-2.8.21.10.tar.gz

Download URL ol_anura-2.8.21.10.tar.gz
Size 283.5 kB
Tags Source
SHA-256 checksum
How to use checksums
509710f253fdb966f4e16091b5ffa430ccb8c523a3cf30be0a9a350af6b0b12d
BLAKE2b-256 checksum
How to use checksums
490bc689d31da0a391841d8ff346e6aed04a5454b249ada22e12b9d87d27f0c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / ol_anura-2.8.21.10-py3-none-any.whl

Download URL ol_anura-2.8.21.10-py3-none-any.whl
Size 569.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13c139c50c3e104c3944e7d916e52c1d3dfdac8ef13a5fde538de7429b6dd673
BLAKE2b-256 checksum
How to use checksums
b9831e5deb28a591852533a75fb225d543b276846f6a989aaecfec70c676766c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for ol-anura 2.8.21.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.8.21.10 This release

2 release files No provenance

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