Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
Minor fix on 2.1.0
Full release of version 2. The main library API hasn't changed, but various internals have been updated hence this release may be backward-incompatible for users that have built custom extensions upon Ontospy’s internal modules.
Updates
ontodocs
module to gendocs
setup.cfg
and universal build (only py3)See also: http://lambdamusic.github.io/Ontospy/#upgrading-to-v-20
An alpha release of 2.0.0.
More refactoring and code improvement are planned before the full 2.0.0 release!
Ontospy.__computeTopLayer
Ontospy.get_class
and related methods so to have less duplicated code
Ontospy.get_shapes
Ontospy.nextClass
and related methods so to have less duplicated codeOntospy.ontologyClassTree
and related methods so to have less duplicated codeOntospy.get_shapes
so that it enforces URI uniqueness only among shapes URIs. This sets the ground for pull-107.uco_monolithic.ttl
and scigraph
for shapes tests-i
from command linehide_individuals=False
from Ontospy
classformat
parameter to scan
command--verbose
option which was broken in CLIrefactored all 'printing' operations
printDebug
=> stderrprintInfo
=> stdoutclick.secho
updated sigma.js visualization features
pref_title
and pref_language
options to ontospyontospy gendocs -l --preflabel label
|linebreaks
to bestDescription method for better rendering