This release is a pre-release and may not be stable for production use.
IssunDB for Python
The Python bindings for IssunDB.
Installation
pip install issundb
Quickstart
import json
from issundb import IssunDB
# Open or create a database
db = IssunDB("./issundb-data")
# Add two nodes (with properties)
alice = db.add_node("Person", json.dumps({"name": "Alice", "age": 30}))
bob = db.add_node("Person", json.dumps({"name": "Bob", "age": 28}))
# Add a directed edge between the nodes
db.add_edge(alice, bob, "KNOWS", json.dumps({"since": 2021}))
# Run a Cypher query and print the results
result = json.loads(
db.query("MATCH (a:Person)-[r:KNOWS]->(b:Person) RETURN a.name, b.name, r.since")
)
print(result["columns"])
for record in result["records"]:
print(record["values"])
# Output:
['a.name', 'b.name', 'r.since']
['Alice', 'Bob', 2021]
Documentation
Visit IssunDB's documentation for detailed information including examples and API references.
License
The contents of this directory are available under either of these licenses:
- MIT License (LICENSE-MIT)
- Apache License, Version 2.0 (LICENSE-APACHE)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file issundb-0.1.0a25-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: issundb-0.1.0a25-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 7.5 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31c4fc28e07f68c8cf734c0736a786d157b26d71ef9db637da253cfaa96423d6
|
|
| MD5 |
20c556ba5349ebc8733f4fab307ac6fd
|
|
| BLAKE2b-256 |
d762cce4ec2649702bc4cc2c708e1f99a0dd9b4952ba834e24f1e4f2b13dc287
|
File details
Details for the file issundb-0.1.0a25-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: issundb-0.1.0a25-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 8.1 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1440208c687c6026ad35a86ce2945d011956b3809f7b2fd7054c24dbc8f1e0a
|
|
| MD5 |
9acd0cce0cdd3070cc7c8da1a37ac593
|
|
| BLAKE2b-256 |
999c6acc8b90c20ba3ac043f852e3f69b6725a792fe5dbcbe38a471baac18534
|
File details
Details for the file issundb-0.1.0a25-cp310-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: issundb-0.1.0a25-cp310-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 7.0 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11376691386f1377ca661d5ef8e7b726aac8436d6a6d6eac90f94d66dc460f58
|
|
| MD5 |
1d0944b0d9cf6a3b65db87589826dce3
|
|
| BLAKE2b-256 |
61730b54085de5fedd7840ae9a24f70d023145899a0942e86cb919fe730cee1b
|
File details
Details for the file issundb-0.1.0a25-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: issundb-0.1.0a25-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.9 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2712b72c52f27b185167e43d3a65f544fce023c2861f3822f49752425eb1d87
|
|
| MD5 |
4bc555c3844151728e9a26d3127a6fa5
|
|
| BLAKE2b-256 |
8cbb81dfeb51dc3696754df2b4229c8bc5735f4436f26cd49f3119f554a680cc
|