cpg2py 1.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cpg2py-1.0.1/cpg2py.egg-info → cpg2py-1.0.2}/PKG-INFO +1 -1
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/abc/storage.py +3 -3
- {cpg2py-1.0.1 → cpg2py-1.0.2/cpg2py.egg-info}/PKG-INFO +1 -1
- {cpg2py-1.0.1 → cpg2py-1.0.2}/pyproject.toml +1 -1
- {cpg2py-1.0.1 → cpg2py-1.0.2}/setup.py +1 -1
- {cpg2py-1.0.1 → cpg2py-1.0.2}/LICENSE +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/MANIFEST.in +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/README.md +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/__init__.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/abc/__init__.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/abc/edge.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/abc/graph.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/abc/node.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/cpg/__init__.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/cpg/edge.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/cpg/graph.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py/cpg/node.py +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py.egg-info/SOURCES.txt +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py.egg-info/dependency_links.txt +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/cpg2py.egg-info/top_level.txt +0 -0
- {cpg2py-1.0.1 → cpg2py-1.0.2}/setup.cfg +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
from typing import Optional, Iterable, Dict
|
|
1
|
+
from typing import Optional, Iterable, Dict, Tuple
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class Storage:
|
|
5
5
|
""" A directed multi-graph implementation supporting multiple edges between nodes. """
|
|
6
6
|
|
|
7
7
|
__NodeID = str
|
|
8
|
-
__EdgeID =
|
|
9
|
-
__Property =
|
|
8
|
+
__EdgeID = Tuple[str, str, str]
|
|
9
|
+
__Property = Dict[str, any]
|
|
10
10
|
|
|
11
11
|
def __init__(self):
|
|
12
12
|
""" Initializes an empty directed graph. """
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="cpg2py",
|
|
5
|
-
version="1.0.
|
|
5
|
+
version="1.0.2",
|
|
6
6
|
author="Yichao Xu",
|
|
7
7
|
author_email="yxu166@jhu.edu",
|
|
8
8
|
description="A graph-based data structure designed for querying CSV files in Joern format in Python",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|