pymantic
Advanced tools
+1
-1
| Metadata-Version: 2.1 | ||
| Name: pymantic | ||
| Version: 0.2.5 | ||
| Version: 0.2.6 | ||
| Summary: Semantic Web and RDF library for Python | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/norcalrdf/pymantic/ |
| Metadata-Version: 2.1 | ||
| Name: pymantic | ||
| Version: 0.2.5 | ||
| Version: 0.2.6 | ||
| Summary: Semantic Web and RDF library for Python | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/norcalrdf/pymantic/ |
@@ -5,3 +5,3 @@ requests | ||
| rdflib | ||
| lark-parser>=0.7.0 | ||
| lark-parser<0.7.2,>=0.7.0 | ||
| pyld | ||
@@ -8,0 +8,0 @@ |
| # | ||
| version = '0.2.5' | ||
| version = '0.2.6' | ||
| release = version |
@@ -27,7 +27,7 @@ """Parse RDF serialized as jsonld | ||
| def parse_json(self, jobj, sink=None): | ||
| def parse_json(self, jobj, sink=None, options=None): | ||
| if sink is None: | ||
| sink = self._make_graph() | ||
| self._prepare_parse(sink) | ||
| self.process_jobj(jobj) | ||
| self.process_jobj(jobj, options) | ||
| self._cleanup_parse() | ||
@@ -64,5 +64,5 @@ | ||
| def process_jobj(self, jobj): | ||
| def process_jobj(self, jobj, options=None): | ||
| from pyld.jsonld import to_rdf | ||
| dataset = to_rdf(jobj) | ||
| dataset = to_rdf(jobj, options=options) | ||
| for graph_name, triples in dataset.items(): | ||
@@ -69,0 +69,0 @@ graph_iri = ( |
+1
-1
@@ -48,3 +48,3 @@ from setuptools import setup, find_packages | ||
| 'rdflib', | ||
| 'lark-parser>=0.7.0', | ||
| 'lark-parser>=0.7.0,<0.7.2', | ||
| 'pyld', | ||
@@ -51,0 +51,0 @@ ], |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
220354
0.03%