Skip to main content

Python bindings for IssunDB

Project description

IssunDB for Python

Python version PyPI version Documentation Examples License: MIT

This directory contains 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 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 content of this directory are avaible under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

issundb-0.1.0a8-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

issundb-0.1.0a8-cp310-abi3-manylinux_2_28_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

issundb-0.1.0a8-cp310-abi3-manylinux_2_28_aarch64.whl (9.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

issundb-0.1.0a8-cp310-abi3-macosx_11_0_arm64.whl (6.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file issundb-0.1.0a8-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: issundb-0.1.0a8-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 8.3 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for issundb-0.1.0a8-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d6fa280acccf019e4af51161ba5e0c990d4b0187bd75215b3ed1ad9a6881bd74
MD5 4136f82d3258e55b7be26511196a4f7e
BLAKE2b-256 369ddd1a92996e4a88b6d2a6520ccc1e68a0c5cc62036cd619ae7d96241c29e1

See more details on using hashes here.

File details

Details for the file issundb-0.1.0a8-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for issundb-0.1.0a8-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74621c47a12c7e4635867738a226be57c4791c18abd8d1c31185e614989b8129
MD5 9c77806aed6f3d26f55f99fba99c8e37
BLAKE2b-256 b4f4ddea84c25c616e6f55b2fb5c6cfc36ee5df3088a2cc9448d3e0c2fffbdab

See more details on using hashes here.

File details

Details for the file issundb-0.1.0a8-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for issundb-0.1.0a8-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f6cbc83b0d5424975291ce175e826d188bd853153a09d79a425d44697cfd4ac8
MD5 8e374d3edd6b186e3ad5bceea04962e5
BLAKE2b-256 03ce18691354d7639b50a917ea14a721ec9f5ddea246f73225461ae63bbfe4fe

See more details on using hashes here.

File details

Details for the file issundb-0.1.0a8-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for issundb-0.1.0a8-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ccb62740d4f5c866a81a8dccd1134085e75c06ffed9e9c1d1cdac1837c37280
MD5 af3aba37d63e9695f4883108aea4cc46
BLAKE2b-256 2dfac9d8778fca8f917bd0ba13e102bd64e710738939ea8937dd8b562f1504b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page