Skip to main content

Headless core logic for the RIME multimodal annotation platform

Project description

neurocog-rime-core

neurocog-rime-core is the headless domain layer for RIME. It provides session models, protocol schemas, annotation storage, rule evaluation, signal loading, ELAN import, export utilities, IRR/coverage/evaluation metrics, and CMF-based model inference helpers.

Install

pip install neurocog-rime-core

For local development:

pip install -e packages/rime-core

Optional extras:

pip install -e "packages/rime-core[onnx,video]"

Quick Start

from pathlib import Path

from rime_core.annotation import AnnotationStore
from rime_core.schema import ProtocolSchema
from rime_core.sessions import VideoConfig, create_session
from rime_core.workspace import WorkingContext

session = create_session(
    session_dir=Path("example-session"),
    name="Example Session",
    videos=[VideoConfig(path="video.mp4", role="primary")],
)

context = WorkingContext.open(session.session_dir)
schema = ProtocolSchema.default()
store = AnnotationStore()

print(session.name)
print(context.session.session_dir)
print(schema.get_lane_names()[:3])
print(len(store.all()))

Main Modules

  • rime_core.annotation: annotations, review, and rule helpers
  • rime_core.analysis: coverage, IRR, and model-evaluation utilities
  • rime_core.io: import/export and signal-loading helpers
  • rime_core.modeling: CMF package loading and inference
  • rime_core.sessions: session dataclasses and persistence
  • rime_core.workspace: live session orchestration

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

neurocog_rime_core-0.1.0.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

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

neurocog_rime_core-0.1.0-py3-none-any.whl (58.3 kB view details)

Uploaded Python 3

File details

Details for the file neurocog_rime_core-0.1.0.tar.gz.

File metadata

  • Download URL: neurocog_rime_core-0.1.0.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for neurocog_rime_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 33396faa142ce4200df120149511e6926d1d9ff620ec8a95b2f44a2880b5c038
MD5 67148cb68ba42a52012e0e5421bc3b09
BLAKE2b-256 2b41a1b0ac8f0656b39e3b80cee68896af9c490cea75a441d42e2bbba1e75244

See more details on using hashes here.

File details

Details for the file neurocog_rime_core-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for neurocog_rime_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50f64ed96a5c3f8fc2f3ca4ba9c1114fc0bcdfb88bf7f58b10826747ab7a4dc7
MD5 d6c3afaa9796ef8dc58cbf0935e10a05
BLAKE2b-256 83633a951cd7bd17e1e262136dd744d3a30ac5bd82eb1495cb9479fb08560f3a

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