pyramid-skosprovider


Namepyramid-skosprovider JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/OnroerendErfgoed/pyramid_skosprovider
SummaryIntegration of skosprovider in pyramid
upload_time2023-10-21 11:51:18
maintainer
docs_urlNone
authorKoen Van Daele
requires_python
licenseMIT
keywords pyramid skos skosprovider thesauri vocabularies
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            pyramid_skosprovider
====================

This library integrates skosprovider_ in a pyramid application.

.. image:: https://img.shields.io/pypi/v/pyramid_skosprovider.svg
        :target: https://pypi.python.org/pypi/pyramid_skosprovider
.. image:: https://readthedocs.org/projects/pyramid-skosprovider/badge/?version=latest
        :target: https://readthedocs.org/projects/pyramid-skosprovider/?badge=latest
        :alt: Documentation Status

.. image:: https://app.travis-ci.com/OnroerendErfgoed/pyramid_skosprovider.png
        :target: https://app.travis-ci.com/OnroerendErfgoed/pyramid_skosprovider
.. image:: https://coveralls.io/repos/github/OnroerendErfgoed/pyramid_skosprovider/badge.svg?branch=develop
        :target: https://coveralls.io/github/OnroerendErfgoed/pyramid_skosprovider?branch=develop
.. image:: https://scrutinizer-ci.com/g/OnroerendErfgoed/pyramid_skosprovider/badges/quality-score.png?b=develop
        :target: https://scrutinizer-ci.com/g/OnroerendErfgoed/pyramid_skosprovider/?branch=develop


Building the docs
-----------------

More information about this library can be found in `docs`. The docs can be 
built using `Sphinx <http://sphinx-doc.org>`_.

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

.. code-block:: bash

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

.. _skosprovider: https://github.com/OnroerendErfgoed/skosprovider


1.2.1 (2023-10-21)
------------------

