Metadata-Version: 2.1
Name: pyramid-is-live
Version: 0.1.0.post4
Summary: Add is_live to your Pyramid requests
Home-page: UNKNOWN
License: MIT
Description: pyramid-is-live
        ===============
        
        .. image:: https://travis-ci.com/GoodRx/pyramid-is-live.svg
           :target: https://travis-ci.com/GoodRx/pyramid-is-live
        
        ``pyramid-is-live`` uses a tween to add an ``is_live`` property to Pyramid
        requests, which is ``True`` if the request came from a HTTP interaction and
        ``False`` otherwise, e.g. if the request came from ``pyramid.paster.bootstrap``.
        
        Getting Started
        ---------------
        
        1. Install this package::
        
              pip install pyramid-is-live
        
        2. Include it in your application startup:
        
           .. code-block:: python
        
              def main(global_config, **settings):
                  config = Configurator(...)
                  config.include("pyramid_is_live")
                  ...
        
        3. Use ``request.is_live`` in your views and scripts!
        
        Contributing
        ------------
        
        We use `tox <https://tox.readthedocs.io/en/latest/>`_ to run our tests and
        linters.
        
        Run ``tox`` to run all tests and linters.
        
        Run ``tox -e format`` to reformat your code using `Black
        <https://black.readthedocs.io/en/stable/>`_ and `isort
        <https://github.com/timothycrosley/isort>`_.
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Framework :: Pyramid
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/x-rst
