Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pymantic

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pymantic - npm Package Compare versions

Comparing version
0.2.5
to
0.2.6
+1
-1
PKG-INFO
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 = (

@@ -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 @@ ],