Skip to main content

Python bindings of Oxigraph, a SPARQL database and RDF toolkit

Project description

Pyoxigraph (Oxigraph for Python)

PyPI 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. 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 and to run pip install . in the python directory (the one this README is in).

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. This should be installed already if you are using this repository's development container.

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

Uploaded Source

Built Distributions

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

pyoxigraph-0.3.6-cp37-abi3-win_amd64.whl (4.3 MB view details)

Uploaded CPython 3.7+Windows x86-64

pyoxigraph-0.3.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB view details)

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

pyoxigraph-0.3.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (5.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

pyoxigraph-0.3.6-cp37-abi3-macosx_10_14_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7+macOS 10.14+ x86-64

pyoxigraph-0.3.6-cp37-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl (8.2 MB view details)

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

File details

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

File metadata

  • Download URL: pyoxigraph-0.3.6.tar.gz
  • Upload date:
  • Size: 10.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for pyoxigraph-0.3.6.tar.gz
Algorithm Hash digest
SHA256 4938bf53c2b09422bdc8e75b553cdddbf8aee37c0cbae0dd5434db02b8fbed49
MD5 847d293fbb2f716e66f42b60944033e9
BLAKE2b-256 aa52a1e719656c568592479cd3221fb29fee65cdf9ea83ca50fb0ec83db45c1d

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.3.6-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.3.6-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1e69533955cf118a1cedaa64cf2f022aa8987c46ddd86cd832a2de2bab7a9418
MD5 1e8de9d3f37d4d8cda43879b0414c9ca
BLAKE2b-256 1eba42fe91ffcb2f8381751288006959cf2966c291c5ea9f650bb5a723fc5798

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.3.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.3.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b06dae03908fb797ba3804bc99f1de36251c2cb1f6cefa2cc3354d67d4f722b
MD5 3b393df6cba3d352fcda93349226bbb5
BLAKE2b-256 63ec37e838ea950bf5c2c6b92536d0f1ac3d11a19c25e2f60cd814043b5220cb

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.3.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.3.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 951c4810b9f8bb012ff8322fe15f0e5b2bc348afc0658ec6e82f556b26fe4b7e
MD5 f509106041e835bd9aaede56d821643c
BLAKE2b-256 9b012533e6c55068a4fbd8b012d259d9c1436e0064a27ca5ffb45402116da2aa

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.3.6-cp37-abi3-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.3.6-cp37-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 10bdd02edea9c203fa4a4730eb78786e7cb6f517f88ee268dd1b3483db70a398
MD5 dc24a93fdbb238d39e9d5f0744cb3114
BLAKE2b-256 c48c8c7b517745107dc7c907a91b59dd7499210a1aad0d867126de5b35cd6263

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.3.6-cp37-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl.

File metadata

File hashes

Hashes for pyoxigraph-0.3.6-cp37-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 dee833cdc46cc9ba8d041ad0a3b7c6e9ec407c8614272f5cc551349887f22fbf
MD5 820a3e147522b3c1beba233d949dffea
BLAKE2b-256 8712db438c07807754a8db0f343d9c2b561577ccbded73a8619330a01af1c9f1

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