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.6.0.tar.gz (84.0 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.6.0-py3-none-any.whl (47.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ontodag-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c611db3717b2c3bf1587975ded479f00a80b12bce66525b3dc1091a22423d407
MD5 86d86a93c099754850f75068d99f6177
BLAKE2b-256 9138f7211431f02b1af9c45bc707c31f4737fb99d1923f8d70c66672fa06fc3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ontodag-0.6.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.6.0-py3-none-any.whl.

File metadata

  • Download URL: ontodag-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 47.4 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80e57180b924595364633526fbea99af98fe42c0f7f1acc26934f79dc76516a8
MD5 ef4d801fb79a9cc48b586191bd4378cf
BLAKE2b-256 e71a6e1ffbcc26556c5ef3da8aeabe1a9f48f9557e7bfcaf0a550bc860a73d72

See more details on using hashes here.

Provenance

The following attestation bundles were made for ontodag-0.6.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