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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.8+ Windows x86-64

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

Uploaded CPython 3.8+ macOS 11.0+ ARM64

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

File metadata

  • Download URL: pyoxigraph-0.4.0rc2.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.0rc2.tar.gz
Algorithm Hash digest
SHA256 00da21cc6a8dbe4c97fed465a55604cf900796f5f351e8935a54a352ede5d046
MD5 941e039bf72d6074b445e021af150cd7
BLAKE2b-256 e72e7ac3665b479cf5d98b99e834b0ef1fbc60d87d86a76fc4f761f54b0e3481

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ffefba5d567c4ca6eda78e32d097f65eb75a604b6d3a0dd1e1cac17882a0693b
MD5 a6070b059291cebc720749b5c2266fb9
BLAKE2b-256 402a0261fb7143c6196c7105acbf31f07c01e1cb61d8b7b29a843a6faaa27ce0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ee2486a7b4fe79b59a5b6674f0477342e891d2325c9f2a567367e879a217693
MD5 a76ac60f128da16d3950c2753e347ee6
BLAKE2b-256 ba7cb6afdc376a739a5b17b0783e85862cff71333bd600a87827a3377bdfd383

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2a95990a166e87c47e1512f39b85544ddb448a036e255354d7cc3405eaf25efb
MD5 ab3899b40e075a0709db73af554b2c2c
BLAKE2b-256 f50ba5e4f10c3311b3b92fb27f4c61e272b573ab7e6bc00ddb9772d7e2a5cb8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 98aca5c5d6005fc50aeecc33b88cd02bb2dee403870a8bb225d42c29f6e8d1cb
MD5 7a4489ddc0ba543ed2e8e9ad2b1eda2d
BLAKE2b-256 55f79eb58ba52f01e4286f58d2714fffa632d99e1635244bd1cb4880cc321a0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8c2e82c1f1fde3157f499a37b3367ec309ffc66e6048862b5656e8f549309daa
MD5 82753a4250abc5c97fa0bc265fd34b03
BLAKE2b-256 9eefcb93592b8b7dba5833f6dff596061054b591d277fce5d7dcedb2840d7e8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3d283e9f767c0625a61da04c581809699280d1071f1a70094bc010494622b15f
MD5 220d3a253bb0f44852a278d7dc8e3815
BLAKE2b-256 8e09221ffe1559e66595fc8fa998604ef69ce7e64042ae5b21d335a37f9de39c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5e2022993cfe60b88f2e35601f887133cadc4df84a29f79a7c9262c321a3df60
MD5 582c385fabdc5a2b0e9f5cda52bbde1d
BLAKE2b-256 2e7fe941a0a83fb5afd25ebf27fc321e37b2ed96d968c825009062e06c9cb7fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1125c282c1160179eb46e70f364c2b1c4a09935b96fd809bdf3b23127a88f8fb
MD5 443359139efe22940a6d186960c73da5
BLAKE2b-256 ec69d1185f41c2abfcc426a6e7e38f87228e978fd1944f9752f114beaf86adf4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3a3304f15300fea0fa2068de03bf84899628dac132fd4e58be4f0fb657119e82
MD5 79087082735ad37f0bee925ded448fa5
BLAKE2b-256 a2e98024ec3e624b080e721c635a57144ed85fdcf2b7fa08d044cd2f94719f56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2b56a6af4442b2d3843607ecb873ea3860ae8752a5db89d6c5954a140706308e
MD5 68c33e60c58089257abb0a28c97906fb
BLAKE2b-256 c0b105ba543d698e87e1353ca5205f88b1b024ceefe8510c9a50539a0f1d010a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 85ca7bb527c724cd3f89d699670d6d3b90cca97838a76aa2dd6c5c318aba23d3
MD5 52081c03476398f60f901273df0f7f5e
BLAKE2b-256 2a7aaff80a765a0ff9af63d224af8243b5d2975c40ac2a1ee6647c11e24499a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0078021888d6a40878fd68bbf118930bea0e938d3e3772cba702eb7983fcc4ff
MD5 54f69926351ceb6c526acde4641039c2
BLAKE2b-256 44a1f3ec2fb3b66f6036952512432cce2c4d802c24cd4c6c008b7812a5a06b5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d157b4b67b97d48c32112ee5ebb8419402237d72977d53dabb1d053b5cebfb1e
MD5 43b31c2773e107a61236c5d3098d1b40
BLAKE2b-256 376dbb59e64a4c6f5b7fa4aed2d5f21bfedf3e823c2c8c4a288a5431d03d7915

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 fe957ea086b1c41a83670bcab2de70735b41ca1b9d5aa46d7ec02d65368f5fe4
MD5 b3e3c9d71eb4fbbd1429beb410908843
BLAKE2b-256 bd8c8132effe6330ee03df3e33f285befe4b2bfb799a8caf5c473a3452c3be4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0d470767d6c9d60e57e1a3b83507aedc6c09342d972594ad0c4a582625b0f72f
MD5 05f4bf05e29d081c837b299d3391158b
BLAKE2b-256 e0e7e0ba56a9e587e611e11fa605a50e84c32555af464d13202a5f3b174fa469

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7ef1611c58525cabda15a80b8a189ffd5f44f41fe347d6e03eed5262071caf4
MD5 6da71e979ea496b646db18480c7e5113
BLAKE2b-256 d7b8e78abce6cc5170e560c0dc69f9a6d3f49900845aeb746c4951d68c157834

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyoxigraph-0.4.0rc2-cp38-abi3-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 ba90adb7287d012114db5a4d9c6cf63740e434ec30b9c912117e1a08c89dfddb
MD5 2805ea7b9eab19c0d2a484e5604cf593
BLAKE2b-256 dc6873022cf760763bc7862f0e06046a04add4420403818fd6e854106b781218

See more details on using hashes here.

File details

Details for the file pyoxigraph-0.4.0rc2-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.0rc2-cp38-abi3-macosx_10_14_x86_64.macosx_11_0_arm64.macosx_10_14_universal2.whl
Algorithm Hash digest
SHA256 71e41ccf8e0ab3a2f8ab50e03ad6ca24b26d6f436f9f055a6a45e2d0a0f1404d
MD5 91001f3d446b7e20c592e6328b09ad53
BLAKE2b-256 76719f6a15c6f0f3863e369720ddeb721176203bbec2c7f43c03b7d7197919d5

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