mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-06 22:50:52 +03:00
Update README, docs and setup.py with new description
This commit is contained in:
parent
b43a96d743
commit
b5e07c42e6
32
README.rst
32
README.rst
|
@ -1,7 +1,22 @@
|
||||||
Dependency Injector
|
Dependency Injector
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Dependency injection framework for Python projects.
|
*Dependency Injector* is a Python dependency injection framework. It was
|
||||||
|
designed to be unified, developer's friendly tool for managing any kind
|
||||||
|
of Python objects and their dependencies in formal, pretty way.
|
||||||
|
|
||||||
|
Below is a list of some key features and points of *Dependency Injector*:
|
||||||
|
|
||||||
|
- Easy, smart, pythonic style.
|
||||||
|
- Obvious, clear structure.
|
||||||
|
- Memory efficiency.
|
||||||
|
- Thread safety.
|
||||||
|
- Semantic versioning.
|
||||||
|
|
||||||
|
Main idea of *Dependency Injector* is to keep dependencies under control.
|
||||||
|
|
||||||
|
Status
|
||||||
|
------
|
||||||
|
|
||||||
+---------------------------------------+---------------------------------------------------------------------------------+
|
+---------------------------------------+---------------------------------------------------------------------------------+
|
||||||
| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg |
|
| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg |
|
||||||
|
@ -29,21 +44,6 @@ Dependency injection framework for Python projects.
|
||||||
| | :alt: Coverage Status |
|
| | :alt: Coverage Status |
|
||||||
+---------------------------------------+---------------------------------------------------------------------------------+
|
+---------------------------------------+---------------------------------------------------------------------------------+
|
||||||
|
|
||||||
*Dependency Injector* is a dependency injection framework for Python projects.
|
|
||||||
It was designed to be unified, developer's friendly tool for managing any kind
|
|
||||||
of Python objects and their dependencies in formal, pretty way.
|
|
||||||
|
|
||||||
Below is a list of some key features and points of *Dependency Injector*
|
|
||||||
framework:
|
|
||||||
|
|
||||||
- Easy, smart, pythonic style.
|
|
||||||
- Obvious, clear structure.
|
|
||||||
- Memory efficiency.
|
|
||||||
- Thread safety.
|
|
||||||
- Semantic versioning.
|
|
||||||
|
|
||||||
Main idea of *Dependency Injector* is to keep dependencies under control.
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -281,7 +281,7 @@ man_pages = [
|
||||||
# dir menu entry, description, category)
|
# dir menu entry, description, category)
|
||||||
texinfo_documents = [
|
texinfo_documents = [
|
||||||
(master_doc, 'Dependency Injector', u'Dependency Injector Documentation',
|
(master_doc, 'Dependency Injector', u'Dependency Injector Documentation',
|
||||||
author, 'Dependency Injector', 'Dependency injection framework for Python projects.',
|
author, 'Dependency Injector', 'Python dependency injection framework',
|
||||||
'Miscellaneous'),
|
'Miscellaneous'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,28 @@ Dependency Injector
|
||||||
===================
|
===================
|
||||||
|
|
||||||
.. meta::
|
.. meta::
|
||||||
:description: Dependency injection framework for Python projects
|
:description: Python dependency injection framework
|
||||||
:keywords: Python, Dependency injection, Dependency injection framework,
|
:keywords: Python, Dependency injection, Dependency injection framework,
|
||||||
Dependency injection container, Dependency injector,
|
Dependency injection container, Dependency injector,
|
||||||
Dependency management, DI, DI Container, Inversion of Control,
|
Dependency management, DI, DI Container, Inversion of Control,
|
||||||
Inversion of Control container, IoC, IoC container
|
Inversion of Control container, IoC, IoC container
|
||||||
|
|
||||||
Dependency injection framework for Python projects.
|
*Dependency Injector* is a Python dependency injection framework. It was
|
||||||
|
designed to be unified, developer's friendly tool for managing any kind
|
||||||
|
of Python objects and their dependencies in formal, pretty way.
|
||||||
|
|
||||||
|
Below is a list of some key features and points of *Dependency Injector*:
|
||||||
|
|
||||||
|
- Easy, smart, pythonic style.
|
||||||
|
- Obvious, clear structure.
|
||||||
|
- Memory efficiency.
|
||||||
|
- Thread safety.
|
||||||
|
- Semantic versioning.
|
||||||
|
|
||||||
|
Main idea of *Dependency Injector* is to keep dependencies under control.
|
||||||
|
|
||||||
|
Status
|
||||||
|
------
|
||||||
|
|
||||||
+---------------------------------------+---------------------------------------------------------------------------------+
|
+---------------------------------------+---------------------------------------------------------------------------------+
|
||||||
| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg |
|
| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg |
|
||||||
|
@ -36,21 +51,6 @@ Dependency injection framework for Python projects.
|
||||||
| | :alt: Coverage Status |
|
| | :alt: Coverage Status |
|
||||||
+---------------------------------------+---------------------------------------------------------------------------------+
|
+---------------------------------------+---------------------------------------------------------------------------------+
|
||||||
|
|
||||||
*Dependency Injector* is a dependency injection framework for Python projects.
|
|
||||||
It was designed to be unified, developer's friendly tool for managing any kind
|
|
||||||
of Python objects and their dependencies in formal, pretty way.
|
|
||||||
|
|
||||||
Below is a list of some key features and points of *Dependency Injector*
|
|
||||||
framework:
|
|
||||||
|
|
||||||
- Easy, smart, pythonic style.
|
|
||||||
- Obvious, clear structure.
|
|
||||||
- Memory efficiency.
|
|
||||||
- Thread safety.
|
|
||||||
- Semantic versioning.
|
|
||||||
|
|
||||||
Main idea of *Dependency Injector* is to keep dependencies under control.
|
|
||||||
|
|
||||||
Contents
|
Contents
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -6,16 +6,11 @@ import re
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from setuptools import Command
|
from setuptools import Command
|
||||||
|
|
||||||
SHORT_DESCRIPTION = 'Dependency injection framework for Python projects'
|
|
||||||
|
|
||||||
|
|
||||||
# Getting description:
|
# Getting description:
|
||||||
with open('README.rst') as readme_file:
|
with open('README.rst') as readme_file:
|
||||||
description = readme_file.read()
|
description = readme_file.read()
|
||||||
|
|
||||||
# Removing duplicated short description.
|
|
||||||
description = description.replace(SHORT_DESCRIPTION, '')
|
|
||||||
|
|
||||||
# Getting requirements:
|
# Getting requirements:
|
||||||
with open('requirements.txt') as version:
|
with open('requirements.txt') as version:
|
||||||
requirements = version.readlines()
|
requirements = version.readlines()
|
||||||
|
@ -47,7 +42,7 @@ class PublishCommand(Command):
|
||||||
|
|
||||||
setup(name='dependency_injector',
|
setup(name='dependency_injector',
|
||||||
version=version,
|
version=version,
|
||||||
description=SHORT_DESCRIPTION,
|
description='Python dependency injection framework',
|
||||||
long_description=description,
|
long_description=description,
|
||||||
author='ETS Labs',
|
author='ETS Labs',
|
||||||
author_email='rmogilatov@gmail.com',
|
author_email='rmogilatov@gmail.com',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user