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

funowl

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

funowl - npm Package Compare versions

Comparing version
0.1.14
to
0.2.0
+1
-1
funowl.egg-info/pbr.json

@@ -1,1 +0,1 @@

{"git_version": "0db9f7a", "is_release": false}
{"git_version": "be4b339", "is_release": false}
Metadata-Version: 1.2
Name: funowl
Version: 0.1.14
Version: 0.2.0
Summary: Python rendering of the OWL Functional syntax

@@ -5,0 +5,0 @@ Home-page: http://biolink.github.io/hsolbrig

@@ -5,3 +5,3 @@ bcp47

rdflib-shim
rdflib==6.2.0
rdflib<7,>=6.2.0
rfc3987

@@ -10,3 +10,3 @@ [[source]]

[packages]
rdflib = ">=6.2.0, <8"
rdflib = ">=6.2.0, <7"
rdflib-shim = "*"

@@ -13,0 +13,0 @@ pyjsg = ">=0.11.6"

Metadata-Version: 1.2
Name: funowl
Version: 0.1.14
Version: 0.2.0
Summary: Python rendering of the OWL Functional syntax

@@ -5,0 +5,0 @@ Home-page: http://biolink.github.io/hsolbrig

@@ -17,3 +17,3 @@ ################################################################################

rdflib-shim
rdflib==6.2.0
rdflib>=6.2.0,<7
rfc3987

@@ -16,3 +16,3 @@ import logging

# community promises to fix it (some day...). For now, we won't run tests on this version
RDFLIB_PREFIXES_ARE_BROKEN = rdflib.__version__ == "6.1.1"
PREFIXES_BROKEN_MESSAGE = "rdflib 6.1.1 emits a LOT of prefixes. Test skipped!"
RDFLIB_PREFIXES_ARE_BROKEN = rdflib.__version__ >= "6.1.1"
PREFIXES_BROKEN_MESSAGE = "rdflib 6.1.1+ emits a LOT of prefixes. Test skipped!"

@@ -50,3 +50,3 @@ import unittest

<http://example.org/a#Bob> a owl:NamedIndividual .""", g.serialize(format="turtle").decode().strip())
<http://example.org/a#Bob> a owl:NamedIndividual .""", g.serialize(format="turtle").strip())

@@ -83,3 +83,3 @@ def test_classassertion(self):

ns1:Stewie a <http://www.w3.org/2002/07/owl#NamedIndividual> .""", g.serialize(format='turtle').decode())
ns1:Stewie a <http://www.w3.org/2002/07/owl#NamedIndividual> .""", g.serialize(format='turtle'))
if diff:

@@ -86,0 +86,0 @@ print(diff)

@@ -60,3 +60,3 @@ import unittest

g.bind('dct', DCTERMS)
owlrdf = g.serialize(format='turtle').decode().strip()
owlrdf = g.serialize(format='turtle').strip()
# print(owlrdf)

@@ -63,0 +63,0 @@ self.assertEqual(expected.strip(), owlrdf)

@@ -8,2 +8,4 @@ import unittest

from tests import RDFLIB_PREFIXES_ARE_BROKEN, PREFIXES_BROKEN_MESSAGE
# Make sure the import above works

@@ -44,3 +46,3 @@ shimed = rdflib_shim.RDFLIB_SHIM

using_rdflib_v6 = rdflib.__version__ >= "6.2"
using_rdflib_v6 = rdflib.__version__ >= "6.2" and rdflib.__version__ < "7.0"
using_rdflib_v5 = rdflib.__version__.startswith("5.0.0")

@@ -176,2 +178,4 @@

@unittest.skipIf(RDFLIB_PREFIXES_ARE_BROKEN, PREFIXES_BROKEN_MESSAGE)
def test_three_turtle_namespaces(self):

@@ -178,0 +182,0 @@ """ Examine how rdflib handles two namespaces and a default w/ same URI """

@@ -25,3 +25,3 @@ import unittest

YOURNS:SAM YOURNS:SAM YOURNS:SAM .""", g.serialize(format="turtle").decode().strip())
YOURNS:SAM YOURNS:SAM YOURNS:SAM .""", g.serialize(format="turtle").strip())

@@ -28,0 +28,0 @@

@@ -117,3 +117,3 @@ import logging

g.parse(data=xml_txt)
write_conversion(subj, g.serialize(format="turtle").decode(), 'ttl')
write_conversion(subj, g.serialize(format="turtle"), 'ttl')
except ParserError as e:

@@ -120,0 +120,0 @@ errors[subj] = str(e)

@@ -82,3 +82,3 @@ import logging

# return '\n'.join(sorted([f"{n_rdf(s)} {n_rdf(p)} {n_rdf(o)} ." for s, p, o in list(g)]))
return g.serialize(format="turtle").decode()
return g.serialize(format="turtle")

@@ -129,3 +129,3 @@

ontology_2.to_rdf(roundtrip_rdf)
logging.info('\n========== Round Trip RDF =================\n' + roundtrip_rdf.serialize(format="turtle").decode())
logging.info('\n========== Round Trip RDF =================\n' + roundtrip_rdf.serialize(format="turtle"))

@@ -132,0 +132,0 @@ # 5) Make sure that the RDF representation stll matches

@@ -42,3 +42,3 @@ import re

"""
g_text = re.sub(r'@prefix.*\n', '', g.serialize(format="turtle").decode())
g_text = re.sub(r'@prefix.*\n', '', g.serialize(format="turtle"))
print(g_text)

@@ -45,0 +45,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet