summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix string types for py3Drew Perttula2015-03-311-4/+4
|
* trig serializer corrections to graph label outputDrew Perttula2015-03-292-1/+24
| | | | | Before: "<short:name> {...}" and "<None> {...}" After: "short:name {...}" and "<http://actual/uri/here> {...}"
* trig serializer wasn't including a @prefix line for the first graph's prefixDrew Perttula2015-03-292-16/+16
|
* Merge pull request #473 from joernhees/graphtoolJörn Hees2015-03-183-5/+199
|\ | | | | code to convert an rdflib.Graph into a graph_tool.Graph
| * remove double exclude line as py3 configparser complains otherwiseJoern Hees2015-03-181-2/+1
| |
| * make external_graph_libs tests optional (only run if ext lib is installed)Joern Hees2015-03-183-4/+98
| | | | | | | | | | | | | | | | networkx shouldn't be a dependency of rdflib just to run tests. Also graph_tool heavily depends on C libs and can't easily be installed via pip (or via apt-get on travis). Hence, the doctests are duplicated into proper tests that auto skip if networkx or graph_tool can't be imported.
| * code to convert an rdflib.Graph into a graph_tool.GraphJoern Hees2015-03-151-0/+101
| |
* | Merge pull request #477 from joernhees/test_rdfpipe_fix_envJörn Hees2015-03-181-2/+7
|\ \ | |/ |/| set PYTHONPATH to make rdfpipe tests use the right rdflib version
| * set PYTHONPATH to make rdfpipe tests use the right rdflib versionJoern Hees2015-03-181-2/+7
|/ | | | | | | before this fix, the invocation of rdflib/tools/rdfpipe.py from a subprocess didn't have the current version of rdflib in its path but the one from the virtualenv, which is the one installed as dependency for SPARQLWrapper!
* Merge pull request #476 from joernhees/travis_fuseki_failsafeJörn Hees2015-03-152-10/+20
|\ | | | | | | | | make travis fuseki install more failsafe, fixes #475 [no cci]
| * make travis fuseki install more failsafe, fixes #475Joern Hees2015-03-152-10/+20
|/
* Merge pull request #474 from joernhees/quickfix_fuseki_testsJörn Hees2015-03-151-3/+3
|\ | | | | quickfix: update fuseki version for testing
| * update fuseki version for testingJoern Hees2015-03-151-3/+3
|/
* edge attributes as callables, transformation functions and refactoringJoern Hees2015-03-101-49/+110
|
* Merge pull request #471 from joernhees/networkx_extraJörn Hees2015-03-104-4/+188
|\ | | | | Networkx connector
| * exclude some `def main():` functions from test coverage analysisJoern Hees2015-03-092-3/+3
| |
| * add networkx as test requirementJoern Hees2015-03-092-2/+3
| |
| * code to convert an rdflib.Graph into networkx.((Multi)Di)GraphJoern Hees2015-03-091-0/+183
|/
* Merge pull request #470 from joernhees/rdf_xml_rdf_default_namespaceJörn Hees2015-03-072-9/+24
|\ | | | | fixes #468 RDF/XML problem with unqualified use of rdf:about
| * fixed and improved main rdflib docstring test (4 instead of wrong 9 triples)Joern Hees2015-03-061-6/+21
| |
| * minor: docstring typoJoern Hees2015-03-061-1/+1
| |
| * lookup for unqualified namespace 'about' fixed. fixes #468Kris Maglione2015-03-061-2/+2
| |
* | Merge pull request #466 from joernhees/travis_fusekiJörn Hees2015-03-067-43/+98
|\ \ | | | | | | Running a local fuseki server on travis, closes #460
| * | updated SPARQL(Update)Store's docstrings with recommendations to use Dataset ↵Joern Hees2015-03-061-7/+11
| | | | | | | | | | | | instead of ConjunctiveGraph
| * | run two fuseki servers with different default graph behaviorsJoern Hees2015-03-043-22/+49
| | | | | | | | | | | | | | | | | | On a SPARQLUpdateStore we need two different behaviors for: - Dataset tests: need empty default graph. - ConjunctiveGraph tests: need default graph to be union of all graphs.
| * | updated test comments & added fuseki config parameter unionDefaultGraph=trueJoern Hees2015-03-012-5/+18
| | |
| * | install and run Fuseki, enable sparqlupdate testsGraham Higgins2015-02-263-2/+11
| | |
| * | Update requirementsGraham Higgins2015-02-263-14/+16
| | |
* | | Merge pull request #469 from bcroq/AuditableStore-try-removeJörn Hees2015-03-061-19/+15
|\ \ \ | |_|/ |/| | Don't check for ops in reverseOps before removing it, just try it.
| * | Don't check if an op is in reverseOps before removing it, just try to remove it.Bertrand Croq2015-03-051-19/+15
|/ /
* | Merge pull request #467 from joernhees/graph_set_assertJörn Hees2015-03-041-2/+6
|\ \ | | | | | | added asserts for graph.set([s,p,o]) so s and p aren't None
| * | added asserts for graph.set([s,p,o]) so s and p aren't NoneJoern Hees2015-03-041-2/+6
|/ / | | | | | | | | otherwise this will delete (*, p, *) or (s, *, *) or even (*, *, *) from graph and fails on add which is most likely not what the developer wants.
* | Merge pull request #464 from bcroq/auditable_store_queryJörn Hees2015-02-261-0/+3
|\ \ | | | | | | add `query` method
| * | add `query` methodBertrand Croq2015-02-251-0/+3
| |/
* | Merge pull request #465: use threading.RLock instances as context managersJoern Hees2015-02-251-49/+46
|\ \
| * | threading.RLock instances are context managersBertrand Croq2015-02-251-51/+48
| |/
* | Merge pull request #463 from bcroq/auditable_store_and_orJörn Hees2015-02-251-12/+8
|\ \ | |/ |/| Replace "A and B or C" by "B if A else C"
| * Replace "A and B or C" by "B if A else C"Bertrand Croq2015-02-251-12/+8
|/ | | | | With "A and B or C", when B is a context (ie a graph), Python implicitly calls Graph:__len__. This call can be quite long, we don't need it. More informations here: https://docs.python.org/2/reference/datamodel.html#object.__nonzero__
* Merge pull request #459 from joernhees/sparql_store_empty_literalsJörn Hees2015-02-253-13/+37
|\ | | | | SPARQLStore does not transform Literal('') into Literal('None') anymore, fixes #457
| * added further test for #457 using a local sparql storeJoern Hees2015-02-251-7/+19
| |
| * minor code cleanup removing if False codeJoern Hees2015-02-251-4/+1
| |
| * made test for #457 py3 compatibleJoern Hees2015-02-251-1/+2
| |
| * SPARQLStore does not transform Literal('') into Literal('None') anymore, ↵Joern Hees2015-02-242-3/+17
| | | | | | | | fixes #457
* | Merge pull request #458 from joernhees/perf_all_nodesJörn Hees2015-02-251-3/+3
|\ \ | |/ |/| slight performance increase for graph.all_nodes()
| * slight performance increase for graph.all_nodes()Joern Hees2015-02-241-3/+3
|/ | | | | | | | | | | | | | | | set.update() seems to be faster than union and we can save the set creation overhead: ```python In [1]: %timeit s = set(range(1000)) ; s.update(range(10000)) 1000 loops, best of 3: 419 µs per loop In [2]: %timeit s = set(range(1000)) ; s.update(set(range(10000))) 1000 loops, best of 3: 584 µs per loop In [3]: %timeit s = set(range(1000)) ; s.union(set(range(10000))) 1000 loops, best of 3: 610 µs per loop ```
* removing pip --use-mirrors from travis as it's deprecated for a while nowJoern Hees2015-02-191-6/+6
|
* update supported python versions in setup.pyJoern Hees2015-02-191-2/+1
|
* drop travis testing of Python 3.2 as it alwasy times out, closes #448Joern Hees2015-02-191-1/+1
|
* more explanation for release processJoern Hees2015-02-191-9/+22
|
* new version and dates in license and readme as wellJoern Hees2015-02-192-3/+3
|