Catalog npm
Back to packageRELEASE DETAILS

1.3.1

npm

@0xsarwagya/ontoly-python

Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.

developer-toolsontolypythonsemantic-modelsoftware-graphstatic-analysistree-sitter
Published4 Aug 2026
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

@0xsarwagya/ontoly-python

Responsibility

@0xsarwagya/ontoly-python owns the pure Python Semantic Model analysis. It uses tree-sitter for zero-runtime-dependency parsing without owning graph construction, framework analyzer registration, CLI behavior, or MCP transport.

See the repository architecture map for package boundaries.

Installation

pnpm add @0xsarwagya/ontoly-python

API

  • analyzePythonProject(options) builds the pure Python Semantic Model.
  • .py file discovery and parsing.
  • Serializable class, function, method, import, decorator, call, variable, and assignment facts.

Example

import { analyzePythonProject } from "@0xsarwagya/ontoly-python";

const model = analyzePythonProject({ root: process.cwd(), files: ["app.py"] });

Status

Stable v1.1.0 package. Public contracts are governed by the Software Graph specification and RFC process.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
tree-sitter
Environment
{
  "local_name": "tree-sitter",
  "alias": false,
  "peer_metadata": null
}
^0.25.1runtime
tree-sitter-python
Environment
{
  "local_name": "tree-sitter-python",
  "alias": false,
  "peer_metadata": null
}
^0.25.0runtime
@0xsarwagya/ontoly-core
Environment
{
  "local_name": "@0xsarwagya/ontoly-core",
  "alias": false,
  "peer_metadata": null
}
1.3.1runtime
tsup
Environment
{
  "local_name": "tsup",
  "alias": false,
  "peer_metadata": null
}
^8.3.5development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^3.0.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^22.15.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "c2572e5196e50c6f75155cb98c14a918aa8f6cf5",
  "tarball": "https://registry.npmjs.org/@0xsarwagya/ontoly-python/-/ontoly-python-1.3.1.tgz",
  "fileCount": 7,
  "integrity": "sha512-SHSlyp4Ivj7F2bSPaJsjhDtKgJyvh52AUaSr/9BxL00He13quWQ0NLOO7O+eP/DZmE9esZp9BtlY/yRbtsPACQ==",
  "signatures": [
    {
      "sig": "MEUCIQDO59vJoXf300GJwWGmVLKu6bkbiAAdSby3JjkKjsV8hQIgHlSHHXHK8XIIGUTUIVOu4rzW8rvcYU5rOyin9uPfC4E=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "attestations": {
    "url": "https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-python@1.3.1",
    "provenance": {
      "predicateType": "https://slsa.dev/provenance/v1"
    }
  },
  "unpackedSize": 105525
}

Repository

PENDING
0xsarwagya/ontoly

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:44 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:006dfd982c3e1943a66d566b0a804357c29ec479872009a3394fd08707aaf565

Other collected versions

1.3.57 Oct1.3.47 Oct1.3.34 Aug1.3.24 Aug1.3.03 Aug1.2.01 AugView all collected versions →