- Update Pyramid dependency to 2.0.2
- Add a ReadTheDocs config file (#104)
- Better handling of rendering a list of conceptschemes when one is unreachable. 
  This ensures that most providers can be listed, but possibly with the
  URI as the label if the provider is unresponsive. (#101)

1.2.0 (2023-03-08)
------------------

- Add missing @context in JSON-lD context (#95)
- Drop support for Python 3.6 and 3.7, add support for 3.10 and 3.11

**Attention!** Querying for a uri with a path in the URL as opposed to a query
parameter has been deprecated since version 0.7.0 and will be removed in
the upcoming 2.0 release. Please make sure to update your code.

1.1.0 (2021-12-21)
------------------

- upgrade requirements (#88)
- add CITATION.cff (#91)

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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OnroerendErfgoed/pyramid_skosprovider",
    "name": "pyramid-skosprovider",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pyramid skos skosprovider thesauri vocabularies",
    "author": "Koen Van Daele",
    "author_email": "koen_van_daele@telenet.be",
    "download_url": "https://files.pythonhosted.org/packages/dd/6b/6e3b23db48408b42f44b57b56eba1520e4402b04f1e40102bf46bb4b8616/pyramid_skosprovider-1.2.1.tar.gz",
    "platform": null,
    "description": "pyramid_skosprovider\n====================\n\nThis library integrates skosprovider_ in a pyramid application.\n\n.. image:: https://img.shields.io/pypi/v/pyramid_skosprovider.svg\n        :target: https://pypi.python.org/pypi/pyramid_skosprovider\n.. image:: https://readthedocs.org/projects/pyramid-skosprovider/badge/?version=latest\n        :target: https://readthedocs.org/projects/pyramid-skosprovider/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://app.travis-ci.com/OnroerendErfgoed/pyramid_skosprovider.png\n        :target: https://app.travis-ci.com/OnroerendErfgoed/pyramid_skosprovider\n.. image:: https://coveralls.io/repos/github/OnroerendErfgoed/pyramid_skosprovider/badge.svg?branch=develop\n        :target: https://coveralls.io/github/OnroerendErfgoed/pyramid_skosprovider?branch=develop\n.. image:: https://scrutinizer-ci.com/g/OnroerendErfgoed/pyramid_skosprovider/badges/quality-score.png?b=develop\n        :target: https://scrutinizer-ci.com/g/OnroerendErfgoed/pyramid_skosprovider/?branch=develop\n\n\nBuilding the docs\n-----------------\n\nMore information about this library can be found in `docs`. The docs can be \nbuilt using `Sphinx <http://sphinx-doc.org>`_.\n\nPlease make sure you have installed Sphinx in the same environment where \npyramid_skosprovider is present.\n\n.. code-block:: bash\n\n    # activate your virtual env\n    $ pip install -r requirements.txt\n    $ python setup.py develop\n    $ cd docs\n    $ make html\n\n.. _skosprovider: https://github.com/OnroerendErfgoed/skosprovider\n\n\n1.2.1 (2023-10-21)\n------------------\n\n- Update Pyramid dependency to 2.0.2\n- Add a ReadTheDocs config file (#104)\n- Better handling of rendering a list of conceptschemes when one is unreachable. \n  This ensures that most providers can be listed, but possibly with the\n  URI as the label if the provider is unresponsive. (#101)\n\n1.2.0 (2023-03-08)\n------------------\n\n- Add missing @context in JSON-lD context (#95)\n- Drop support for Python 3.6 and 3.7, add support for 3.10 and 3.11\n\n**Attention!** Querying for a uri with a path in the URL as opposed to a query\nparameter has been deprecated since version 0.7.0 and will be removed in\nthe upcoming 2.0 release. Please make sure to update your code.\n\n1.1.0 (2021-12-21)\n------------------\n\n- upgrade requirements (#88)\n- add CITATION.cff (#91)\n\n1.0.0 (2021-09-14)\n------------------\n\n- Drop support for Python 2. (#87)\n\n0.9.2 (2021-01-21)\n------------------\n\n- Fix an issue with case insensitive search containing a wildcard. (#82)\n\n0.9.1 (2020-10-19)\n------------------\n\n- Add download links to JSON-LD version of concept and conceptscheme to improve\n  user experience. (#78)\n- Remove pyup. (#79)\n- Update soms development dependencies.\n\n0.9.0 (2020-08-06)\n------------------\n\n- Support running a registry per request, as opposed to per application as\n  before. (#44)\n- Add the `infer_concept_relations` attribute to the collection renderer. (#73)\n- Add JSON-LD output to the REST service. (#63)\n- Add support for match and match_type search parameters to search for concepts\n  that match a certain URI and optionally have a certain type. (#68)\n- Drop support for Python 3.4, add support for 3.7 and 3.8. This is the last version\n  that will support Python 2. (#66)\n- Remove the JSON renderers from the utils module.\n\n0.8.0 (2017-07-12)\n------------------\n\n- Return an HTTP 404 response when a conceptscheme could not be found. (#24)\n- Add universal wheel distribution. (#23)\n- Add support for sorting on a SortLabel. This means a client can now ask to\n  sort the results either on `id`, `label` or `sortlabel`. See the\n  `skosprovider` docs for more on the `sortlabel`. This basically allows for\n  arbitrary sorting per language so it's possible to eg. sort Historical\n  periods chronologically. (#26) [cahytinne] \n\n0.7.0 (2016-08-11)\n------------------\n\n- Sort case insensitive when sorting by label. This is a BC break, although \n  to most users it might actually be a bug fix. (#16) [TalissaJoly]\n- Add the markup attribute to Note json representations. This is a new addition\n  to skosprovider 0.6.0 that allows marking that a note contains some markup\n  (currently only HTML).\n- Looking for a certain URI is now done with a query parameter in stead of in\n  the path of a resource. So, `/uris/urn:x-skosprovider:trees` should now be\n  called as `/uris?uri=urn:x-skosprovider:trees`. The old way is deprecated. It\n  will still function under version `0.7.0`, but will be removed in a future\n  version. (#19)\n- Add support for the sources attribute, a new feature in skosprovider 0.6.0\n- Add support for languages to Conceptschemes, a new feature in skosprovider\n  0.6.0 that allows detailing what languages a conceptscheme uses.\n- Move JSON renderers to their own file and fix some language handling issues.\n  (#22)\n- Add support for Python 3.5\n\n0.6.0 (2015-03-02)\n------------------\n\n- Allow the client to specify in which language labels should preferentially\n  be returned. This can be chosen by adding a ``language`` parameter to\n  certain query strings. If not present, pyramid_skosprovider falls back on \n  pyramid's locale negotiation. (#10) (#14) [dieuska]\n- Expose a provider's expand method. This returns the narrower transitive \n  closure for a certain concept or collection. (#11) [dieuska]\n- Some documentation updates.\n\n0.5.0 (2014-12-19)\n------------------\n\n- Conceptschemes expose information on the subject they're tagged with. [BartSaelen]\n- A new search endpoint for searching across conceptschemes was added. Search\n  syntax is the same as for searching within a single scheme, but the collection\n  parameter is not accepted. Two extra parameters were added for limiting the\n  search to a subset of available conceptschemes. (#8)\n- A new endpoint for looking up a certain URI was added. This endpoint does not\n  redirect to an external URI, but lets a client know where more information\n  about this URI can be found (eg. in which conceptscheme a concept lives). (#7)\n\n0.4.0 (2014-10-23)\n------------------\n\n- Compatibility with skosprovider 0.4.0\n- Drop support for Python 2.6 and Python 3.2.\n- Expose notes on collections.\n- Expose matches on concepts (collections don't have matches).\n- Expose subordinate_arrays on concepts and superordinates on collections.\n- Integrate concept scheme information. Concepts and collections passed through \n  the service now contain the uri of the concept scheme they belong to. The \n  concept scheme endpoint now also exposes information like a uri, a list of \n  labels and notes.\n\n0.3.0 (2014-06-24)\n------------------\n\n- Expose information about top concepts.\n- Expose information about display top and display children.\n- Fix a bug with returning concepts and collections not on the first page\n  of data through the Range header. (#3)\n- Added support for sorting. (#4, #5) [cedrikv]\n\n0.2.0 (2014-05-14)\n------------------\n\n- Compatibility with skosprovider 0.3.0\n- Added service documentation (#1)\n\n0.1.1 (2014-04-10)\n------------------\n\n- Code coverage by coveralls.\n- Removed unit tests from resulting package.\n- Moved documentation to Sphinx.\n- Reorganisation of tests.\n- Changed to py.test as testrunner.\n- Some Flake8 fixes.\n\n0.1.0 (2013-05-16)\n------------------\n\n- Initial version\n- Includes json views based on the interfaces skosprovider offers.\n- Adds a skosprovider registry to the pyramid request.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Integration of skosprovider in pyramid",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/OnroerendErfgoed/pyramid_skosprovider"
    },
    "split_keywords": [
        "pyramid",
        "skos",
        "skosprovider",
        "thesauri",
        "vocabularies"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d974775c6df07a916e5cc60d5f4021a64d9c81702fd7e16db922f0d48f4df271",
                "md5": "43a5e424ad0c8ed73104975d3ee94abc",
                "sha256": "be8d7b0a61cf6ce0c4e0720e20caef848cb8b22a1057a8e9e2f111e5822a51a0"
            },
            "downloads": -1,
            "filename": "pyramid_skosprovider-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "43a5e424ad0c8ed73104975d3ee94abc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 21010,
            "upload_time": "2023-10-21T11:51:16",
            "upload_time_iso_8601": "2023-10-21T11:51:16.411117Z",
            "url": "https://files.pythonhosted.org/packages/d9/74/775c6df07a916e5cc60d5f4021a64d9c81702fd7e16db922f0d48f4df271/pyramid_skosprovider-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dd6b6e3b23db48408b42f44b57b56eba1520e4402b04f1e40102bf46bb4b8616",
                "md5": "b4b9a45de3c766942f499968a7f9e555",
                "sha256": "c3c9c25ccd026e962ef4e62f6fcc65893a01dfd58fd91f6c9a91010f50652983"
            },
            "downloads": -1,
            "filename": "pyramid_skosprovider-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b4b9a45de3c766942f499968a7f9e555",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 20899,
            "upload_time": "2023-10-21T11:51:18",
            "upload_time_iso_8601": "2023-10-21T11:51:18.398925Z",
            "url": "https://files.pythonhosted.org/packages/dd/6b/6e3b23db48408b42f44b57b56eba1520e4402b04f1e40102bf46bb4b8616/pyramid_skosprovider-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-21 11:51:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OnroerendErfgoed",
    "github_project": "pyramid_skosprovider",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "pyramid-skosprovider"
}
        
Elapsed time: 0.12717s