Skip to main content

Integration of skosprovider in pyramid

Project description

This library integrates skosprovider in a pyramid application.

https://img.shields.io/pypi/v/pyramid_skosprovider.svg Documentation Status https://app.travis-ci.com/koenedaele/pyramid_skosprovider.png https://img.shields.io/coveralls/koenedaele/pyramid_skosprovider.svg https://scrutinizer-ci.com/g/koenedaele/pyramid_skosprovider/badges/quality-score.png?b=master

Building the docs

More information about this library can be found in docs. The docs can be built using Sphinx.

Please make sure you have installed Sphinx in the same environment where pyramid_skosprovider is present.

# activate your virtual env
$ pip install -r requirements.txt
$ python setup.py develop
$ cd docs
$ make html

1.0.0 (2021-09-14)

  • Drop support for Python 2. (#87)

0.9.2 (2021-01-21)

  • Fix an issue with case insensitive search containing a wildcard. (#82)

0.9.1 (2020-10-19)

  • Add download links to JSON-LD version of concept and conceptscheme to improve user experience. (#78)

  • Remove pyup. (#79)

  • Update soms development dependencies.

0.9.0 (2020-08-06)

  • Support running a registry per request, as opposed to per application as before. (#44)

  • Add the infer_concept_relations attribute to the collection renderer. (#73)

  • Add JSON-LD output to the REST service. (#63)

  • Add support for match and match_type search parameters to search for concepts that match a certain URI and optionally have a certain type. (#68)

  • Drop support for Python 3.4, add support for 3.7 and 3.8. This is the last version that will support Python 2. (#66)

  • Remove the JSON renderers from the utils module.

0.8.0 (2017-07-12)

  • Return an HTTP 404 response when a conceptscheme could not be found. (#24)

  • Add universal wheel distribution. (#23)

  • Add support for sorting on a SortLabel. This means a client can now ask to sort the results either on id, label or sortlabel. See the skosprovider docs for more on the sortlabel. This basically allows for arbitrary sorting per language so it’s possible to eg. sort Historical periods chronologically. (#26) [cahytinne]

0.7.0 (2016-08-11)

  • Sort case insensitive when sorting by label. This is a BC break, although to most users it might actually be a bug fix. (#16) [TalissaJoly]

  • Add the markup attribute to Note json representations. This is a new addition to skosprovider 0.6.0 that allows marking that a note contains some markup (currently only HTML).

  • Looking for a certain URI is now done with a query parameter in stead of in the path of a resource. So, /uris/urn:x-skosprovider:trees should now be called as /uris?uri=urn:x-skosprovider:trees. The old way is deprecated. It will still function under version 0.7.0, but will be removed in a future version. (#19)

  • Add support for the sources attribute, a new feature in skosprovider 0.6.0

  • Add support for languages to Conceptschemes, a new feature in skosprovider 0.6.0 that allows detailing what languages a conceptscheme uses.

  • Move JSON renderers to their own file and fix some language handling issues. (#22)

  • Add support for Python 3.5

0.6.0 (2015-03-02)

  • Allow the client to specify in which language labels should preferentially be returned. This can be chosen by adding a language parameter to certain query strings. If not present, pyramid_skosprovider falls back on pyramid’s locale negotiation. (#10) (#14) [dieuska]

  • Expose a provider’s expand method. This returns the narrower transitive closure for a certain concept or collection. (#11) [dieuska]

  • Some documentation updates.

0.5.0 (2014-12-19)

  • Conceptschemes expose information on the subject they’re tagged with. [BartSaelen]

  • A new search endpoint for searching across conceptschemes was added. Search syntax is the same as for searching within a single scheme, but the collection parameter is not accepted. Two extra parameters were added for limiting the search to a subset of available conceptschemes. (#8)

  • A new endpoint for looking up a certain URI was added. This endpoint does not redirect to an external URI, but lets a client know where more information about this URI can be found (eg. in which conceptscheme a concept lives). (#7)

0.4.0 (2014-10-23)

  • Compatibility with skosprovider 0.4.0

  • Drop support for Python 2.6 and Python 3.2.

  • Expose notes on collections.

  • Expose matches on concepts (collections don’t have matches).

  • Expose subordinate_arrays on concepts and superordinates on collections.

  • Integrate concept scheme information. Concepts and collections passed through the service now contain the uri of the concept scheme they belong to. The concept scheme endpoint now also exposes information like a uri, a list of labels and notes.

0.3.0 (2014-06-24)

  • Expose information about top concepts.

  • Expose information about display top and display children.

  • Fix a bug with returning concepts and collections not on the first page of data through the Range header. (#3)

  • Added support for sorting. (#4, #5) [cedrikv]

0.2.0 (2014-05-14)

  • Compatibility with skosprovider 0.3.0

  • Added service documentation (#1)

0.1.1 (2014-04-10)

  • Code coverage by coveralls.

  • Removed unit tests from resulting package.

  • Moved documentation to Sphinx.

  • Reorganisation of tests.

  • Changed to py.test as testrunner.

  • Some Flake8 fixes.

0.1.0 (2013-05-16)

  • Initial version

  • Includes json views based on the interfaces skosprovider offers.

  • Adds a skosprovider registry to the pyramid request.

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

pyramid_skosprovider-1.0.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

pyramid_skosprovider-1.0.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file pyramid_skosprovider-1.0.0.tar.gz.

File metadata

  • Download URL: pyramid_skosprovider-1.0.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for pyramid_skosprovider-1.0.0.tar.gz
Algorithm Hash digest
SHA256 1b762d9221e569f5cebaa36890ae92dac66a7dad3523b33752dc72788f0fa98e
MD5 0da175f5e5e3bbf4d661cc9158ad3b5e
BLAKE2b-256 2801db8a237a20bb2b3afcc1a5e9afc2714beeca789a248f8c547e1e59493d68

See more details on using hashes here.

File details

Details for the file pyramid_skosprovider-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyramid_skosprovider-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for pyramid_skosprovider-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4e1f2979873f3ba36808b3744f83601cd6370ff7b05680c81df6927dec11e44
MD5 13f22d735084508927e2eeb688be1a49
BLAKE2b-256 4f4f9df5b7865b66841f90756fb0c46d5f08ecc80350dd1d52ae97b5b04494ac

See more details on using hashes here.

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