============================
Twitcher: OWS Security Proxy
============================
.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg
:target: http://twitcher.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3736114.svg
:target: https://doi.org/10.5281/zenodo.3736114
:alt: Zenodo DOI
.. image:: https://github.com/bird-house/twitcher/actions/workflows/tests.yml/badge.svg?branch=master
:target: https://github.com/bird-house/twitcher/actions/workflows/tests.yml
:alt: GitHub Actions Status
.. image:: https://img.shields.io/github/license/bird-house/twitcher.svg
:target: https://github.com/bird-house/twitcher/blob/master/LICENSE.txt
:alt: GitHub license
.. image:: https://badges.gitter.im/bird-house/birdhouse.svg
:target: https://gitter.im/bird-house/birdhouse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
:alt: Join the chat at https://gitter.im/bird-house/birdhouse
Twitcher (the bird-watcher)
*a birdwatcher mainly interested in catching sight of rare birds.* (`Leo <https://dict.leo.org/ende/index_en.html>`_).
Twitcher is a security proxy for OWS services like Web Processing Services (WPS).
The proxy service uses OAuth2 access tokens to protect the OWS service access.
In addition one can also use X.509 certificates for client authentication.
The implementation is not restricted to WPS services.
It will be extended to more OWS services like WMS (Web Map Service)
and might also be used for Thredds catalog services.
Twitcher extensions:
* `Magpie`_ is an AuthN/AuthZ service provided by the `PAVICS`_ project.
* `Weaver`_ middleware by CRIM_. A reimplementation of an old `Twitcher fork <https://github.com/ouranosinc/twitcher/>`_
for workflow execution and a Swagger RESTful interface for Web Processing Services.
Twitcher is implemented with the Python `Pyramid`_ web framework.
You can try Twitcher online using Binder, or view the notebooks on NBViewer.
.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/gh/bird-house/twitcher.git/master?filepath=notebooks
:alt: Binder Launcher
:height: 20
.. image:: https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg
:target: https://nbviewer.jupyter.org/github/bird-house/twitcher/tree/master/notebooks/
:alt: NBViewer
:height: 20
Twitcher is part of the `Birdhouse`_ project. The documentation is on `ReadTheDocs`_.
Twitcher `Docker`_ images are also available for most recent tagged versions.
.. _Birdhouse: http://birdhouse.readthedocs.io/en/latest/
.. _Pyramid: http://www.pylonsproject.org
.. _ReadTheDocs: http://twitcher.readthedocs.io/en/latest/
.. _Magpie: https://github.com/Ouranosinc/Magpie
.. _PAVICS: https://ouranosinc.github.io/pavics-sdi/index.html
.. _Weaver: https://github.com/crim-ca/weaver
.. _CRIM: https://www.crim.ca/en
.. _Swagger: https://swagger.io/
.. _Docker: https://cloud.docker.com/u/birdhouse/repository/docker/birdhouse/twitcher/general
Changes
*******
Unreleased
====================================================================================================================
0.10.0 (2024-07-22)
====================================================================================================================
Changes:
* Drop Python 3.6, 3.7 support.
* Deprecate Python 3.8 (EOL 2024-10 planed, supported until then).
* Add Python 3.12 support.
* Update docker with latest ``python:3.11-alpine3.20`` base.
0.9.0 (2023-02-08)
====================================================================================================================
Changes:
* Add CI workflow tests for Python 3.9, 3.10 and 3.11, and use 3.11 by default for all linting and coverage tests.
* Use Python 3.11 in Dockerfile for latest performance improvements and security fixes.
* Convert comment typing definitions into typing annotations.
0.8.0 (2023-02-01)
====================================================================================================================
Changes:
* Add ``/ows/verify/{service_name}[/{extra_path}]`` endpoint analoguous to ``/ows/proxy/{service_name}[/{extra_path}]``
to only verify if access is granted to this service, for that specific resource path, and for the authenticated user,
without performing the proxied request. This can be employed by servers and external entities to validate that
authorization will be granted for the user without executing potentially heavy computation or large data transfers
from the targeted resource that would otherwise be performed by requesting the ``/ows/proxy`` equivalent location.
One usage example of this feature is using |nginx-auth|_ to verify an alternate resource prior to proxying a service
request that needs authenticated access to the first resource.
* Add the OWS proxy ``send_request`` operation under the ``twitcher.adapter`` interface to allow it applying relevant
proxying adjustments when using derived implementation. The ``DefaultAdapater`` simply calls the original function
that was previously called directly instead of using the adapter's method.
* Removed the ``extra_path`` and ``request_params`` arguments from OWS proxy ``send_request`` to better align them with
arguments from other adapter methods. These parameters are directly retrieved from the ``request`` argument, which was
also provided as input to ``send_request``.
.. _nginx-auth: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/
.. |nginx-auth| replace:: NGINX Authentication Based on Subrequest Result
0.7.0 (2022-05-11)
====================================================================================================================
Changes:
* Add request and response hooks operations to adapter allowing derived implementations to modify OWS proxied requests
and returned responses from the service. The default adapter applies no modifications to the original definitions.
0.6.2 (2021-12-01)
====================================================================================================================
Changes:
* Enforce regeneration of the ``OWSRegistry`` object on each request to avoid incorrect handling by adapters that
require the new transaction or refreshed database session state each time.
0.6.1 (2021-10-27)
====================================================================================================================
Changes:
* Integrate functionality changes of ``0.5.x`` branch back into ``0.6.x``.
* Align ``twitcher.adapter`` features of ``0.6.x`` branch to support ``0.5.x`` behaviour.
* Revert removal of ``ServiceStoreInterface`` to provide relevant implementation details to external adapters.
* Apply missing interface classes as bases to default implementations.
* Add ``owsproxy_uri`` in frontpage response.
* Use ``hybrid_property`` to provide direct ``twitcher.models.Service.verify`` setter instead of protected ``_verify``.
* Add more logging and handling of errors to catch cases where adapter doesn't return a valid ``Service`` instance.
* Add ``scoped_session`` to ``session_factory`` object to ensure distinct connections and transactions are created for
concurrent requests.
0.6.0 (2020-04-01)
====================================================================================================================
Changes:
* Added Keycloak support (`#91 <https://github.com/bird-house/twitcher/issues/91>`_).
* Added Keycloak demo notebook (
`#92 <https://github.com/bird-house/twitcher/issues/92>`_,
`#93 <https://github.com/bird-house/twitcher/issues/93>`_,
`#94 <https://github.com/bird-house/twitcher/issues/94>`_).
* Refactor models definitions (``Service``, ``Client``, ``Token``).
* Refactor ``twitcher.adapter`` instantiation.
* Drop ``rpcinterface`` feature and endpoint.
* Drop ``owsproxy_delegate`` endpoint.
* Drop ``owsproxy_secure`` endpoint.
0.5.6 (2021-09-10)
====================================================================================================================
Changes:
* Add Github Actions workflow to run local tests and Docker smoke tests for pre-validation of features and changes.
* Add Github issue, feature request and pull request templates.
Fixes:
* Pin packages ``pyramid<2``, ``zope.sqlalchemy>=1.5`` and ``sqlalchemy>=1.4,<2`` to avoid errors with conflicting
and upcoming release and features employed in code.
* Fix failing ``cryptography`` package build step in Docker image due to missing ``g++`` and ``rust`` dependencies
(``rust`` installed via ``cargo``).
0.5.5 (2021-01-27)
====================================================================================================================
Fixes:
* Update invalid reference to ``python3-dev`` in docker image.
Travis-CI is also updated to run a smoke test build of this docker image prior to merge to help early detection
of problems prior to deploy triggers from tags.
0.5.4 (2020-10-29)
====================================================================================================================
Changes:
* Replace ``waitress`` by ``gunicorn`` to resolve issue related to slow download of large files (#97).
0.5.3 (2020-02-20)
====================================================================================================================
Changes:
* Reduce log level of ``"failed security check"`` from ``exception`` to ``warning`` as it corresponds to the expected
code behavior (unauthorised access) when ``OWSException`` is raised, instead of dumping an unhandled error traceback.
0.5.2 (2019-07-11)
====================================================================================================================
New Features:
* Adds route ``/info`` which returns contents of ``twitcher.__version__``.
* Adds route `/versions` which returns version details such as `Twitcher` app version and employed adapter version.
Changes:
* Updated ``README.rst`` to match recent development, reference and docker image link.
* Adds URI of ``/info`` and ``/versions`` routes in the frontpage response.
* Corresponding HTTP status codes are returned for raised ``OWSException``.
Fixes:
0.5.1 (2019-05-24)
====================================================================================================================
New Features:
* Add `postgres` extra requirements for when it is used as database driver with ``sqlalchemy``.
Changes:
* Use ``container`` instead of ``config`` for ``AdapterInterface.owsproxy_config`` to match real use cases.
Fixes:
* Improve the adapter import methodology to work with more
use cases (`Ouranosinc/Magpie#182 <https://github.com/Ouranosinc/Magpie/issues/182>`_).
* Fix incorrect setup for bump version within ``Makefile``.
* Fix Twitcher ``main`` including ``twitcher.<module>`` instead of ``.<module>``.
0.5.0 (2019-05-22)
====================================================================================================================
Changes:
* Skipped Buildout (`#49 <https://github.com/bird-house/twitcher/issues/49>`_).
* Replaced mongodb by sqlalchemy (`#51 <https://github.com/bird-house/twitcher/issues/51>`_).
* Simplified ``Makefile`` and skipped conda
targets (`#75 <https://github.com/bird-house/twitcher/issues/75>`_).
* Add ``Makefile`` targets for ``docker``, ``bumpversion`` and ``coverage`` analysis
related tasks (`#67 <https://github.com/bird-house/twitcher/issues/67>`_).
* Removed unused ``config`` module (`#70 <https://github.com/bird-house/twitcher/issues/70>`_).
New Features:
* Provided a ``Dockerfile`` for building `Twitcher`
(`#67 <https://github.com/bird-house/twitcher/issues/67>`_).
* Provide ``AdapterInterface`` to allow overriding store implementations with configuration
setting ``twitcher.adapter`` (`#67 <https://github.com/bird-house/twitcher/issues/67>`_).
* Add version auto-update (number and date) of these 'changes' with ``bump2version``
(`#67 <https://github.com/bird-house/twitcher/issues/67>`_).
Fixes:
* Update requirements with missing dependencies when building docker image.
* Various fixes (
`#71 <https://github.com/bird-house/twitcher/issues/71>`_,
`#72 <https://github.com/bird-house/twitcher/issues/72>`_,
`#73 <https://github.com/bird-house/twitcher/issues/73>`_,
`#74 <https://github.com/bird-house/twitcher/issues/74>`_)
0.4.0 (2019-05-02)
====================================================================================================================
Changes:
* Skipped Python 2.7 support (`#61 <https://github.com/bird-house/twitcher/issues/61>`_).
* Added public URL "purl" (`#58 <https://github.com/bird-house/twitcher/issues/58>`_).
* Added SSL verify option (`#55 <https://github.com/bird-house/twitcher/issues/55>`_).
* Skipped internal WPS (`#52 <https://github.com/bird-house/twitcher/issues/52>`_).
* Moved tests to top-level folder (`#47 <https://github.com/bird-house/twitcher/issues/47>`_).
0.3.8 (2018-09-11)
====================================================================================================================
Fixes:
* Fixed the wps DataInputs params encoding (`#42 <https://github.com/bird-house/twitcher/issues/42>`_).
* Fixed error 400 Contradictory scheme headers (`#40 <https://github.com/bird-house/twitcher/issues/40>`_).
New Features:
* make protected path configurable (`#36 <https://github.com/bird-house/twitcher/issues/36>`_).
0.3.7 (2018-03-13)
====================================================================================================================
Fixes:
* Fixed exclude filter in ``MANIFEST.in``.
New Features:
* Feature `#28 <https://github.com/bird-house/twitcher/issues/28>`_: use request upstream when not using WPS
(e.g download file through ``thredds``).
0.3.6 (2018-03-08)
====================================================================================================================
* Fix PEP8
* Removed unused ``c4i`` option.
* Added ``auth`` option to set authentication method.
* Updated docs for usage of x509 certificates.
New Features:
* Feature `#25 <https://github.com/bird-house/twitcher/issues/25>`_: using x509 certificates for service authentication.
0.3.5 (2018-03-01)
====================================================================================================================
* Fix PEP8.
* Updated makefile.
* Updated buildout recipes.
* Fixed nginx dependency.
* Updated mongodb 3.4.
* Configured csrf in ``xmlrpc``.
* Fixed tutorial example.
* Added readthedocs, licence and chat badges.
0.3.4 (2017-05-05)
====================================================================================================================
* Updated logging.
* Fixed: creates workdir if it does not exist.
0.3.3 (2017-04-27)
====================================================================================================================
* Fixed fetching of access token when service is public.
0.3.2 (2017-01-31)
====================================================================================================================
* Set header ``X-X509-User-Proxy``.
0.3.1 (2017-01-26)
====================================================================================================================
* Fix PEP8.
* Set permission of ``certfile``.
* Added option ``ows-proxy-delegate``.
0.3.0 (2017-01-11)
====================================================================================================================
* Fix PEP8.
* Changed rpc interface.
* Added twitcher.client module.
* Using esgf scls service to get credentials.
* Updated internal pywps to version 4.0.0.
* Using default port 5000.
* Added ipython notebook examples.
* Moved ``namesgenerator`` to top-level.
* Added ``_compat`` module for Python 3.x/2.x compatibility.
* Added ``twitcher.api`` and cleaned up rpcinterface.
* Added ``twitcher.store`` with mongodb and memory implementation.
* Added ``twitcher.datatype`` with ``AccessToken`` and ``Service``.
* Using https port only.
* Using ``OWSExceptions`` on errors in owsproxy.
0.2.4 (2016-12-23)
====================================================================================================================
* Fix PEP8.
* Using ``replace_caps_url`` in ``owsproxy``.
* Pinned ``mongodb=2.6*|3.3.9``.
* Replaced ``service_url`` by ``proxy_url``.
* Added ``wms_130`` and renamed ``wms_111``.
0.2.3 (2016-11-18)
====================================================================================================================
* Fix PEP8.
* Using ``doc2dict``, renamed ``get_service_by_name()``.
* Added support for c4i tokens.
* Updated deps: ``pytest``, ``mongodb``.
* Updated buildout recipes.
* Fixed functional tests.
0.2.2 (2016-08-18)
====================================================================================================================
* Fix PEP8.
* Don't allow duplicate service names.
0.2.1 (2016-08-05)
====================================================================================================================
* Register service with public access.
* WMS services can be registered.
0.2.0 (2016-07-18)
====================================================================================================================
* Updated to new buildout with separated conda environment.
* Replaced nose by pytest.
* Updated installation docs.
0.1.7 (2016-06-09)
====================================================================================================================
Fixes:
* Update of service failed (`#17 <https://github.com/bird-house/twitcher/issues/17>`_).
0.1.6 (2016-06-01)
====================================================================================================================
* Updated docs.
* Renamed Python package to ``pyramid_twitcher``.
* Conda ``environment.yml`` added.
* Using ``get_sane_name()``.
* Replaced ``httplib2`` by ``requests``.
Fixes:
* Don't check token for allowed requests (`#14 <https://github.com/bird-house/twitcher/issues/14>`_).
* Ignore decoding errors of response content (`#13 <https://github.com/bird-house/twitcher/issues/13>`_).
* Fixed twitcher app config: wrong egg name.
0.1.5 (2016-04-22)
====================================================================================================================
* Fixed docs links
0.1.4 (2016-04-19)
====================================================================================================================
* Fixed ``MANIFEST.in``
* Fixed service database index.
* Updated ``Makefile``.
* Added more links to appendix.
0.1.0 (2015-12-07)
====================================================================================================================
Initial Release.
Raw data
{
"_id": null,
"home_page": "https://github.com/bird-house/twitcher.git",
"name": "pyramid-twitcher",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.8",
"maintainer_email": null,
"keywords": "web pyramid twitcher birdhouse wps security proxy ows ogc",
"author": "Carsten Ehbrecht",
"author_email": "ehbrecht@dkrz.de",
"download_url": "https://files.pythonhosted.org/packages/4f/36/8ddd860dd9f5cf519f4c49ee5af44dc5abc9b53f0bbcede9bfc2096eb345/pyramid_twitcher-0.10.0.tar.gz",
"platform": null,
"description": "============================\nTwitcher: OWS Security Proxy\n============================\n\n.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg\n :target: http://twitcher.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n \n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3736114.svg\n :target: https://doi.org/10.5281/zenodo.3736114\n :alt: Zenodo DOI\n\n.. image:: https://github.com/bird-house/twitcher/actions/workflows/tests.yml/badge.svg?branch=master\n :target: https://github.com/bird-house/twitcher/actions/workflows/tests.yml\n :alt: GitHub Actions Status\n\n.. image:: https://img.shields.io/github/license/bird-house/twitcher.svg\n :target: https://github.com/bird-house/twitcher/blob/master/LICENSE.txt\n :alt: GitHub license\n\n.. image:: https://badges.gitter.im/bird-house/birdhouse.svg\n :target: https://gitter.im/bird-house/birdhouse?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n :alt: Join the chat at https://gitter.im/bird-house/birdhouse\n\n\nTwitcher (the bird-watcher)\n *a birdwatcher mainly interested in catching sight of rare birds.* (`Leo <https://dict.leo.org/ende/index_en.html>`_).\n\nTwitcher is a security proxy for OWS services like Web Processing Services (WPS).\nThe proxy service uses OAuth2 access tokens to protect the OWS service access.\nIn addition one can also use X.509 certificates for client authentication.\n\nThe implementation is not restricted to WPS services.\nIt will be extended to more OWS services like WMS (Web Map Service)\nand might also be used for Thredds catalog services.\n\nTwitcher extensions:\n\n* `Magpie`_ is an AuthN/AuthZ service provided by the `PAVICS`_ project.\n* `Weaver`_ middleware by CRIM_. A reimplementation of an old `Twitcher fork <https://github.com/ouranosinc/twitcher/>`_\n for workflow execution and a Swagger RESTful interface for Web Processing Services.\n\nTwitcher is implemented with the Python `Pyramid`_ web framework.\n\nYou can try Twitcher online using Binder, or view the notebooks on NBViewer.\n\n.. image:: https://mybinder.org/badge_logo.svg\n :target: https://mybinder.org/v2/gh/bird-house/twitcher.git/master?filepath=notebooks\n :alt: Binder Launcher\n :height: 20\n\n.. image:: https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg\n :target: https://nbviewer.jupyter.org/github/bird-house/twitcher/tree/master/notebooks/\n :alt: NBViewer\n :height: 20\n\nTwitcher is part of the `Birdhouse`_ project. The documentation is on `ReadTheDocs`_.\n\nTwitcher `Docker`_ images are also available for most recent tagged versions.\n\n.. _Birdhouse: http://birdhouse.readthedocs.io/en/latest/\n.. _Pyramid: http://www.pylonsproject.org\n.. _ReadTheDocs: http://twitcher.readthedocs.io/en/latest/\n.. _Magpie: https://github.com/Ouranosinc/Magpie\n.. _PAVICS: https://ouranosinc.github.io/pavics-sdi/index.html\n.. _Weaver: https://github.com/crim-ca/weaver\n.. _CRIM: https://www.crim.ca/en\n.. _Swagger: https://swagger.io/\n.. _Docker: https://cloud.docker.com/u/birdhouse/repository/docker/birdhouse/twitcher/general\n\n\nChanges\n*******\n\nUnreleased\n====================================================================================================================\n\n0.10.0 (2024-07-22)\n====================================================================================================================\n\nChanges:\n\n* Drop Python 3.6, 3.7 support.\n* Deprecate Python 3.8 (EOL 2024-10 planed, supported until then).\n* Add Python 3.12 support.\n* Update docker with latest ``python:3.11-alpine3.20`` base.\n\n0.9.0 (2023-02-08)\n====================================================================================================================\n\nChanges:\n\n* Add CI workflow tests for Python 3.9, 3.10 and 3.11, and use 3.11 by default for all linting and coverage tests.\n* Use Python 3.11 in Dockerfile for latest performance improvements and security fixes.\n* Convert comment typing definitions into typing annotations.\n\n0.8.0 (2023-02-01)\n====================================================================================================================\n\nChanges:\n\n* Add ``/ows/verify/{service_name}[/{extra_path}]`` endpoint analoguous to ``/ows/proxy/{service_name}[/{extra_path}]``\n to only verify if access is granted to this service, for that specific resource path, and for the authenticated user,\n without performing the proxied request. This can be employed by servers and external entities to validate that\n authorization will be granted for the user without executing potentially heavy computation or large data transfers\n from the targeted resource that would otherwise be performed by requesting the ``/ows/proxy`` equivalent location.\n One usage example of this feature is using |nginx-auth|_ to verify an alternate resource prior to proxying a service\n request that needs authenticated access to the first resource.\n* Add the OWS proxy ``send_request`` operation under the ``twitcher.adapter`` interface to allow it applying relevant\n proxying adjustments when using derived implementation. The ``DefaultAdapater`` simply calls the original function\n that was previously called directly instead of using the adapter's method.\n* Removed the ``extra_path`` and ``request_params`` arguments from OWS proxy ``send_request`` to better align them with\n arguments from other adapter methods. These parameters are directly retrieved from the ``request`` argument, which was\n also provided as input to ``send_request``.\n\n.. _nginx-auth: https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-subrequest-authentication/\n.. |nginx-auth| replace:: NGINX Authentication Based on Subrequest Result\n\n0.7.0 (2022-05-11)\n====================================================================================================================\n\nChanges:\n\n* Add request and response hooks operations to adapter allowing derived implementations to modify OWS proxied requests\n and returned responses from the service. The default adapter applies no modifications to the original definitions.\n\n0.6.2 (2021-12-01)\n====================================================================================================================\n\nChanges:\n\n* Enforce regeneration of the ``OWSRegistry`` object on each request to avoid incorrect handling by adapters that\n require the new transaction or refreshed database session state each time.\n\n0.6.1 (2021-10-27)\n====================================================================================================================\n\nChanges:\n\n* Integrate functionality changes of ``0.5.x`` branch back into ``0.6.x``.\n* Align ``twitcher.adapter`` features of ``0.6.x`` branch to support ``0.5.x`` behaviour.\n* Revert removal of ``ServiceStoreInterface`` to provide relevant implementation details to external adapters.\n* Apply missing interface classes as bases to default implementations.\n* Add ``owsproxy_uri`` in frontpage response.\n* Use ``hybrid_property`` to provide direct ``twitcher.models.Service.verify`` setter instead of protected ``_verify``.\n* Add more logging and handling of errors to catch cases where adapter doesn't return a valid ``Service`` instance.\n* Add ``scoped_session`` to ``session_factory`` object to ensure distinct connections and transactions are created for\n concurrent requests.\n\n0.6.0 (2020-04-01)\n====================================================================================================================\n\nChanges:\n\n* Added Keycloak support (`#91 <https://github.com/bird-house/twitcher/issues/91>`_).\n* Added Keycloak demo notebook (\n `#92 <https://github.com/bird-house/twitcher/issues/92>`_,\n `#93 <https://github.com/bird-house/twitcher/issues/93>`_,\n `#94 <https://github.com/bird-house/twitcher/issues/94>`_).\n* Refactor models definitions (``Service``, ``Client``, ``Token``).\n* Refactor ``twitcher.adapter`` instantiation.\n* Drop ``rpcinterface`` feature and endpoint.\n* Drop ``owsproxy_delegate`` endpoint.\n* Drop ``owsproxy_secure`` endpoint.\n\n0.5.6 (2021-09-10)\n====================================================================================================================\n\nChanges:\n\n* Add Github Actions workflow to run local tests and Docker smoke tests for pre-validation of features and changes.\n* Add Github issue, feature request and pull request templates.\n\nFixes:\n\n* Pin packages ``pyramid<2``, ``zope.sqlalchemy>=1.5`` and ``sqlalchemy>=1.4,<2`` to avoid errors with conflicting\n and upcoming release and features employed in code.\n* Fix failing ``cryptography`` package build step in Docker image due to missing ``g++`` and ``rust`` dependencies\n (``rust`` installed via ``cargo``).\n\n0.5.5 (2021-01-27)\n====================================================================================================================\n\nFixes:\n\n* Update invalid reference to ``python3-dev`` in docker image.\n Travis-CI is also updated to run a smoke test build of this docker image prior to merge to help early detection\n of problems prior to deploy triggers from tags.\n\n0.5.4 (2020-10-29)\n====================================================================================================================\n\nChanges:\n\n* Replace ``waitress`` by ``gunicorn`` to resolve issue related to slow download of large files (#97).\n\n0.5.3 (2020-02-20)\n====================================================================================================================\n\nChanges:\n\n* Reduce log level of ``\"failed security check\"`` from ``exception`` to ``warning`` as it corresponds to the expected\n code behavior (unauthorised access) when ``OWSException`` is raised, instead of dumping an unhandled error traceback.\n\n0.5.2 (2019-07-11)\n====================================================================================================================\n\nNew Features:\n\n* Adds route ``/info`` which returns contents of ``twitcher.__version__``.\n* Adds route `/versions` which returns version details such as `Twitcher` app version and employed adapter version.\n\nChanges:\n\n* Updated ``README.rst`` to match recent development, reference and docker image link.\n* Adds URI of ``/info`` and ``/versions`` routes in the frontpage response.\n* Corresponding HTTP status codes are returned for raised ``OWSException``.\n\nFixes:\n\n0.5.1 (2019-05-24)\n====================================================================================================================\n\nNew Features:\n\n* Add `postgres` extra requirements for when it is used as database driver with ``sqlalchemy``.\n\nChanges:\n\n* Use ``container`` instead of ``config`` for ``AdapterInterface.owsproxy_config`` to match real use cases.\n\nFixes:\n\n* Improve the adapter import methodology to work with more\n use cases (`Ouranosinc/Magpie#182 <https://github.com/Ouranosinc/Magpie/issues/182>`_).\n* Fix incorrect setup for bump version within ``Makefile``.\n* Fix Twitcher ``main`` including ``twitcher.<module>`` instead of ``.<module>``.\n\n0.5.0 (2019-05-22)\n====================================================================================================================\n\nChanges:\n\n* Skipped Buildout (`#49 <https://github.com/bird-house/twitcher/issues/49>`_).\n* Replaced mongodb by sqlalchemy (`#51 <https://github.com/bird-house/twitcher/issues/51>`_).\n* Simplified ``Makefile`` and skipped conda\n targets (`#75 <https://github.com/bird-house/twitcher/issues/75>`_).\n* Add ``Makefile`` targets for ``docker``, ``bumpversion`` and ``coverage`` analysis\n related tasks (`#67 <https://github.com/bird-house/twitcher/issues/67>`_).\n* Removed unused ``config`` module (`#70 <https://github.com/bird-house/twitcher/issues/70>`_).\n\nNew Features:\n\n* Provided a ``Dockerfile`` for building `Twitcher`\n (`#67 <https://github.com/bird-house/twitcher/issues/67>`_).\n* Provide ``AdapterInterface`` to allow overriding store implementations with configuration\n setting ``twitcher.adapter`` (`#67 <https://github.com/bird-house/twitcher/issues/67>`_).\n* Add version auto-update (number and date) of these 'changes' with ``bump2version``\n (`#67 <https://github.com/bird-house/twitcher/issues/67>`_).\n\nFixes:\n\n* Update requirements with missing dependencies when building docker image.\n* Various fixes (\n `#71 <https://github.com/bird-house/twitcher/issues/71>`_,\n `#72 <https://github.com/bird-house/twitcher/issues/72>`_,\n `#73 <https://github.com/bird-house/twitcher/issues/73>`_,\n `#74 <https://github.com/bird-house/twitcher/issues/74>`_)\n\n0.4.0 (2019-05-02)\n====================================================================================================================\n\nChanges:\n\n* Skipped Python 2.7 support (`#61 <https://github.com/bird-house/twitcher/issues/61>`_).\n* Added public URL \"purl\" (`#58 <https://github.com/bird-house/twitcher/issues/58>`_).\n* Added SSL verify option (`#55 <https://github.com/bird-house/twitcher/issues/55>`_).\n* Skipped internal WPS (`#52 <https://github.com/bird-house/twitcher/issues/52>`_).\n* Moved tests to top-level folder (`#47 <https://github.com/bird-house/twitcher/issues/47>`_).\n\n0.3.8 (2018-09-11)\n====================================================================================================================\n\nFixes:\n\n* Fixed the wps DataInputs params encoding (`#42 <https://github.com/bird-house/twitcher/issues/42>`_).\n* Fixed error 400 Contradictory scheme headers (`#40 <https://github.com/bird-house/twitcher/issues/40>`_).\n\nNew Features:\n\n* make protected path configurable (`#36 <https://github.com/bird-house/twitcher/issues/36>`_).\n\n0.3.7 (2018-03-13)\n====================================================================================================================\n\nFixes:\n\n* Fixed exclude filter in ``MANIFEST.in``.\n\nNew Features:\n\n* Feature `#28 <https://github.com/bird-house/twitcher/issues/28>`_: use request upstream when not using WPS\n (e.g download file through ``thredds``).\n\n0.3.6 (2018-03-08)\n====================================================================================================================\n\n* Fix PEP8\n* Removed unused ``c4i`` option.\n* Added ``auth`` option to set authentication method.\n* Updated docs for usage of x509 certificates.\n\nNew Features:\n\n* Feature `#25 <https://github.com/bird-house/twitcher/issues/25>`_: using x509 certificates for service authentication.\n\n0.3.5 (2018-03-01)\n====================================================================================================================\n\n* Fix PEP8.\n* Updated makefile.\n* Updated buildout recipes.\n* Fixed nginx dependency.\n* Updated mongodb 3.4.\n* Configured csrf in ``xmlrpc``.\n* Fixed tutorial example.\n* Added readthedocs, licence and chat badges.\n\n0.3.4 (2017-05-05)\n====================================================================================================================\n\n* Updated logging.\n* Fixed: creates workdir if it does not exist.\n\n0.3.3 (2017-04-27)\n====================================================================================================================\n\n* Fixed fetching of access token when service is public.\n\n0.3.2 (2017-01-31)\n====================================================================================================================\n\n* Set header ``X-X509-User-Proxy``.\n\n0.3.1 (2017-01-26)\n====================================================================================================================\n\n* Fix PEP8.\n* Set permission of ``certfile``.\n* Added option ``ows-proxy-delegate``.\n\n0.3.0 (2017-01-11)\n====================================================================================================================\n\n* Fix PEP8.\n* Changed rpc interface.\n* Added twitcher.client module.\n* Using esgf scls service to get credentials.\n* Updated internal pywps to version 4.0.0.\n* Using default port 5000.\n* Added ipython notebook examples.\n* Moved ``namesgenerator`` to top-level.\n* Added ``_compat`` module for Python 3.x/2.x compatibility.\n* Added ``twitcher.api`` and cleaned up rpcinterface.\n* Added ``twitcher.store`` with mongodb and memory implementation.\n* Added ``twitcher.datatype`` with ``AccessToken`` and ``Service``.\n* Using https port only.\n* Using ``OWSExceptions`` on errors in owsproxy.\n\n0.2.4 (2016-12-23)\n====================================================================================================================\n\n* Fix PEP8.\n* Using ``replace_caps_url`` in ``owsproxy``.\n* Pinned ``mongodb=2.6*|3.3.9``.\n* Replaced ``service_url`` by ``proxy_url``.\n* Added ``wms_130`` and renamed ``wms_111``.\n\n0.2.3 (2016-11-18)\n====================================================================================================================\n\n* Fix PEP8.\n* Using ``doc2dict``, renamed ``get_service_by_name()``.\n* Added support for c4i tokens.\n* Updated deps: ``pytest``, ``mongodb``.\n* Updated buildout recipes.\n* Fixed functional tests.\n\n0.2.2 (2016-08-18)\n====================================================================================================================\n\n* Fix PEP8.\n* Don't allow duplicate service names.\n\n0.2.1 (2016-08-05)\n====================================================================================================================\n\n* Register service with public access.\n* WMS services can be registered.\n\n0.2.0 (2016-07-18)\n====================================================================================================================\n\n* Updated to new buildout with separated conda environment.\n* Replaced nose by pytest.\n* Updated installation docs.\n\n0.1.7 (2016-06-09)\n====================================================================================================================\n\nFixes:\n\n* Update of service failed (`#17 <https://github.com/bird-house/twitcher/issues/17>`_).\n\n0.1.6 (2016-06-01)\n====================================================================================================================\n\n* Updated docs.\n* Renamed Python package to ``pyramid_twitcher``.\n* Conda ``environment.yml`` added.\n* Using ``get_sane_name()``.\n* Replaced ``httplib2`` by ``requests``.\n\nFixes:\n\n* Don't check token for allowed requests (`#14 <https://github.com/bird-house/twitcher/issues/14>`_).\n* Ignore decoding errors of response content (`#13 <https://github.com/bird-house/twitcher/issues/13>`_).\n* Fixed twitcher app config: wrong egg name.\n\n0.1.5 (2016-04-22)\n====================================================================================================================\n\n* Fixed docs links\n\n0.1.4 (2016-04-19)\n====================================================================================================================\n\n* Fixed ``MANIFEST.in``\n* Fixed service database index.\n* Updated ``Makefile``.\n* Added more links to appendix.\n\n0.1.0 (2015-12-07)\n====================================================================================================================\n\nInitial Release.\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "Security Proxy for OGC Services like WPS.",
"version": "0.10.0",
"project_urls": {
"Homepage": "https://github.com/bird-house/twitcher.git"
},
"split_keywords": [
"web",
"pyramid",
"twitcher",
"birdhouse",
"wps",
"security",
"proxy",
"ows",
"ogc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2bde4d3d16919c4b8602cfbd65b7771ed5cafbda17f23062bfe14a8a5a1f8655",
"md5": "99b83c2fe65edf689d9136ea451d7045",
"sha256": "d918c8c3f48aeb2aff93c7e8e779ef2ae12e94f6e88fc4cce185be25e2cfaff3"
},
"downloads": -1,
"filename": "pyramid_twitcher-0.10.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "99b83c2fe65edf689d9136ea451d7045",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.8",
"size": 61884,
"upload_time": "2024-07-23T20:00:49",
"upload_time_iso_8601": "2024-07-23T20:00:49.849883Z",
"url": "https://files.pythonhosted.org/packages/2b/de/4d3d16919c4b8602cfbd65b7771ed5cafbda17f23062bfe14a8a5a1f8655/pyramid_twitcher-0.10.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4f368ddd860dd9f5cf519f4c49ee5af44dc5abc9b53f0bbcede9bfc2096eb345",
"md5": "9fa954279d4b4b0115edba7bd1eff2ed",
"sha256": "727afaa4b280d4c23ed872bf2ee02cbbf3ff101ec0bac185329165200ffb1ca5"
},
"downloads": -1,
"filename": "pyramid_twitcher-0.10.0.tar.gz",
"has_sig": false,
"md5_digest": "9fa954279d4b4b0115edba7bd1eff2ed",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.8",
"size": 54153,
"upload_time": "2024-07-23T20:00:51",
"upload_time_iso_8601": "2024-07-23T20:00:51.630236Z",
"url": "https://files.pythonhosted.org/packages/4f/36/8ddd860dd9f5cf519f4c49ee5af44dc5abc9b53f0bbcede9bfc2096eb345/pyramid_twitcher-0.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-23 20:00:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bird-house",
"github_project": "twitcher",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pyramid",
"specs": [
[
">=",
"1.10"
],
[
"<",
"2"
]
]
},
{
"name": "webob",
"specs": []
},
{
"name": "argcomplete",
"specs": []
},
{
"name": "pytz",
"specs": []
},
{
"name": "lxml",
"specs": []
},
{
"name": "pyopenssl",
"specs": []
},
{
"name": "cornice",
"specs": []
},
{
"name": "cornice_swagger",
"specs": []
},
{
"name": "colander",
"specs": []
},
{
"name": "pyramid_debugtoolbar",
"specs": []
},
{
"name": "plaster_pastedeploy",
"specs": []
},
{
"name": "gunicorn",
"specs": []
},
{
"name": "waitress",
"specs": []
},
{
"name": "pyramid_retry",
"specs": []
},
{
"name": "pyramid_tm",
"specs": []
},
{
"name": "alembic",
"specs": []
},
{
"name": "sqlalchemy",
"specs": [
[
"<",
"2"
],
[
">=",
"1.3"
]
]
},
{
"name": "transaction",
"specs": []
},
{
"name": "zope.sqlalchemy",
"specs": [
[
"!=",
"1.4.*"
],
[
">=",
"1.3"
]
]
},
{
"name": "pyramid_oauthlib",
"specs": [
[
">=",
"0.4.1"
]
]
},
{
"name": "oauthlib",
"specs": [
[
"<",
"3"
]
]
},
{
"name": "requests",
"specs": [
[
">=",
"2.32.2"
]
]
},
{
"name": "requests_oauthlib",
"specs": [
[
"<",
"1.2.0"
]
]
},
{
"name": "PyJWT",
"specs": [
[
">=",
"2"
]
]
},
{
"name": "setuptools",
"specs": [
[
">=",
"71.0.3"
]
]
},
{
"name": "urllib3",
"specs": [
[
">=",
"2.2.2"
]
]
},
{
"name": "zipp",
"specs": [
[
">=",
"3.19.1"
]
]
}
],
"lcname": "pyramid-twitcher"
}