From 498576f86bd78bc12ad2472653c1e9e0f639feab Mon Sep 17 00:00:00 2001 From: Igor Davydenko Date: Sat, 13 May 2017 16:52:49 +0300 Subject: [PATCH] More badges to README. Prepare project to first PyPI release. --- CHANGELOG.rst | 6 +++++- LICENSE | 25 +++++++++++++++++++++++++ README.rst | 12 ++++++++++++ setup.py | 2 +- 4 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 85c9e2b..9dfbb55 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,7 @@ 0.1.0 (In Development) +====================== -- Initial release +0.1.0a1 (2017-05-13) +==================== + +- Initial release. Implements timeout middleware diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2df38e1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) 2013-2017, Igor Davydenko +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of the rororo nor the names of its contributors may be use + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.rst b/README.rst index ee0b101..986a1bd 100644 --- a/README.rst +++ b/README.rst @@ -6,6 +6,18 @@ aiohttp-middlewares :target: https://circleci.com/gh/playpauseandstop/aiohttp-middlewares :alt: CircleCI +.. image:: https://img.shields.io/pypi/v/aiohttp-middlewares.svg + :target: https://pypi.org/project/aiohttp-middlewares/ + :alt: Latest Version + +.. image:: https://img.shields.io/pypi/pyversions/aiohttp-middlewares.svg + :target: https://pypi.org/project/aiohttp-middlewares/ + :alt: Python versions + +.. image:: https://img.shields.io/pypi/l/aiohttp-middlewares.svg + :target: https://github.com/playpauseandstop/aiohttp-middlewares/blob/master/LICENSE + :alt: BSD License + .. image:: https://coveralls.io/repos/playpauseandstop/aiohttp-middlewares/badge.svg?branch=master&service=github :target: https://coveralls.io/github/playpauseandstop/aiohttp-middlewares :alt: Coverage diff --git a/setup.py b/setup.py index d96182b..8b2bb4a 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( - name='aiohttp_middlewares', + name='aiohttp-middlewares', version=VERSION, description='Collection useful middleware for aiohttp appliactions.', long_description=README,