Skip to content

API Reference

This page lists the supported public surface of the hypermesh package — everything exported from hypermesh.__all__. Each name is stable and covered by the public-API contract test; anything not listed here is internal and may change without notice.

NameKindSummary
connect(target)functionUnified factory — local path opens the embedded engine, an http(s) URL returns a remote Client.
ConnectionclassEmbedded temporal-hypergraph store on local disk.
ClientclassSynchronous remote client over REST.
AsyncClientclassAsynchronous remote client over REST.
DatabasetypeProtocol implemented by Connection / Client.
NameKindSummary
ConfigclassRuntime configuration object.
enable_debug_logging()functionTurn on verbose engine logging.
NameKindSummary
QueryResultclassIterable result set with column metadata and fetchmany(size).
RowclassPer-row access by column name or position.
QueryPlanclassStrategy, rows scanned/returned, predicates applied.
HyperMeshEncoderclassJSON encoder for results and engine value types.
scan_windows()functionBounded-memory iteration of a time range, one TPI window at a time.
scan_rows()functionFlatten scan_windows into a single Row stream.
NameKindSummary
ColumnDefclassTyped column definition for schema DDL.
CopyOptionsclassOptions for COPY FROM bulk loads.
LoaderclassProgrammatic streaming loader for large ingests.
NameKindSummary
ingest_csv()functionIngest a CSV file; auto-infers a mapping when no spec is given.
ingest_dataframe()functionIngest a pandas DataFrame.
ingest_from_uri()functionIngest from a file:// / rdbms:// source.
infer_spec(source)functionIntrospect a source and return a reviewable MappingSpec.
infer_hypergraph(source)functionOne-shot: infer the mapping, ingest, and return the result.
MappingSpecclassDeclarative source-to-hypergraph mapping.

See the Ingestion guide for end-to-end usage.

NameKindSummary
build_connector(config)functionConstruct a source connector from a config.
ConnectorConfigclassConnector configuration.
ConnectorBaseclassBase class for custom connectors.

See Connector Authoring to build your own.

NameKindSummary
AnalyticsclassFacade over the 25+ hypergraph measures.
HypergraphPyclassIn-memory sparse hypergraph snapshot.
build_hypergraph()functionMaterialise a HypergraphPy from a store/query.

See the Analytics Cookbook and Interoperability.

NameKindSummary
build_stix_bundle()functionEmit detections as a STIX 2.x bundle.
render_html_report()functionRender a self-contained HTML detection report.
NameKindSummary
HyperMeshErrorclassBase class for the unified exception taxonomy.

The hypermesh.exceptions submodule also exposes ConnectionError, QueryError, SchemaError, IngestError, AuthError, TimeoutError, and EngineNotInstalledError, all subclasses of HyperMeshError.

exceptions, types, analytics, interop, ingest, connectors, reports, config — plus the __version__ string.