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.0.tar.gz (4.6 MB view details)

Uploaded Source

Built Distributions

pyoxigraph-0.4.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.0-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.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.0-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.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.0-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.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.0-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.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pyoxigraph-0.4.0-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.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.8+ Windows x86-64

pyoxigraph-0.4.0-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.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB view details)

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

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

Uploaded CPython 3.8+ macOS 11.0+ ARM64

pyoxigraph-0.4.0-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.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for pyoxigraph-0.4.0.tar.gz
Algorithm Hash digest
SHA256 930a11ae49a1ebbb018387643e3ca1ce2ab8822b0081ad14b8671abed12d788e
MD5 c44fc47dc9620366839d42db46476ffa
BLAKE2b-256 eac88fc7ba87367f1d138e268bb83cd1edfd0554990925a7c4dad7a2efee1ebb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87d5908e8f0b64fbc7bc2007317c9ff0b9a7a0fe51a9386e058f06d30ab3304a
MD5 bfb43efc5cfae4a311a6d493fa507463
BLAKE2b-256 9e87d238572eb9f2bd0e3d07b37fddb13aaac1f4f14a222eb885bdba3c482762

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 928b20662e05e625d5f4042ac0f4578d3f7fa9c9731cf8ce86275cc991ab3406
MD5 09b9930cb24e3d9268f0fba51fc02198
BLAKE2b-256 714fb3d51b9dc53d92304c275078903c94a934fa326d5287768bb70b29515b59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8119feae123138cfa19dd8db4330b7db9e3b88e63efab92235abdbc11c2a3d4c
MD5 286ed4435f4a4939fbc50bfdca6cb710
BLAKE2b-256 3d26fc822378f66d0b2f5bb32563953beef2e7dbe609ae435ffeb8b8c02343ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4e2e2a9ee0e73158ea1e81e2fcd3e3afc4de8ef06dff16908b83dc41072a304
MD5 ee41c43308bce0f13aa51a7aaf046a6e
BLAKE2b-256 b173762f0b234a83f68ef48f2d2d3cdaeb6374a7c4e824aa883f99eb67a7da52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e3cc93dd44fa43759f83beae89c2dd4b553995f4e4ae25c992c21d211535c932
MD5 4f17b7efd4e15563bf0b3d6de2fcbc18
BLAKE2b-256 c8e1adb6044a473f2369cfb3369998292d4853e36534e490796c809ca0ccf432

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a8a01a2083920e3c5f9ae61b34614dfa0681c35aba22bc7a17eedecc48f533a
MD5 9f0fba2c7d1a4e6edfe79ce56099f25f
BLAKE2b-256 784c74fd68c708412fb7fa0539b9f579dcf7b4e483d5ecb9f194a8dec2abbf93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fcec5128278d95b593d16b3c814d2acc0d2857586afc5b768666f0d197e53374
MD5 1191764b05cccd838128c868fab2e533
BLAKE2b-256 b507fe7e125fe28b1651189b6caba0deb701a931c2f2d4121246197fdfff3115

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a25b1d39dd93fab0d967b118b3baacfecffc89eb5da4393161bd60af02dac801
MD5 dfedd24ff31b09a6b6543bc217c528b8
BLAKE2b-256 606a91e87fcad1ca38e7c5eb208dd0f63c573112406f42833f53416aa5512bd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 410d6610126e011169000d7034d9709c16276592bcd6cb3a245ee493ecd55eb9
MD5 842946047ecd134ae4bed0e9f8ede703
BLAKE2b-256 46bba07409933d34fa53b7a98827995296583bcc72fd0bb5697c101ea1928399

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ee7a21e78f86f4ec26b41159052e767a0333452d78f0e010131854ed16fdc9e
MD5 9d8539f714259d9530a460bdd9375e03
BLAKE2b-256 7ee7fd62cda700a61dc92b23877a20b0d6e4b8fa4eb3b01b5141a826e5d47db3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0fa2bede5828b680f35ab6a0d9d9a483b3c37bb1341ffc3f6c9274fc80f3e77e
MD5 3acfa364df88d9e0f0399de64386caba
BLAKE2b-256 a9dd0719e7d6c7df03981eff730bb347ed36c69c555c062b0fd85a0e3e175f51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c123099c2dec868bf3d396dfaa090b7e05c36ee977765d0c5e32bbcfccc21bbe
MD5 accb0e659cd68412050e7b2c8781635c
BLAKE2b-256 8bb09062ed218492cab92cbb1dce1e104e0f5fb57f37034c56749bef8ed8472a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyoxigraph-0.4.0-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.6

File hashes

Hashes for pyoxigraph-0.4.0-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 df71b613c1c3a55c3508e2f8b2905683650ecab15a3d0d75c4b5b7669a4f654b
MD5 0438a74b3fced9f605986394fbfcb1d3
BLAKE2b-256 cbcee77ee10e526c4100dc6c8b8ade8f5288d109da0b64b26d2b871ade22f1a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 08ec6a48497ecd8b26a7f241112acd1ddeadade5aa434b23e143a20e936145bc
MD5 94a078e9b330881491b0730c6550e9a6
BLAKE2b-256 6a23a4a92192ad17be39d9b3dadc2ef2be0db0e4f42a57b001bbd12f6f2751b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0bf239cd0cc3af4106d0615130c8c7092b3b084285b62fa8915013a337d0b4bd
MD5 4f56fe952c4b2f4ce290e0a453fb8c59
BLAKE2b-256 91109c8e0b1fa7cfa31b0f5f3473dce440d8b57a4628f967298bd19a6bf77223

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 81babf144298461e07e311c017f94e4328ec95c1defec4bfe17cf93e9a9aba83
MD5 8912e3b6e387a0ce7ebf083826651f1a
BLAKE2b-256 aa84eda80817de15c90e22a687ab24d3ea75dae6e41c917f9fa06ff7f40f4b50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0-cp38-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d21cf1dffd217818c9b4a322072071317aec60f2f7c5720d11cae373d8b16ea7
MD5 d9425bba83608426ebba93ed2211399f
BLAKE2b-256 ff2cb9561b4537fd5d2bbe74d12c0cea14f91152ee37a6ad072d50456c1d3248

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.0-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.0-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 6c9a65310758544a08876464b6edf8ade3fde15d16a514802145071e2e23bfdf
MD5 3aa0faba1aaa8886d0e04e1041a876bc
BLAKE2b-256 375343fb0583106e61e16db58b6a588dcf099520e112ff25f2b3f25667584e98

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