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

Uploaded Source

Built Distributions

pyoxigraph-0.4.0a8-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.0a8-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.0a8-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.0a8-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.0a8-cp311-cp311-musllinux_1_2_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.0a8-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.0a8-cp310-cp310-musllinux_1_2_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.0a8-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.0a8-cp39-cp39-musllinux_1_2_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.0a8-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.0a8-cp38-cp38-musllinux_1_2_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

pyoxigraph-0.4.0a8-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.0a8-cp38-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.8+ Windows x86-64

pyoxigraph-0.4.0a8-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.0a8-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.0a8-cp38-abi3-macosx_11_0_arm64.whl (4.5 MB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

pyoxigraph-0.4.0a8-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.0a8-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl (9.5 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.0a8.tar.gz.

File metadata

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

File hashes

Hashes for pyoxigraph-0.4.0a8.tar.gz
Algorithm Hash digest
SHA256 40f99b09519e662bf82a6e6c0191c036dec9f1e3689afd2c737a528bf205c238
MD5 1831f7cdc6e410e7b401d0c4250e1f68
BLAKE2b-256 ea5d1be362959e8f9e5c4e1abb4daf7a115579d46af85bb0ad6805147e9780ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 482248fb5c63887d3975fcc6e5cdfd301e6dcf0c20da65784be79cf44d8a734a
MD5 6e70c1522520f745a6d7e94c78bb36eb
BLAKE2b-256 080313d792a415f1f162c8a6aad9c8c5a895ff9087824bd6e78b1f7af8c75889

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cbe7190ccd4d7ec4eede53d4d8a1dde4889b75c05750ba819d11172f387ff4bc
MD5 1187f96703eb8c96c77a6dab878638b6
BLAKE2b-256 0ad605ddc078dfbae28c55b87555e5c0282bdf1924b4262d1079ba4ff5d972a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3f240b05890b930afe3d507edf41f470b7b7023ecabd8be9eef7dce2b9fb854c
MD5 3a4a2b385ec9054afd66e09a7a8fbc1e
BLAKE2b-256 47311d79aa124a9e28e18453fb37b1209e12cfe555e8c9f3eb08c79240af561c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e3fc87c946283247daa432ba7ace38f5032b042e815ffc4e49d5d6838591f61
MD5 4d2acc01bba70590a9f55e4581fa6cc7
BLAKE2b-256 bdf0cf2ab48311186d3b203ed61b3ab460e83bf4bf8be486f42d90ede35e9a18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f4be6c12a2dcf60de5ffa216cc183b6d3dcf5cd5dffb43e2bc83e514fc75d01e
MD5 80ac60b18e13f588e35f40a4dc292ab1
BLAKE2b-256 f636fa21a22bb320bcef952e593f2843482e1b7f285ac9cc76e720cbd83c887d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a189d88a6eb052cfaaa785c1fc4b4128bbd50027542e30adfab5a15f5d90fe6
MD5 96a7073f51b7d7e3f93be3e46c742f9d
BLAKE2b-256 da52796e3514e47f3500591d2d85b3b09c399c07f0a2e896df9ab39ede7917f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b208e6faa0679ca503c97e81264a54af3f6eea7f354c5781fddd5214bcaf3cf9
MD5 affea8a6a945ccd586ae152fa079a2b9
BLAKE2b-256 85cd0fcaf85c33667f38afc69c6150c4a51d7c72e306ab29d0c5762220f7d966

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c6f220bfbd8565724ed1cef7477a53d3b8673f6f4e518f44721df2f5e59533c3
MD5 bdc77d2317b0f391d17de5268b15e566
BLAKE2b-256 3f914ae4ac118bd0c822567d0d85d2b187658db1448c2c5be594247686476d2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 10d69cd3c069ea9d10bbbfc5fe33414b19eeca07318618a2e0b99c77055bf4aa
MD5 8e854bbeb485ba44f76c1dc0fafbccc9
BLAKE2b-256 646acdd4a2dd2c6d16c6c9a7df4ed7ab3d46def4f9001cb29dce1137b21272e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 af9c9a3cd06f32142368123411f96bf1f4a885491fb1801706a4cdfad968b01c
MD5 063948379ca72bffcb841ddb52e99fab
BLAKE2b-256 485d80bb7ff02c85cdf1f150770884beb66eb21c43bcd3fbd395e21f349234ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2ee0520a2b64a7056ab374cf809bf14033acb22d61b6c0726d8407e9cd66d547
MD5 e552bb8eae2054aec1acb22b7c91daaf
BLAKE2b-256 4aa0c10780d41e01d114568a79e765a138e2cd676e889ffc0fd55aea162a89a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cf9d197b61ccb0296325d87eb542e06e5910731d6636a83cd30e51fc8ba89899
MD5 685d724eea01414e2d2a3fb62109d15f
BLAKE2b-256 84543ef2f0782f21d1f8e054eb840eaa8520b03571bd01c2ccba3dc20fe96b06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f9254f0a322e8cb8e3455d6b7784af339b31235a363f757cc8face0b42d7308
MD5 761708da8033bd720ae4e01dc0012d94
BLAKE2b-256 131ed2c7931a6b1936a39f2affa1135e91076b4af695e6e728e1362a2718edd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1260c71046aa11b7ce93ccb7e2c8013b352da0eeb7dcfc95fe451efcd5cf0a89
MD5 0f85e9a33b93175474db91bae8e51746
BLAKE2b-256 4d3734075512e7ece998def1fd1eb5458fb68cdc47432528091c03486d2d0181

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7bc4e326734ec0a56a41d945fecaeb97ee24d8e836801496440e37c88f553ec
MD5 f3bb8cc327dd69bbf585690f28a8c07f
BLAKE2b-256 acb385acb6a6dcf70ce0bf0f0e757cd404d571355f6ca38f391613eb502d7e7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d877d4da5c5e0242dce636fc94e364fdcf15ccfa7ea41418acd2ef1c40e27620
MD5 4dac51c4dbbb417acddd644ecf4b6f6e
BLAKE2b-256 e498ede3770c31881d09c549d6d9d2a08111b6ae6f10b538e8565eb0bae2e155

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0a8-cp38-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0e5d83bc6c4f80b886f51f13c39b7047064cb768c83db29c56956039010abe08
MD5 b18d0a890b2b744981fe88e13d35ea77
BLAKE2b-256 32b8b0ae62001d94e1cfdb3c28e6f1302d3e41f0901bc0cca868a9b66a3aa7c1

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.0a8-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.0a8-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 ed3d906190575e3eac5d6bf24c2bd03849b5aea196122fb096eb30e8af8cf5a6
MD5 6e16751aee2c0be11a642a7694581fdb
BLAKE2b-256 ced9b27c1c1207267e35d6e81395b9349430c091c1a12043289503eece0edd36

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