semvec/pypi-packages huggingface dataset:
sanic-base-extension 0.2.0
Flask-like extension support for Sanic framework
License: BSD

sanic-base-extension
####################
Flask-like extension support for Sanic framework

Features
========
- Flask-like style initializing and using with Sanic applications
- Easy to write a new extension and use it later

Installation
============
This package should be installed using pip: ::

    pip install sanic-base-extension


Example
=======
.. code-block:: python

    from sanic import Sanic
    from sanic_base_ext import BaseExtension


    class CustomExtension(BaseExtension):
        extension_name = app_attribute = 'custom'

        def hello(self, user):
            print("Hello, {}!".format(user))


    app = Sanic(__name__)
    CustomExtension(app)  # available via `app.custom` or `app.extensions['custom']`
    app.ctx.custom.hello('world')  # Hello, world!

License
=======
The sanic-base-extension is published under BSD license. For more details read LICENSE_ file.

.. _links:
.. _LICENSE: https://github.com/Relrin/sanic-base-extension/blob/master/LICENSE
flake8-ets 1.0.1
flake8 plugin for checking Enthought Tool Suite copyright headers.
License: BSD
Requires Python: >=3.5

Enthought Tool Suite Flake8 plugin
==================================

A `Flake8 <http://pypi.python.org/project/flake8>`_ plugin for Enthought Tool
Suite (`ETS <https://docs.enthought.com/ets>`_).

Currently the plugin checks for ETS copyright headers.