Metadata-Version: 2.1
Name: safir
Version: 0.1.0
Summary: The LSST SQuaRE framework for Roundtable bots.
Home-page: https://safir.lsst.io
Author: Association of Universities for Research in Astronomy, Inc. (AURA)
Author-email: sqre-admin@lists.lsst.org
License: MIT
Project-URL: Change log, https://safir.lsst.io/changelog.html
Project-URL: Source code, https://github.com/lsst-sqre/safir
Project-URL: Issue tracker, https://github.com/lsst-sqre/safir/issues
Description: ############################################
        Safir is the SQuaRE Framework for Roundtable
        ############################################
        
        Roundtable_ is the SQuaRE application and bot deployment platform, hosted on Kubernetes with Argo CD.
        Safir is a Python package that lets you develop Roundtable bots, based on the `aiohttp.web`_ asyncio web framework.
        
        Install from PyPI:
        
        .. code-block:: bash
        
           pip install safir
        
        The best way to create a new Safir-based Roundtable bot is with the `roundtable_aiohttp_bot`_ template.
        
        Read more about Safir at https://safir.lsst.io
        
        Features
        ========
        
        - Set up an aiohttp.ClientSession as part of the application start up an tear-down lifecycle.
        - Set up structlog-based logging.
        - Middleware for attaching request context to the logger to include a request UUID, method, and route in all log messages.
        - Gather and structure Roundtable-standard metadata about your application.
        
        Developing Safir
        ================
        
        The best way to start contributing to Safir is by cloning this repository creating a virtual environment, and running the init command:
        
        .. code-block:: bash
        
           git clone https://github.com/lsst-sqre/safir.git
           cd safir
           make init
        
        For details, see https://safir.lsst.io/dev/development.html.
        
        .. _Roundtable: https://roundtable.lsst.io
        .. _aiohttp.web: https://docs.aiohttp.org/en/stable/web.html
        .. _roundtable_aiohttp_bot: https://github.com/lsst/templates/tree/master/project_templates/roundtable_aiohttp_bot
        
        ##########
        Change log
        ##########
        
        .. Headline template:
           X.Y.Z (YYYY-MM-DD)
        
        0.1.0 (2020-02-26)
        ==================
        
        - The first release of Safir featuring:
          
          - ``safir.http`` for adding an ``aiohttp.ClientSession`` to your application.
          - ``safir.logging`` for configuring structlog loggers.
          - ``safir.metadata`` helps your gather and structure metadata about your application for publishing on metadata endpoints.
          - ``safir.middleware`` includes a logging middleware that adds a logger with bound context about the request to your Request object.
          - Documentation about these features and a tutorial for starting a new application with the ``roundtable_aiohttp_bot`` template.
        
        MIT License
        
        Copyright (c) 2020 Association of Universities for Research in Astronomy, Inc. (AURA)
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: lsst
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
Provides-Extra: dev
