Skip to main content

Associative memory and categories based on a directed acyclic graph data structure

Project description

OntoDAG

tests PyPI license

Associative memory and categories based on a directed acyclic graph data structure

Documentation

  • User Guide — installation, tutorial, Python API, command line, web app/REST, file formats, troubleshooting. Start here.
  • How It Works Inside — the design in plain language (canonical form, query planning, content-addressed persistence).
  • Roadmap — delivered, queued, parked, and research horizon.
  • docs/SWARM_DESIGN.md, docs/SEMANTIC_CODES.md — engineering design documents.

See also ontodag-fs: any OntoDAG store can be browsed as a filesystem — paths are category queries, files are classified objects stored on Swarm, FUSE-mountable (odag-fs, which shares odag's store settings).

Specification

A Directed Acyclic Graph (DAG) associative storage and category manager in Python. You can store items into a ontodag and recall items from it. To store or "put" an item into a ontodag, you give it a name and a set of other names of already existing items that are its supercategories. To recall or "get", you specify a set of item names to get all items that are subcategories of all these items.

Categories can also carry typed values: declare weight as a dimension and weight(3kg) becomes an ordinary category whose ordering OntoDAG computes — odag get 'weight(..5kg)' finds the 3 kg parcel with no edge ever stored between them, at any threshold, with exact integer arithmetic. Ranges (1kg..5kg), timestamps and date ranges, hierarchical codes like geohash cells, and does-it-fit size tuples all work the same way. See User Guide §4.7 and the design record docs/DIMENSIONS.md.

Roadmap

The roadmap — what is done, what is queued next, what is parked and why — is in docs/ROADMAP.md. Longer-term goals for the database direction (and the features deliberately not built yet) are in docs/DATABASE_DIRECTION.md; the day-to-day task list is in CLAUDE.md.

Potential Applications

  • Using the ontology graph for content categorization instead of folders
  • Replace content tags with a more structured ontology
  • Access control (ACT) groups
  • Memberships in organizations and gate content based on membership
  • Communication channel groups defined by the ontology
  • Fostering deals within a universal marketplace for services and goods

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

ontodag-0.5.0.tar.gz (77.7 kB view details)

Uploaded Source

Built Distribution

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

ontodag-0.5.0-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

Details for the file ontodag-0.5.0.tar.gz.

File metadata

  • Download URL: ontodag-0.5.0.tar.gz
  • Upload date:
  • Size: 77.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ontodag-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3ee038b0ff5a0d0ec687318daa68f4eacec963cf53ba5dd63107ea5b5bd71c93
MD5 eb3ff6e262b593c934394bedbea4c5cb
BLAKE2b-256 5c8453d0e329618ac53bbb569564cdc88b0fd127e984dbc7ef571b52efa50ae8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ontodag-0.5.0.tar.gz:

Publisher: publish.yml on petfold/ontodag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ontodag-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: ontodag-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 44.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ontodag-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f08e4d19683de7baab4daeb0d32c5f26d0a844fe9445dd33ea99cb0b87b51201
MD5 c456c9eb4747179d36cb6c5400bcc2d0
BLAKE2b-256 850b8d88c3f3a58a3ad567596a441904ae781807158a05bddeac9d39a602a950

See more details on using hashes here.

Provenance

The following attestation bundles were made for ontodag-0.5.0-py3-none-any.whl:

Publisher: publish.yml on petfold/ontodag

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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