Skip to main content

Ontolocy

An open source cyber security graph ontology.

Use Python and Neo4j to explore cyber security data as a graph.

Currently in alpha/proof-of-concept stage - the ontology is likely to change (there may be breaking changes between minor releases).

"All models are wrong, but some are useful" - George Box

Read the docs

Built with Ontolocy

Quick Start

Install Ontolocy

pip install ontolocy

Setup Neo4j Connection Details

Put info in a local .env file.

# .env
NEO4J_URI=neo4j://localhost:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=Neo4jPassword

NEO4J_AUTH=neo4j/Neo4jPassword      # If running Neo4j with Docker

Import MITRE ATT&CK Data into Neo4j

ontolocy parse mitre-attack

Metadata

Release files for ontolocy 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ontolocy 0.9.3
File Size Uploaded Provenance Actions
ontolocy-0.9.3.tar.gz 46.6 kB With provenance Details for ontolocy-0.9.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ontolocy 0.9.3
File Interpreter ABI Platform Actions
ontolocy-0.9.3-py3-none-any.whl Python 3 none any Details for ontolocy-0.9.3-py3-none-any.whl

Total release size: 124.8 kB

Release files / ontolocy-0.9.3.tar.gz

Download URL ontolocy-0.9.3.tar.gz
Size 46.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8978ed3e147bc4ecb069e8f28d575cb912505b26819dc3385c89c793f97c1929
BLAKE2b-256 checksum
How to use checksums
c392a0deb778a4c4ca74c0c86a420390d771c9832c04f505c132ce14d36df11a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 10, 2026.

Transparency log

Release files / ontolocy-0.9.3-py3-none-any.whl

Download URL ontolocy-0.9.3-py3-none-any.whl
Size 78.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79dc5a6326e7970986a9282392136c730d65ba5c283175eaa420e69e4eea761d
BLAKE2b-256 checksum
How to use checksums
24b78b3abbe6d26c5201997c9e5870feae31b89e3aed916f5a45f0c6798a6cb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 10, 2026.

Transparency log

Security for ontolocy 0.9.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ontolocy-0.9.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page