Skip to main content

Python bindings for GQLite, a Graph Query library

Project description

GQLite is a Rust-language library, with a C interface, that implements a small, fast, self-contained, high-reliability, full-featured, Graph Query database engine. GQLite support multiple database backends, such as SQLite and redb. This enable to achieve high performance and for application to combine Graph queries with traditional SQL queries.

GQLite source code is license under the MIT License and is free to everyone to use for any purpose.

The official repositories contains bindings/APIs for Rust, C, C++, Python, Ruby and Crystal.

The library is still in its early stage, but it is now fully functional. Development effort has now slowed down and new features are added on a by-need basis. It supports a subset of OpenCypher, with some ISO GQL extensions.

Example of use

import gqlite

try:
  # Create a database on the file "test.db"
  connection = gqlite.connect("test.db")

  # Execute a simple query to create a node and return all the nodes
  value = connection.execute_oc_query("CREATE () MATCH (n) RETURN n")

  # Print the result
  print(f"Results are {value}")
except gqlite.Error as ex:
  # Report any error
  print(f"An error has occured: #{ex.msg}")

The documentation for the GQL query language can found in GQL and for the API.

Project details


Download files

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

Source Distribution

gqlitedb-1.3.0.tar.gz (126.5 kB view details)

Uploaded Source

Built Distributions

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

gqlitedb-1.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

gqlitedb-1.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file gqlitedb-1.3.0.tar.gz.

File metadata

  • Download URL: gqlitedb-1.3.0.tar.gz
  • Upload date:
  • Size: 126.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for gqlitedb-1.3.0.tar.gz
Algorithm Hash digest
SHA256 85719ae80e2f5b9ec66b870ebedb1375e49f99aa27283ca0696ffe9c33c15f81
MD5 e5434bea8b11c672b9a9aaaf10b80a76
BLAKE2b-256 ba817e836c9cd06c4075a43c80964454b688ccb512bd5dd2daf104a22216525e

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7e0cb57bbf9da4d80a0e1fb3894f6893664011ab3d3df33ae68fb0e9981d9353
MD5 927c5decb0b08f4ad18ce6f03f11792d
BLAKE2b-256 31402205dcbe8ea19052c8f15af2f915fedd8e86cbec634d53c0b13e221e26d7

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 8c5e5332a1fb6e0ca46fba709ace94cd10818b19385008f896934913f0046184
MD5 4d31c89c3eebb6a73c36fa90325a278f
BLAKE2b-256 d7e7bb662115460a8a12120aa4939ae31af3ad01413356824999bf3648761039

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 22a5a9ed1904023db37992ac51890c8475872272bebf7839058b3d94a1db6d64
MD5 f360506920b80ffcd06b486de2ad0050
BLAKE2b-256 2d9676e8513e7234d8ecc24795fcefe1ce4719a24a585ea2857ba89cd69e4419

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 ee3f683fef919c6b2678443e07cb37d4321fb50386fa41970e58589c44475e89
MD5 7f3f0eab2af773f336379afff148f00a
BLAKE2b-256 0dfe4798fda763f16c0ca50e4b65c2eec4732fc2f2a6dc4c01058c4ebcb2be4b

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 c3472b97776d5e2f0570ae2c8467d95af68081642a68c0fdae06f2776edd882c
MD5 0fd32bb130f6950f3cdd436e2d41cf4e
BLAKE2b-256 923b17e20154c0d0a2dfd4daed382e87201b042e5cfcb5ea421de4391dbdc5df

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 fe65188b631d8ddddc99a5b4715f73890553307e1d240c3ef5a485f360b87ef3
MD5 d497423b354af476d8082a6eeae6de41
BLAKE2b-256 c9d7e2bc8f7b7b6177c1f8441df5985ec357de0e7a69b7d102316ab9bf12609c

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d0b7356f734b2fecf72a081d754ac31c5c713ae8ea90bfbd53d79cd0906fd312
MD5 b446e09d0edfc3ed0d332131f2a88b01
BLAKE2b-256 0b62a5e03bef33d7222b5ee51385f49da376ad23f93ea89b2eeb519d374b4707

See more details on using hashes here.

File details

Details for the file gqlitedb-1.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for gqlitedb-1.3.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 6a80cd51744b591211882bb0c0ad14e4abfad720c631885426d04732c611daad
MD5 4bfa98b2f190cedb4703bb39a9d4dfc0
BLAKE2b-256 dfeaf11667aaa757cc279df1003cfd788c9a09f6b91bd3ff6ecbcf0edbfdf01a

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