{"_id":"@0xsarwagya/ontoly-python","_rev":"6-76952fc03a5c2e1371913b1f4b893fda","name":"@0xsarwagya/ontoly-python","dist-tags":{"rc":"1.3.0","latest":"1.3.3"},"versions":{"1.2.0":{"name":"@0xsarwagya/ontoly-python","version":"1.2.0","keywords":["ontoly","software-graph","python","static-analysis","developer-tools","semantic-model","tree-sitter"],"license":"AGPL-3.0-only","_id":"@0xsarwagya/ontoly-python@1.2.0","maintainers":[{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"}],"homepage":"https://ontoly.xyz","bugs":{"url":"https://github.com/0xsarwagya/ontoly/issues"},"dist":{"shasum":"7094398cc4432de738afb3de7ef4ac193fc68298","tarball":"https://registry.npmjs.org/@0xsarwagya/ontoly-python/-/ontoly-python-1.2.0.tgz","fileCount":7,"integrity":"sha512-gkMfmzsrLmP50mU7qzjmnUJb78AP+yNYqMruJIZx5h7695U6toKBM0/L8ZD8bkOu3v+d4LTK3aaW50Oln9j78Q==","signatures":[{"sig":"MEUCIQCk9/VfVYtHbbQeQUS8Fp6vnpdpFZgKMBeLolUheW3cpwIgCk0EAkDEX+9ll6KSomumE1511A5ifB7P6ACMEs7UG3k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-python@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":105525},"main":"./dist/index.js","type":"module","_from":"file:0xsarwagya-ontoly-python-1.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0","pnpm":">=10.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/0xsarwagya","type":"github"},"scripts":{"test":"vitest run tests","build":"tsup && tsc -p tsconfig.build.json","check-types":"tsc --noEmit"},"_npmUser":{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"},"_resolved":"/tmp/6f8ad547e4d3eb9cf652fc7943be2095/0xsarwagya-ontoly-python-1.2.0.tgz","_integrity":"sha512-gkMfmzsrLmP50mU7qzjmnUJb78AP+yNYqMruJIZx5h7695U6toKBM0/L8ZD8bkOu3v+d4LTK3aaW50Oln9j78Q==","repository":{"url":"git+https://github.com/0xsarwagya/ontoly.git","type":"git","directory":"packages/python"},"_npmVersion":"10.9.8","description":"Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"tree-sitter":"^0.25.1","tree-sitter-python":"^0.25.0","@0xsarwagya/ontoly-core":"1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^3.0.0","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/ontoly-python_1.2.0_1785590729425_0.805320000968573","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@0xsarwagya/ontoly-python","version":"1.3.0","keywords":["ontoly","software-graph","python","static-analysis","developer-tools","semantic-model","tree-sitter"],"license":"AGPL-3.0-only","_id":"@0xsarwagya/ontoly-python@1.3.0","maintainers":[{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"}],"homepage":"https://ontoly.xyz","bugs":{"url":"https://github.com/0xsarwagya/ontoly/issues"},"dist":{"shasum":"746cf8782ae6e827644a387f3aa7df62eb99ffc1","tarball":"https://registry.npmjs.org/@0xsarwagya/ontoly-python/-/ontoly-python-1.3.0.tgz","fileCount":7,"integrity":"sha512-uxZ8C4kXLLKZdsvqv0hjH3xGJy1pzaA3DZaMlRcPDYHJrtoY/YAG+jDzsyqDIciAy2yzEqagJ1JtRn7fCwOqZg==","signatures":[{"sig":"MEQCIGB+aUAUZeMzj6lqK/K1kvWot9tyA+9DVNFdozTAUT3vAiBWpqVf/Cv5Fl7s83uesv06qjptgsLozCQLTO1pr1ZD9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-python@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":105525},"main":"./dist/index.js","type":"module","_from":"file:0xsarwagya-ontoly-python-1.3.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0","pnpm":">=10.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/0xsarwagya","type":"github"},"scripts":{"test":"vitest run tests","build":"tsup && tsc -p tsconfig.build.json","check-types":"tsc --noEmit"},"_npmUser":{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"},"_resolved":"/tmp/60806e40c941fb0f5be02338699e9618/0xsarwagya-ontoly-python-1.3.0.tgz","_integrity":"sha512-uxZ8C4kXLLKZdsvqv0hjH3xGJy1pzaA3DZaMlRcPDYHJrtoY/YAG+jDzsyqDIciAy2yzEqagJ1JtRn7fCwOqZg==","repository":{"url":"git+https://github.com/0xsarwagya/ontoly.git","type":"git","directory":"packages/python"},"_npmVersion":"10.9.8","description":"Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"tree-sitter":"^0.25.1","tree-sitter-python":"^0.25.0","@0xsarwagya/ontoly-core":"1.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^3.0.0","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/ontoly-python_1.3.0_1785800281657_0.47825351295602014","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@0xsarwagya/ontoly-python","version":"1.3.1","keywords":["ontoly","software-graph","python","static-analysis","developer-tools","semantic-model","tree-sitter"],"license":"AGPL-3.0-only","_id":"@0xsarwagya/ontoly-python@1.3.1","maintainers":[{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"}],"homepage":"https://ontoly.xyz","bugs":{"url":"https://github.com/0xsarwagya/ontoly/issues"},"dist":{"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},"main":"./dist/index.js","type":"module","_from":"file:0xsarwagya-ontoly-python-1.3.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0","pnpm":">=10.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/0xsarwagya","type":"github"},"scripts":{"test":"vitest run tests","build":"tsup && tsc -p tsconfig.build.json","check-types":"tsc --noEmit"},"_npmUser":{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"},"_resolved":"/tmp/cc8611f72c700c9bebf0659269941a33/0xsarwagya-ontoly-python-1.3.1.tgz","_integrity":"sha512-SHSlyp4Ivj7F2bSPaJsjhDtKgJyvh52AUaSr/9BxL00He13quWQ0NLOO7O+eP/DZmE9esZp9BtlY/yRbtsPACQ==","repository":{"url":"git+https://github.com/0xsarwagya/ontoly.git","type":"git","directory":"packages/python"},"_npmVersion":"10.9.8","description":"Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"tree-sitter":"^0.25.1","tree-sitter-python":"^0.25.0","@0xsarwagya/ontoly-core":"1.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^3.0.0","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/ontoly-python_1.3.1_1785844182241_0.048215209584606455","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@0xsarwagya/ontoly-python","version":"1.3.2","keywords":["ontoly","software-graph","python","static-analysis","developer-tools","semantic-model","tree-sitter"],"license":"AGPL-3.0-only","_id":"@0xsarwagya/ontoly-python@1.3.2","maintainers":[{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"}],"homepage":"https://ontoly.xyz","bugs":{"url":"https://github.com/0xsarwagya/ontoly/issues"},"dist":{"shasum":"8905dc322ed7bcf2b2b3a85858a3ff3bf628502a","tarball":"https://registry.npmjs.org/@0xsarwagya/ontoly-python/-/ontoly-python-1.3.2.tgz","fileCount":7,"integrity":"sha512-rRGP7+K9BX1igbCkGkuSzR71GxkyfkP+z+MWUxjWoa16JN5DsfZcjHveXY2oc+hwzosYEXLb9Z2YoO8O84puog==","signatures":[{"sig":"MEUCIQD/GS7s/vTawppiuhrlWrcNnfYEyt5+fBcNO1WLym7IeAIgTFPU/mfHr/GRCpLXfPLB9TILYH3vPvQvkuJOV2cdv68=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-python@1.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":105525},"main":"./dist/index.js","type":"module","_from":"file:0xsarwagya-ontoly-python-1.3.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0","pnpm":">=10.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/sponsors/0xsarwagya","type":"github"},"scripts":{"test":"vitest run tests","build":"tsup && tsc -p tsconfig.build.json","check-types":"tsc --noEmit"},"_npmUser":{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"},"_resolved":"/tmp/8859459750c415ebef39512d857ab715/0xsarwagya-ontoly-python-1.3.2.tgz","_integrity":"sha512-rRGP7+K9BX1igbCkGkuSzR71GxkyfkP+z+MWUxjWoa16JN5DsfZcjHveXY2oc+hwzosYEXLb9Z2YoO8O84puog==","repository":{"url":"git+https://github.com/0xsarwagya/ontoly.git","type":"git","directory":"packages/python"},"_npmVersion":"10.9.8","description":"Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"tree-sitter":"^0.25.1","tree-sitter-python":"^0.25.0","@0xsarwagya/ontoly-core":"1.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^3.0.0","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/ontoly-python_1.3.2_1785844756894_0.7779502124097393","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@0xsarwagya/ontoly-python","version":"1.3.3","description":"Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.","type":"module","license":"AGPL-3.0-only","repository":{"type":"git","url":"git+https://github.com/0xsarwagya/ontoly.git","directory":"packages/python"},"homepage":"https://ontoly.xyz","sideEffects":false,"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"dependencies":{"tree-sitter":"^0.25.1","tree-sitter-python":"^0.25.0","@0xsarwagya/ontoly-core":"1.3.3"},"publishConfig":{"access":"public"},"devDependencies":{"@types/node":"^22.15.3","tsup":"^8.3.5","vitest":"^3.0.0"},"bugs":{"url":"https://github.com/0xsarwagya/ontoly/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/0xsarwagya"},"engines":{"node":">=20.0.0","pnpm":">=10.0.0"},"main":"./dist/index.js","types":"./dist/index.d.ts","keywords":["ontoly","software-graph","python","static-analysis","developer-tools","semantic-model","tree-sitter"],"scripts":{"build":"tsup && tsc -p tsconfig.build.json","check-types":"tsc --noEmit","test":"vitest run tests"},"_id":"@0xsarwagya/ontoly-python@1.3.3","_integrity":"sha512-yqoCbA4wKX2QqJszhoeVWSc0o/DYEoQ43i4d8mKWAsOzPSzHDefnAzjAkbQFJF7sGj1TtkDWvYsBQxA/DTs9Bg==","_resolved":"/tmp/11898bb3f2c860669f9a6a12a21bb7af/0xsarwagya-ontoly-python-1.3.3.tgz","_from":"file:0xsarwagya-ontoly-python-1.3.3.tgz","_nodeVersion":"22.23.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-yqoCbA4wKX2QqJszhoeVWSc0o/DYEoQ43i4d8mKWAsOzPSzHDefnAzjAkbQFJF7sGj1TtkDWvYsBQxA/DTs9Bg==","shasum":"3dcd508055e1edcdc7ff594ca4437a23bf0c346b","tarball":"https://registry.npmjs.org/@0xsarwagya/ontoly-python/-/ontoly-python-1.3.3.tgz","fileCount":7,"unpackedSize":105525,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0xsarwagya%2fontoly-python@1.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAkj5X6UUW3GAAujnVLfH4oRE++pU66l+unEyOlHw5X5AiAQ834Ro8tHMdns8SCuDO5L8kkAUFkcfOAPNM0OFhYfYg=="}]},"_npmUser":{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"},"directories":{},"maintainers":[{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ontoly-python_1.3.3_1785852911212_0.18002994845497633"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-01T13:25:29.240Z","modified":"2026-08-04T14:15:11.652Z","1.2.0":"2026-08-01T13:25:29.560Z","1.3.0":"2026-08-03T23:38:01.815Z","1.3.1":"2026-08-04T11:49:42.380Z","1.3.2":"2026-08-04T11:59:17.032Z","1.3.3":"2026-08-04T14:15:11.340Z"},"bugs":{"url":"https://github.com/0xsarwagya/ontoly/issues"},"license":"AGPL-3.0-only","homepage":"https://ontoly.xyz","keywords":["ontoly","software-graph","python","static-analysis","developer-tools","semantic-model","tree-sitter"],"repository":{"type":"git","url":"git+https://github.com/0xsarwagya/ontoly.git","directory":"packages/python"},"description":"Pure Python semantic model analyzer for Ontoly, powered by tree-sitter.","maintainers":[{"name":"0xsarwagya","email":"sarwagyasingh69@gmail.com"}],"readme":"# @0xsarwagya/ontoly-python\n\n## Responsibility\n\n`@0xsarwagya/ontoly-python` owns the pure Python Semantic Model analysis. It\nuses tree-sitter for zero-runtime-dependency parsing without owning graph\nconstruction, framework analyzer registration, CLI behavior, or MCP transport.\n\nSee the repository [architecture map](../../ARCHITECTURE.md) for package\nboundaries.\n\n## Installation\n\n```bash\npnpm add @0xsarwagya/ontoly-python\n```\n\n## API\n\n- `analyzePythonProject(options)` builds the pure Python Semantic Model.\n- `.py` file discovery and parsing.\n- Serializable class, function, method, import, decorator, call, variable,\n  and assignment facts.\n\n## Example\n\n```ts\nimport { analyzePythonProject } from \"@0xsarwagya/ontoly-python\";\n\nconst model = analyzePythonProject({ root: process.cwd(), files: [\"app.py\"] });\n```\n\n## Status\n\nStable v1.1.0 package. Public contracts are governed by the Software Graph specification and RFC process.\n\n## Links\n\n- [Repository](https://github.com/0xsarwagya/ontoly)\n- [Documentation](https://ontoly.xyz)\n- [Issues](https://github.com/0xsarwagya/ontoly/issues)\n","readmeFilename":"README.md"}