Skip to main content

Python bindings of Oxigraph, a SPARQL database and RDF toolkit

Project description

Pyoxigraph (Oxigraph for Python)

PyPI Conda PyPI - Implementation PyPI - Python Version actions status Gitter

Pyoxigraph is a graph database library implementing the SPARQL standard. It is a Python library written on top of Oxigraph.

Pyoxigraph offers two stores with SPARQL 1.1 capabilities. One of the store is in-memory, and the other one is disk based.

It also provides a set of utility functions for reading, writing and processing RDF files in Turtle, TriG, N-Triples, N-Quads and RDF/XML.

Pyoxigraph is distributed on Pypi and on conda-forge. Run pip install pyoxigraph to install it.

There exists also a small library providing rdflib stores using pyoxigraph: oxrdflib.

Pyoxigraph documentation is available on the Oxigraph website.

Build the development version

To build and install the development version of pyoxigraph you need to clone this git repository including submodules (git clone --recursive https://github.com/oxigraph/oxigraph.git) and to run pip install . in the python directory (the one this README is in).

Note that by default the installation will not use cpython stable ABI. Use --features abi3 feature to use cpython stable ABI.

Help

Feel free to use GitHub discussions or the Gitter chat to ask questions or talk about Oxigraph. Bug reports are also very welcome.

If you need advanced support or are willing to pay to get some extra features, feel free to reach out to Tpt.

How to contribute

Pyoxigraph is written in Rust using PyO3.

Pyoxigraph is built using Maturin. Maturin could be installed using the pip install 'maturin>=0.9,<0.10'. To install a development version of Oxigraph just run maturin develop in this README directory.

Tests

The Python bindings tests are written in Python. To run them use python -m unittest in the tests directory.

Docs

The Sphinx documentation can be generated and viewed in the browser using the following command:

sphinx-autobuild docs docs/_build/html

Note that you will need to have sphinx-autobuild installed.

Alternatively, you can use sphinx-build with Python's http.server to achieve the same thing.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Oxigraph by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

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

pyoxigraph-0.4.1.tar.gz (4.6 MB view details)

Uploaded Source

Built Distributions

pyoxigraph-0.4.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.13 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp39-cp39-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp38-cp38-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp38-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.8+ Windows x86-64

pyoxigraph-0.4.1-cp38-abi3-musllinux_1_2_x86_64.whl (7.6 MB view details)

Uploaded CPython 3.8+ musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.1-cp38-abi3-macosx_11_0_arm64.whl (4.6 MB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

pyoxigraph-0.4.1-cp38-abi3-macosx_10_14_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.8+ macOS 10.14+ x86-64

pyoxigraph-0.4.1-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl (9.6 MB view details)

Uploaded CPython 3.8+ macOS 10.14+ universal2 (ARM64, x86-64) macOS 10.14+ x86-64 macOS 11.0+ ARM64

File details

Details for the file pyoxigraph-0.4.1.tar.gz.

File metadata

  • Download URL: pyoxigraph-0.4.1.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyoxigraph-0.4.1.tar.gz
Algorithm Hash digest
SHA256 da93f653da59115a3f3ee4489f2fbb14975e1d1bbb07633231e3ba3eed1e4c3e
MD5 ba7f684054f7d79b9edb05a206a8be51
BLAKE2b-256 c3917c604b7d93150cd4c404668c8109db70e33086c678a29f706406dade1613

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4020a4d4b756d39d5c2ebedccca62a0c5a18f866c43040bb8f7dcf02bf55b013
MD5 968db816e72781a05e36bbfebdbc387d
BLAKE2b-256 b75365ebf7861ed207750858a2f4700d593600bea3c02113746c657e32aeb37e

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b739941016d1ec6b2973da545b22174a2acacc908de157d6a41a62ff2fa47511
MD5 77a9da5080ec680d776fd28bb93db5c9
BLAKE2b-256 f37c4a6be34a8f0f2362055ca3eec170ff64cbd2611129d7c7b2477bf2999e90

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7b241cdec867a0a3ac7474c4c5eeec0953860b7eaf5a34122f58a80738ffeb2f
MD5 69ea723e25d4d9ef4c84b752f51b4924
BLAKE2b-256 5a6e7b83b742c3708dfe60da12a2f4e47fa56ef39d419519c2ccf4e101fff22f

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ac567cb83bdda43c0c72a7a00d23bcf5532d440e682eb90ba63758361c004ad
MD5 7ff37cbb4a6b9aa6d6c675fa3e6942a3
BLAKE2b-256 1d18235e34a4f937339a73bee7dd55c794a3c6cbc4369a1ac87e37eac3fd3824

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bf6a77f318e333685aed1237eccad3d08403809da683c780575320abf88419ee
MD5 c85f2387dd27665b52bcffce5003640a
BLAKE2b-256 80fcce1ab32fc820f0fd947e46b651bb0ba674b3e3fe34ae9f3b959776c8dfe2

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 714dc3eba13640b56deebefe3c035511223bfceea64f3b3f7d300a0af7898f19
MD5 96deb83f71c5815bc6021c70d7e90f9f
BLAKE2b-256 50ba6255a8e5950cca4689e3c181503ea0004cad6f83ac3adefed832af910543

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b48f5092bca6fb9893f737cf98360741195500badaed1346ba1fc4016cc68df3
MD5 004a1075f304364b1c354acbb7512d92
BLAKE2b-256 e890146c9da306eaf760a2b3655420ab9fee3ef1a457a8e18bf120e474f99712

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf8a68f3dbd4fdc8fcdc215a9272f5697ac69763725c2ba400bf53a8aa669681
MD5 5937b818864b6102dfb40b167523ce97
BLAKE2b-256 d37d90252fb3f15e49de47747a1bb6eaf497fba04f95acf4741e3d1a167f1952

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ae3884b9883d758c9802bfa06fcb9aeb916ea1305b3a13e27b45eb3efaae7770
MD5 79c1aa51c5f15e119b5559a546ac8748
BLAKE2b-256 0384fa03de5c423333a9272ea7e29b88da4a61a82868d9e8f7592081d324f974

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 665e3be83e624fa755b14dc852dd4d585428ef3ab4bf73f314a7e785cd83f3a2
MD5 75f809dca9942c0c7df63b8f2998a839
BLAKE2b-256 052a9304e004042333566a5fe393a754824f4cc98eb0b65018511a00115b431b

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3e664804ee5225060fcc8a67f4e5c9d73e0a5536725f1eb6ae1dcf00c78abc01
MD5 8419c75e311121ccd9c5ef4e93d8f436
BLAKE2b-256 7773912252914f2b156301b3bd3da794bb2230dd881f252e9b2e5155c577e2c2

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 96017d3c6ef0f79cdea3e06180375546973d6987a23ee8ef6e91cf8c3f407d06
MD5 fe60674702cc8c0879ade3e34aacde06
BLAKE2b-256 96181bcf10bfdd60fc365c5e3ce41b4313068237617247a9096f1688c825207f

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 721608b1d5b2f98f30a087b249dedb94c3469483a7cef8d15bc41ed65fb04753
MD5 c4b43ecb840938fa1e4ad1616a54a2ed
BLAKE2b-256 42b10ecc4fd777df87111569eb906236474287e63f699256cd1af8b59eb6f281

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c2557e67b69ab14206a6bb0db1ebf8cec3ef7615ceaffad2ae9c0f4f125fa04e
MD5 da1308241110233b2cf2b1d2397d076b
BLAKE2b-256 1e5b5426576133b743d3f933b7b4b2c290334e22cd69b3ef13ea29b558fcc5a1

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-abi3-win_amd64.whl.

File metadata

  • Download URL: pyoxigraph-0.4.1-cp38-abi3-win_amd64.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.8+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for pyoxigraph-0.4.1-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 72215805e9f85dfcfe661e93a4bc0ab4ef27827f42708ed963fcb7bab6604303
MD5 d5b6194acf6de13887ba7e140362bb39
BLAKE2b-256 3fd7a07a3cef221410bde99f1cae8d730c773ec3c353429038335edb60f56b8f

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 214507ac0ce507a043e001f9da6a2f36761e56702e6c1910300710f67510b1d3
MD5 35853a4adf2b6b24d5db5d0787b33457
BLAKE2b-256 b4eafd90eb833df0fae0615a898e2a98d9dd3ef62a81a071944ba8c816152944

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 feb1c54b2c34a9c7b8f4c6b43cbd70ecf85394792216c58325a574950c21bac6
MD5 52ef1a003da9c28e3f9389d32ebdc7cc
BLAKE2b-256 dcc2cbe7c1afc46a961f5ff3d9ea8e5aa374a0e2a1718264c1dd1c6a6ed764d7

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c5bed48c9f8400e974a3933c15ab83ae1cd8452d755a91a0dd5a80afea2e328
MD5 3253d24c9ba462774b88c5b19662a110
BLAKE2b-256 9500c456b77e888678f63bdecb64fad4cfebd5c91163a1f407f6b053e74903b2

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a7780ca0534e313271960e30ff2339795773d3b97cc8252ba10a08631d94f940
MD5 5ae069d1ded7012bee0989306c6465b1
BLAKE2b-256 48a542a7943e119f8adc43f180000cf437746639a5554c7afb081c2cb6992a7c

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.1-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.4.1-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 980c21c5210acfdb69bdf113e8a95d7c77c090e8a625eb48caeb59f962076b86
MD5 a7a2467a9ba9f220378c0b9ede3b366a
BLAKE2b-256 1ee8061ab3b8ddb639ecd3bd646d715e01273d8c7ce65b4a36d01090a3559c90

See more details on using hashes here.

Supported by

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