Install & Compatibility
Where this runs
tested against v2.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 22MB
20MB installed
● package 20MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
VTGraph
✓ from vt_graph_api import VTGraph
✗ from vt_graph_api import VTGraphAPI
Node
✓ from vt_graph_api import Node
RepresentationType
✓ from vt_graph_api import RepresentationType
Initialize client with API key and run a Cypher query.
from vt_graph_api import VTGraphAPI
import os
api_key = os.environ.get('VT_API_KEY', '')
client = VTGraphAPI(api_key)
try:
result = client.query("MATCH (node:file {sha256: '275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f'}) RETURN node")
print(result)
except Exception as e:
print(f"Error: {e}")
Upgrade
Version history
2.2.0latest on PyPI · released Jul 28, 2022
Audit
Dependencies
requestsrequiredHTTP client for API calls
sixrequiredPython 2/3 compatibility (legacy)