Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.

MIT License

Downloads
3.2K
Stars
223
Committers
10
Ontospy - v2.1.1 Latest Release

Published by lambdamusic almost 2 years ago

Minor fix on 2.1.0

Ontospy - v2.1.0

Published by lambdamusic almost 2 years ago

  • D3 visualizations improvements
    • Split pages for different object types
    • Refactor code
Ontospy - v2.0.0

Published by lambdamusic almost 2 years ago

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

  • Remove all Django dependencies, replaced with Jinja2
  • Rename ontodocs module to gendocs
  • Drop support for python2
  • Remove setup.cfg and universal build (only py3)
  • Refactor code / clean up

See also: http://lambdamusic.github.io/Ontospy/#upgrading-to-v-20

Ontospy - 2.0.0-alpha

Published by lambdamusic over 2 years ago

An alpha release of 2.0.0.

More refactoring and code improvement are planned before the full 2.0.0 release!

Ontospy - v 1.9.9.4

Published by lambdamusic almost 3 years ago

December, 2021: v 1.9.9.4

  • Remove deprecated Ontospy.__computeTopLayer
  • Refactor Ontospy.get_class and related methods so to have less duplicated code
    • Added Ontospy.get_shapes
  • Refactor Ontospy.nextClass and related methods so to have less duplicated code
  • Refactor Ontospy.ontologyClassTree and related methods so to have less duplicated code
  • Improve Ontospy.get_shapes so that it enforces URI uniqueness only among shapes URIs. This sets the ground for pull-107.
  • Refactor tests code and clean up tests rdf folder
    • Add uco_monolithic.ttl and scigraph for shapes tests
Ontospy - v1.9.9.3

Published by lambdamusic almost 3 years ago

December, 2021: v 1.9.9.3

Minor release

Ontospy - v 1.9.9.2

Published by lambdamusic almost 3 years ago

v 1.9.9.2

  • Extract individuals (instances) from a graph on-demand
    • Option -i from command line
    • Option hide_individuals=False from Ontospy class
    • All gendocs visualizations updated so to handle instances
  • Improve handling of multi-ontology graphs: ontologies ordered alphabetically by default
  • Add format parameter to scan command
  • Fix for --verbose option which was broken in CLI
Ontospy - v 1.9.9.1

Published by lambdamusic about 3 years ago

  • refactored all 'printing' operations

    • printDebug => stderr
    • printInfo => stdout
    • remove all direct calls to click.secho
    • remove all 'print' statements
  • updated sigma.js visualization features

Ontospy - v 1.9.9

Published by lambdamusic about 3 years ago

  • add pref_title and pref_language options to ontospy
  • update CLI to accept these parameters for documentation generation
    • eg ontospy gendocs -l --preflabel label
  • improve all viz templates to use user provided titles
  • add |linebreaks to bestDescription method for better rendering
  • various code improvements for tests
Ontospy - v1.9.8.3

Published by lambdamusic about 5 years ago

July, 2019: v1.9.8.3

  • gendocs option: no browser prevents opening html viz in browser
  • gendocs -l added as shortcut of --lib
Package Rankings
Top 4.39% on Pypi.org
Badges
Extracted from project README
Downloads Maintenance