Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
oxigraph/python
Tpt d986ae526b Python: Removes hack making stdist build work 3 years ago
..
docs Fixes typos in the documentation 3 years ago
src Fixes typos in the documentation 3 years ago
tests Python: let the underlying Python errors go through Oxigraph 3 years ago
Cargo.lock Python: Adds lockfile to source archive 3 years ago
Cargo.toml Starts developing v0.3.0-beta.3 3 years ago
README.md Fixes typos in the documentation 3 years ago
pyproject.toml Python: Removes hack making stdist build work 3 years ago

README.md

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).

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.

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

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.