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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ol_anura-2.8.20.9a1.tar.gz.
File metadata
- Download URL: ol_anura-2.8.20.9a1.tar.gz
- Upload date:
- Size: 269.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2dd315537acba2ab59a4eeb259e1594e5acb2fa92a397a544fa2b54ff7d0bb8
|
|
| MD5 |
5027eea4928a50460021284e7b477422
|
|
| BLAKE2b-256 |
e9b8ecee530fde2b0ce3def791c279ecdf4aab7982fa3879003cceb93287380a
|
File details
Details for the file ol_anura-2.8.20.9a1-py3-none-any.whl.
File metadata
- Download URL: ol_anura-2.8.20.9a1-py3-none-any.whl
- Upload date:
- Size: 549.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fdb345f5a3d84415be1e71904025f9feb79e9e17090fb253e565d6b91b2c270
|
|
| MD5 |
ad786d0f3a313dff6e89ae7ccd01fb4d
|
|
| BLAKE2b-256 |
485581bffbf368af61d39ef3b1112421d2e7ff477d55f7ba61f829d67330763f
|