Skip to content
Python bindings via C for 4store
Python C
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
py4s improvements to support for conjunctive graphs and sparql
COPYING Initial import
README document cython installation a bit better
_py4s.pxd support for deleting triples
py4s_helpers.c Construct support
py4s_helpers.h Construct support
rnode.pyx Force language attribute to lowercase - uppercase tags break
setup.cfg support for deleting triples


Experimental bindings and C client library for 4store by
Copyright 2009 William Waites <>. Distributed
as with 4store under terms of the GNU GPL v3. See the file 
COPYING for details.

The main branch of 4store only has support for one client
process at a time. This means you cannot import data or run
the http server at the same time as using these python bindings.
The branch at has support
for multiple clients but should be considered to be 
bleeding edge code.

Building this package requires Cython from 

You need version 0.12 of greater of Cython, the version you
get with pip or easy_install is fine, the version you get
with apt on debian/ubuntu is too old. This means doing 

	pip install cython

	- or -

	easy_install cython

See the directory tests for some examples of usage. They can
be run with

	nosetests --verbosity=2 -s

Make sure you have an instance of the 4store backend running
serving a KB called py4s_test.

Something went wrong with that request. Please try again.