post-graph 0.1.0__py3-none-any.whl
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.
- post_graph/__init__.py +25 -0
- post_graph/client_asyncpg.py +1265 -0
- post_graph/client_sqlalchemy.py +1307 -0
- post_graph/errors.py +28 -0
- post_graph/models.py +279 -0
- post_graph-0.1.0.dist-info/METADATA +290 -0
- post_graph-0.1.0.dist-info/RECORD +8 -0
- post_graph-0.1.0.dist-info/WHEEL +4 -0
post_graph/__init__.py
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from post_graph.errors import (
|
|
2
|
+
PostGraphError,
|
|
3
|
+
VertexNotFoundError,
|
|
4
|
+
EdgeNotFoundError,
|
|
5
|
+
TableExistsError,
|
|
6
|
+
TableNotFoundError,
|
|
7
|
+
CyclicReferenceError,
|
|
8
|
+
)
|
|
9
|
+
from post_graph.models import Vertex, Edge, TraversalStep
|
|
10
|
+
from post_graph.client_asyncpg import AsyncPostGraph
|
|
11
|
+
from post_graph.client_sqlalchemy import SQLAlchemyPostGraph
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
"PostGraphError",
|
|
15
|
+
"VertexNotFoundError",
|
|
16
|
+
"EdgeNotFoundError",
|
|
17
|
+
"TableExistsError",
|
|
18
|
+
"TableNotFoundError",
|
|
19
|
+
"CyclicReferenceError",
|
|
20
|
+
"Vertex",
|
|
21
|
+
"Edge",
|
|
22
|
+
"TraversalStep",
|
|
23
|
+
"AsyncPostGraph",
|
|
24
|
+
"SQLAlchemyPostGraph",
|
|
25
|
+
]
|