From f130d41dbc82bd71106e4a606ca52c401aa01708 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 2 Jul 2020 22:07:07 -0400 Subject: [PATCH] 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 --------