From f130d41dbc82bd71106e4a606ca52c401aa01708 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 2 Jul 2020 22:07:07 -0400 Subject: [PATCH 1/2] Logo (#261) * Try logo placement * Remove readme header * Experiment with badges * Add space * Update logo * Remove spaces * Update README.rst * Remove header * Update README.rst * Move logo to wiki * Add github badges * Remove github badges * Update docs index page --- README.rst | 77 +++++++++++++++++++++----------------------------- docs/index.rst | 74 ++++++++++++++++++++---------------------------- 2 files changed, 63 insertions(+), 88 deletions(-) diff --git a/README.rst b/README.rst index c88cd6f4..c578d6f5 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,36 @@ -==================================================================== -Dependency Injector - Dependency injection microframework for Python -==================================================================== +.. figure:: https://raw.githubusercontent.com/wiki/ets-labs/python-dependency-injector/img/logo.svg -*Dependency Injector* is a dependency injection microframework for Python. +| + +.. image:: https://img.shields.io/pypi/v/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: Latest Version +.. image:: https://img.shields.io/pypi/l/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: License +.. image:: https://pepy.tech/badge/dependency-injector + :target: https://pepy.tech/project/dependency-injector + :alt: Downloads +.. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: Supported Python versions +.. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: Supported Python implementations +.. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master + :target: https://travis-ci.org/ets-labs/python-dependency-injector + :alt: Build Status +.. image:: http://readthedocs.org/projects/python-dependency-injector/badge/?version=latest + :target: http://python-dependency-injector.ets-labs.org/ + :alt: Docs Status +.. image:: https://coveralls.io/repos/github/ets-labs/python-dependency-injector/badge.svg?branch=master + :target: https://coveralls.io/github/ets-labs/python-dependency-injector?branch=master + :alt: Coverage Status + +What is ``Dependency Injector``? +================================ + +``Dependency Injector`` is a dependency injection microframework for Python. It was designed to be a unified and developer-friendly tool that helps implement a dependency injection design pattern in a formal, pretty, and Pythonic way. @@ -21,47 +49,6 @@ The key features of the *Dependency Injector* framework are: *Dependency Injector* containers and providers are implemented as C extension types using Cython. -Status ------- - -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: Latest Version | -| | .. image:: https://img.shields.io/pypi/l/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: License | -| | .. image:: https://pepy.tech/badge/dependency-injector | -| | :target: https://pepy.tech/project/dependency-injector | -| | :alt: Downloads | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *Python versions and implementations* | .. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: Supported Python versions | -| | .. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: Supported Python implementations | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *Builds and tests coverage* | .. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master | -| | :target: https://travis-ci.org/ets-labs/python-dependency-injector | -| | :alt: Build Status | -| | .. image:: http://readthedocs.org/projects/python-dependency-injector/badge/?version=latest | -| | :target: http://python-dependency-injector.ets-labs.org/ | -| | :alt: Docs Status | -| | .. image:: https://coveralls.io/repos/github/ets-labs/python-dependency-injector/badge.svg?branch=master | -| | :target: https://coveralls.io/github/ets-labs/python-dependency-injector?branch=master | -| | :alt: Coverage Status | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *Github* | .. image:: https://img.shields.io/github/watchers/ets-labs/python-dependency-injector.svg?style=social&label=Watch | -| | :target: https://github.com/ets-labs/python-dependency-injector | -| | :alt: Github watchers | -| | .. image:: https://img.shields.io/github/stars/ets-labs/python-dependency-injector.svg?style=social&label=Star | -| | :target: https://github.com/ets-labs/python-dependency-injector | -| | :alt: Github stargazers | -| | .. image:: https://img.shields.io/github/forks/ets-labs/python-dependency-injector.svg?style=social&label=Fork | -| | :target: https://github.com/ets-labs/python-dependency-injector | -| | :alt: Github forks | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ Installation ------------ diff --git a/docs/index.rst b/docs/index.rst index 11421144..a1b65e9f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,7 +17,37 @@ Dependency Injector --- Dependency injection microframework for Python .. _index: -*Dependency Injector* is a dependency injection microframework for Python. +.. figure:: https://raw.githubusercontent.com/wiki/ets-labs/python-dependency-injector/img/logo.svg + +.. image:: https://img.shields.io/pypi/v/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: Latest Version +.. image:: https://img.shields.io/pypi/l/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: License +.. image:: https://pepy.tech/badge/dependency-injector + :target: https://pepy.tech/project/dependency-injector + :alt: Downloads +.. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: Supported Python versions +.. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg + :target: https://pypi.org/project/dependency-injector/ + :alt: Supported Python implementations +.. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master + :target: https://travis-ci.org/ets-labs/python-dependency-injector + :alt: Build Status +.. image:: http://readthedocs.org/projects/python-dependency-injector/badge/?version=latest + :target: http://python-dependency-injector.ets-labs.org/ + :alt: Docs Status +.. image:: https://coveralls.io/repos/github/ets-labs/python-dependency-injector/badge.svg?branch=master + :target: https://coveralls.io/github/ets-labs/python-dependency-injector?branch=master + :alt: Coverage Status + +What is ``Dependency Injector``? +================================ + +``Dependency Injector`` is a dependency injection microframework for Python. It was designed to be a unified and developer-friendly tool that helps implement a dependency injection design pattern in a formal, pretty, and Pythonic way. @@ -36,48 +66,6 @@ The key features of the *Dependency Injector* framework are: *Dependency Injector* containers and providers are implemented as C extension types using Cython. -Status ------- - -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: Latest Version | -| | .. image:: https://img.shields.io/pypi/l/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: License | -| | .. image:: https://pepy.tech/badge/dependency-injector | -| | :target: https://pepy.tech/project/dependency-injector | -| | :alt: Downloads | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *Python versions and implementations* | .. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: Supported Python versions | -| | .. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg | -| | :target: https://pypi.org/project/dependency-injector/ | -| | :alt: Supported Python implementations | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *Builds and tests coverage* | .. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master | -| | :target: https://travis-ci.org/ets-labs/python-dependency-injector | -| | :alt: Build Status | -| | .. image:: http://readthedocs.org/projects/python-dependency-injector/badge/?version=latest | -| | :target: http://python-dependency-injector.ets-labs.org/ | -| | :alt: Docs Status | -| | .. image:: https://coveralls.io/repos/github/ets-labs/python-dependency-injector/badge.svg?branch=master | -| | :target: https://coveralls.io/github/ets-labs/python-dependency-injector?branch=master | -| | :alt: Coverage Status | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ -| *Github* | .. image:: https://img.shields.io/github/watchers/ets-labs/python-dependency-injector.svg?style=social&label=Watch | -| | :target: https://github.com/ets-labs/python-dependency-injector | -| | :alt: Github watchers | -| | .. image:: https://img.shields.io/github/stars/ets-labs/python-dependency-injector.svg?style=social&label=Star | -| | :target: https://github.com/ets-labs/python-dependency-injector | -| | :alt: Github stargazers | -| | .. image:: https://img.shields.io/github/forks/ets-labs/python-dependency-injector.svg?style=social&label=Fork | -| | :target: https://github.com/ets-labs/python-dependency-injector | -| | :alt: Github forks | -+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+ - Contents -------- From a8135c0628ed2bbacf71f4f0182542b96e000811 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 2 Jul 2020 22:08:12 -0400 Subject: [PATCH 2/2] Bump version to 3.19.2 --- docs/main/changelog.rst | 4 ++++ src/dependency_injector/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index 7e22a364..efee2e3d 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -7,6 +7,10 @@ that were made in every particular version. From version 0.7.6 *Dependency Injector* framework strictly follows `Semantic versioning`_ +3.19.2 +------ +- Add logo. + 3.19.1 ------ - Start distributing wheels for Linux, MacOS, and Windows (thanks to diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index 9728959f..ad50da4c 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Dependency injector top-level package.""" -__version__ = '3.19.1' +__version__ = '3.19.2' """Version number that follows semantic versioning. :type: str