semvec/pypi-packages huggingface dataset:
pyramid-cloudflare-access 1.0.1
A bunch of helpers for successfully running Pyramid on Heroku.
License: BSD-3-Clause
Requires Python: >=3.6
Keywords: pyramid,cloudflare,pylons,web

pyramid_cloudflare_access
=========================

Introduction
------------


Installation
------------

Just do

``pip install pyramid_cloudflare_access``

or

``easy_install pyramid_cloudflare_access``


Compatibility
-------------

pyramid_cloudflare_access runs with pyramid>=1.7 and python>=3.6.
Other versions might also work.


Usage
-----

Add Cloudfalre config to a production.ini::

    pyramid_cloudflare_access.policy_audience = "my_audience"
    pyramid_cloudflare_access.team = "https://team.cloudfare-access.com"


More information can be found at https://developers.cloudflare.com/cloudflare-one/identity/users/validating-json#python-example

Usage example for the tween::

    def main(global_config, **settings):
        config = Configurator(settings=settings)
        config.include('pyramid_cloudflare_access')
        return config.make_wsgi_app()


Releasing
---------

#. Update CHANGES.rst.
#. Update pyproject.toml version.
#. Run ``poetry check``.
#. Run ``poetry publish --build``.


We're hiring!
-------------

At Niteo we regularly contribute back to the Open Source community. If you do too, we'd like to invite you to `join our team
<https://niteo.co/careers/>`_!
flask-grpc 0.1.1
A grpc client for Flask.
License: BSD-3-Clause
Requires Python: >=3.8,<4.0

flask-grpc
====================

A grpc client for Flask.

Usage
-------

init

.. code-block:: python

    channel_wrapper = ChannelWrapper(
        target="gaea-partner-python-grpc-dev-cuwmnyhgmq-uc.a.run.app:443",
        secure=True,
        credentials=grpc.ssl_channel_credentials(),
    )
    channel_wrapper.init_app(app)

    health_stub = StubWrapper(health_pb2_grpc.HealthStub, channel_wrapper)

views

.. code-block:: python

    @app.route("/grpc")
    def grpc_api():
        reply = health_stub.Check(health_pb2.HealthCheckRequest())
        return f"grpc response: {reply}"