{"library":"rdflib-shim","title":"rdflib-shim","description":"rdflib-shim is a compatibility layer that smooths over breaking changes between rdflib 5 and 6, allowing code written for rdflib 5 to work with rdflib 6 without modification. Version 1.0.3 (latest) requires Python >=3.7. The library is maintained but low-churn (last release 2022).","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install rdflib-shim"],"cli":null},"imports":["import rdflib_shim"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import rdflib_shim\nfrom rdflib import Graph, URIRef, Literal\n\ng = Graph()\ng.parse('http://example.org/test.ttl', format='turtle')\nfor s, p, o in g:\n    print(s, p, o)\n","lang":"python","description":"Import the shim first, then use rdflib as usual with rdflib 6.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}