Skip to main content

Abstraction layer for SKOS vocabularies.

Project description

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

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


History
=======

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skosprovider-0.2.0.tar.gz (10.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page