skip to navigation
skip to content

Not Logged In

skosprovider 0.3.0a1

Abstraction layer for SKOS vocabularies.

skosprovider: vocabulary abstraction
====================================

This library helps abstract vocabularies that stick to the SKOS specification.

.. image:: https://travis-ci.org/koenedaele/skosprovider.png?branch=master
        :target: https://travis-ci.org/koenedaele/skosprovider
.. image:: https://badge.fury.io/py/skosprovider.png
        :target: http://badge.fury.io/py/skosprovider

Skosprovider provides an interface that can be included in an application to
allow it to talk to different SKOS vocabularies. These vocabularies could be
defined locally or accessed remotely through webservices.

A sample provider is present in this package, using a simple python dict as
the datastore. Most likely you will want to implement a provider for your own
SKOS, vocabulary or thesaurus system.

Other known providers:

* https://github.com/koenedaele/skosprovider_oe: This providers implements the
  provider interface for the thesauri deliverd by
  https://inventaris.onroerenderfgoed.be/thesaurus


0.3.0 (2013-12-??)
------------------

- Added support for :term:`URI`. A :class:`skosprovider.skos.Concept`,
  :class:`skosprovider.skos.Collection` or
  :class:`skosprovider.skos.ConceptScheme` can now have a :term:`URI`.
- Query a :class:`skosprovider.providers.VocabularyProvider` or the
  :class:`skosprovider.registry.Registry` by :term:`URI`.
- Added :mod:`skosprovider.uri` module to handle generating of :term:`URIS <URI>`.
- Added a :meth:`~skosprovider.providers.VocabularyProvider.get_top_concepts`
  method to :class:`skosprovider.providers.VocabularyProvider`. This method
  returns the Top Concepts in a ConceptScheme (the concepts that don't have
  a broader concept).
- Added the :meth:`~skosprovider.providers.VocabularyProvider.get_top_display`
  and :meth:`~skosprovider.providers.VocabularyProvider.get_children_display`
  methods to handle generating a display hierarchy for a certain provider.

0.2.1 (2013-12-06)
------------------

- Make the :class:`skosprovider.providers.MemoryProvider` forward compatible
  by constructing :class:`skosprovider.skos.Concept` and
  :class:`skosprovider.skos.Collection` objects with keywords.
- Soms minor fixes in documentation.
- Added an extra unit test.

0.2.0 (2013-05-16)
------------------

- Major rewrite and refactoring. Tried to keep BC in place as much as possible,
  but did change some stuff.
- Added a read only SKOS domain model in the :mod:`skosprovider.skos` module.
- Providers no longer return dicts as concepts, but instances of
  :class:`skosprovider.skos.Concept`.
- Added support for skos collections with a
  :class:`skosprovider.skos.Collection` object.
- Expanded concept query syntax. Now allows for querying on type
  (concept or collection) and on collection membership. See
  :meth:`skosprovider.providers.VocabularyProvider.find`.
- Added :func:`skosprovider.utils.dict_dumper`.

0.1.3 (2013-03-22)
------------------

- Find empty label now returns no results
- Find without a label now calls get_all

0.1.2 (2013-02-07)
------------------

- Providers can be removed from the registry
- Added the ability to get a single provider from the registry
- No longer possible to register the same provider twice

0.1.1 (2012-12-11)
------------------

- Some pep8 fixes
- Add support for tox
- Now tested for python 3.2
- Added skos:notes as an example to the unit tests.

0.1.0
-----

- Initial version
 
File Type Py Version Uploaded on Size
skosprovider-0.3.0a1.tar.gz (md5) Source 2014-01-27 11KB
  • Downloads (All Versions):
  • 45 downloads in the last day
  • 276 downloads in the last week
  • 965 downloads in the last month