dephell


Namedephell JSON
Version 0.8.3 PyPI version JSON
download
home_page
SummaryDependency resolution for Python
upload_time2020-04-28 06:29:21
maintainer
docs_urlNone
authorGram
requires_python>=3.6
licenseMIT
keywords dephell packaging dependency dependencies venv licenses pip poetry pipfile pipenv setuptools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # ![DepHell](./assets/logo.png)

[![pypi](https://img.shields.io/pypi/v/dephell.svg)](https://pypi.python.org/pypi/dephell/)
[![MIT License](https://img.shields.io/pypi/l/dephell.svg)](https://github.com/dephell/dephell/blob/master/LICENSE)
[![Travis CI](https://travis-ci.org/dephell/dephell.svg?branch=master)](https://travis-ci.org/dephell/dephell)
[![Powered by DepHell](./assets/badge.svg)](./docs/badge.md)

**DepHell** -- project management for Python.

Why it is better than all other tools:

1. **Format agnostic**. You can use DepHell with your favorite format: setup.py, requirements.txt, Pipfile, poetry. DepHell supports them all and much more.
1. **Use your favorite tool on any project**. Want to install a poetry based project, but don't like poetry? Just tell DepHell to convert the project's meta information into a setup.py and install it with pip. Or directly work with the project from DepHell, because DepHell can do everything that you usually want to do with packages.
1. **DepHell doesn't try to replace your favorite tools**. If you use poetry, you have to use poetry's file formats and commands. However, DepHell can be combined with any other tool or can even combine all these tools together by converting formats. You can use DepHell, poetry, and pip all at the same time.
1. **Easily extendable**. DepHell has strong modularity and can be easily extended with new formats and commands.
1. **Developer friendly**. We aren't going to place all of our modules into [`_internal`](https://github.com/pypa/pip/tree/master/src/pip/_internal). Also, DepHell has a [large ecosystem](https://github.com/dephell) with separated libraries so you can use only the parts of DepHell that you need.
1. **All-in-one-solution**. DepHell can manage dependencies, virtual environments, tests, CLI tools, packages, generate configs, show licenses for dependencies, assist with security audits, get download statistics from PyPI, search packages and much more.
1. **Smart dependency resolution**. Sometimes pip and pipenv fail to lock your dependencies. Try to execute `pipenv install oslo.utils==1.4.0`. Pipenv can't handle it, but DepHell can: `dephell deps add --from=Pipfile oslo.utils==1.4.0` to add new dependency and `dephell deps convert --from=Pipfile --to=Pipfile.lock` to lock it.
1. **Asyncio based**. DepHell doesn't support Python 2.7, and that allows us to use modern features to make network and filesystem requests as fast as possible.
1. **Multiple environments**. You can have as many environments for project as you want. Separate sphinx dependencies from your main and dev environment. Other tools like pipenv and poetry don't support this.

Features:

+ Manage dependencies: [convert between formats](https://dephell.org/docs/cmd-deps-convert.html), [instаll](https://dephell.org/docs/cmd-deps-install.html), lock, [add new](https://dephell.org/docs/cmd-deps-add.html), resolve conflicts.
+ Manage virtual environments: [create](https://dephell.org/docs/cmd-venv-create.html), [remove](https://dephell.org/docs/cmd-venv-destroy.html), [inspect](https://dephell.org/docs/cmd-inspect-venv.html), [run shell](https://dephell.org/docs/cmd-venv-shell.html), [run commands inside](https://dephell.org/docs/cmd-venv-run.html).
+ [Install CLI tools](https://dephell.org/docs/cmd-jail-install.html) into isolated environments.
+ Manage packages: [install](https://dephell.org/docs/cmd-package-install.html), [list](https://dephell.org/docs/cmd-package-list.html), [search](https://dephell.org/docs/cmd-package-search.html) on PyPI.
+ [Build](https://dephell.org/docs/cmd-project-build.html) packages (to upload on PyPI), [test](https://dephell.org/docs/cmd-project-test.html), [bump project version](https://dephell.org/docs/cmd-project-bump.html).
+ [Discover licenses](https://dephell.org/docs/cmd-deps-licenses.html) of all project dependencies, show [outdated](https://dephell.org/docs/cmd-deps-outdated.html) packages, [find security issues](https://dephell.org/docs/cmd-deps-audit.html).
+ Generate [.editorconfig](https://dephell.org/docs/cmd-generate-editorconfig.html), [LICENSE](https://dephell.org/docs/cmd-generate-license.html), [AUTHORS](https://dephell.org/docs/cmd-generate-authors.html), [.travis.yml](https://dephell.org/docs/cmd-generate-travis.html).

See [documentation](https://dephell.org/docs/) for more details.

Follow [@PythonDepHell](https://twitter.com/PythonDepHell) on Twitter to get updates about new features and releases.

## Installation

```bash
curl -L dephell.org/install | python3
```

See [installation documentation](https://dephell.org/docs/installation.html) for alternatives.

## Supported formats

1. Archives:
    1. [*.egg-info](https://setuptools.readthedocs.io/en/latest/formats.html) (`egginfo`)
    1. [*.tar.gz](https://packaging.python.org/glossary/#term-distribution-package) (`sdist`)
    1. [*.whl](https://pythonwheels.com) (`wheel`)
1. [pip](https://pip.pypa.io/en/stable/):
    1. [requirements.txt](https://pip.pypa.io/en/stable/user_guide/#requirements-files) (`pip`)
    1. [requirements.lock](https://nvie.com/posts/pin-your-packages/) (`piplock`)
1. [pipenv](https://pipenv.readthedocs.io/en/latest/):
    1. [Pipfile](https://github.com/pypa/pipfile) (`pipfile`)
    1. [Pipfile.lock](https://stackoverflow.com/a/49867443/8704691) (`pipfilelock`)
1. [pоetry](https://github.com/sdispater/poetry):
    1. [pyproject.toml](https://poetry.eustace.io/docs/pyproject/) (`poetry`)
    1. [poetry.lock](https://poetry.eustace.io/docs/basic-usage/#installing-without-poetrylock) (`poetrylock`)
1. Environment:
    1. Imports in the package (`imports`).
    1. Installed packages (`installed`).
1. Other:
    1. [setup.py](https://docs.python.org/3/distutils/setupscript.html) (`setuppy`)
    1. [flit](https://flit.readthedocs.io/en/latest/pyproject_toml.html) (`flit`)
    1. [conda](https://conda.io/en/latest/)'s [environment.yml](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually) (`conda`)
    1. [pyproject.toml build-system requires](https://www.python.org/dev/peps/pep-0518/#build-system-table) (`pyproject`)

## Usage

First of all, install DepHell and activate autocomplete:

```bash
python3 -m pip install --user dephell[full]
dephell self autocomplete
```

Let's get [sampleproject](https://github.com/pypa/sampleproject) and make it better.

```bash
git clone https://github.com/pypa/sampleproject.git
cd sampleproject
```

This project uses [setup.py](https://docs.python.org/3/distutils/setupscript.html) for dependencies and metainfo. However, this format is over-complicated for most projects. Let's convert it into [poetry](https://poetry.eustace.io/docs/pyproject/):

```bash
dephell deps convert --from=setup.py --to=pyproject.toml
```

It will make next `pyproject.toml`:

```toml
[tool.poetry]
name = "sampleproject"
version = "1.2.0"
description = "A sample Python project"
authors = ["The Python Packaging Authority <pypa-dev@googlegroups.com>"]
readme = "README.md"

[tool.poetry.scripts]
sample = "sample:main"

[tool.poetry.dependencies]
python = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4,>=2.7"
coverage = {optional = true}
peppercorn = "*"

[tool.poetry.dev-dependencies]
check-manifest = "*"

[tool.poetry.extras]
test = ["coverage"]
```

Now, let's generate some useful files:

```bash
dephell generate authors

dephell generate license MIT

# https://editorconfig.org/
dephell generate editorconfig
```

Our users probably have not installed poetry, but they are likely to have pip and can install files from setup.py. Let's make it easier to generate `setup.py` from our `pyproject.toml`. Also, it points to DepHell as your default dependencies file. Add the following lines in the `pyproject.toml`:

```toml
[tool.dephell.main]
from = {format = "poetry", path = "pyproject.toml"}
to = {format = "setuppy", path = "setup.py"}
```

You can see a full, real-world example of a config in [DepHell's own pyproject.toml](./pyproject.toml).

Now we can call DepHell commands without explicitly specifying `from` and `to`:

```bash
dephell deps convert
```

It will make setup.py and README.rst from pyproject.toml and README.md.

Now let's test our code in a virtual environment:

```bash
$ dephell venv run pytest
WARNING venv does not exist, creating... (project=/home/gram/Documents/sampleproject, env=main, path=/home/gram/.local/share/dephell/venvs/sampleproject-Whg0/main)
INFO venv created (path=/home/gram/.local/share/dephell/venvs/sampleproject-Whg0/main)
WARNING executable does not found in venv, trying to install... (executable=pytest)
INFO build dependencies graph...
INFO installation...
# ... pip output
# ... pytest output
```

We can now activate the virtual environment for our project and run any commands inside:

```bash
dephell venv shell
```

Ugh, we have tests, but don't have `pytest` in our dependencies file. Let's add it:

```bash
dephell deps add --envs dev test -- pytest
```

Afer that our dev-dependencies looks like this:

```toml
[tool.poetry.dev-dependencies]
check-manifest = "*"
pytest = "*"

[tool.poetry.extras]
test = ["coverage", "pytest"]
```

Eventually we will have many more dependencies. Let's look at how many of them we have now:

```bash
$ dephell deps tree
- check-manifest [required: *, locked: 0.37, latest: 0.37]
- coverage [required: *, locked: 4.5.3, latest: 4.5.3]
- peppercorn [required: *, locked: 0.6, latest: 0.6]
- pytest [required: *, locked: 4.4.0, latest: 4.4.0]
  - atomicwrites [required: >=1.0, locked: 1.3.0, latest: 1.3.0]
  - attrs [required: >=17.4.0, locked: 19.1.0, latest: 19.1.0]
  - colorama [required: *, locked: 0.4.1, latest: 0.4.1]
  - funcsigs [required: >=1.0, locked: 1.0.2, latest: 1.0.2]
  - more-itertools [required: <6.0.0,>=4.0.0, locked: 5.0.0, latest: 7.0.0]
    - six [required: <2.0.0,>=1.0.0, locked: 1.12.0, latest: 1.12.0]
  - more-itertools [required: >=4.0.0, locked: 7.0.0, latest: 7.0.0]
  - pathlib2 [required: >=2.2.0, locked: 2.3.3, latest: 2.3.3]
    - scandir [required: *, locked: 1.10.0, latest: 1.10.0]
    - six [required: *, locked: 1.12.0, latest: 1.12.0]
  - pluggy [required: >=0.9, locked: 0.9.0, latest: 0.9.0]
  - py [required: >=1.5.0, locked: 1.8.0, latest: 1.8.0]
  - setuptools [required: *, locked: 41.0.0, latest: 41.0.0]
  - six [required: >=1.10.0, locked: 1.12.0, latest: 1.12.0]
```

Hm...Is it as many as it seems? Let's look at their size.

```bash
$ dephell inspect venv --filter=lib_size
11.96Mb
```

Ugh...Ok, it's Python. Are they actual?

```bash
$ dephell deps outdated
[
  {
    "description": "More routines for operating on iterables, beyond itertools",
    "installed": [
      "5.0.0"
    ],
    "latest": "7.0.0",
    "name": "more-itertools",
    "updated": "2019-03-28"
  },
]
```

`Pytest` requires old version of `more-itertools`. That happens.

If our tests and dependencies are OK, it's time to deploy. First of all, increment the project version:

```bash
$ dephell project bump minor
INFO generated new version (old=1.2.0, new=1.3.0)
```

And then build packages:

```bash
$ dephell project build
INFO dumping... (format=setuppy)
INFO dumping... (format=egginfo)
INFO dumping... (format=sdist)
INFO dumping... (format=wheel)
INFO builded
```

Now, we can upload these packages to [PyPI](https://pypi.org/):

```bash
dephell self auth upload.pypi.org my-username my-password
dephell project upload
```

These are some of the most useful commands. See [documentation](https://dephell.org/docs/) for more details.

## Compatibility

DepHell is tested on Linux and Mac OS X with Python 3.5, 3.6, 3.7. And one of the coolest things is that DepHell is run by DepHell on Travis CI.

DepHell works on Windows but has no CI to keep in working yet.

## How can I help

1. Star project on Github. Developers believe in the stars.
1. Tell your fellows that [Gram](http://github.com/orsinium) has a made [cool thing](https://github.com/dephell/dephell) for you.
1. [Open an issue](https://github.com/dephell/dephell/issues/new) if you have thoughts on how to make DepHell better.
1. Things that you can contribute in any project in [DepHell ecosystem](https://github.com/dephell):
    1. Fix grammar and typos.
    1. Document new things.
    1. Tests, we always need more tests.
    1. Make READMEs more nice and friendly.
    1. View issues with the [help wanted](https://github.com/dephell/dephell/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) label to find things that you can fix.
    1. Anything what you want. If it is a new feature, please, open an issue before writing the code.

Thank you :heart:

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "dephell",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "dephell,packaging,dependency,dependencies,venv,licenses,pip,poetry,pipfile,pipenv,setuptools",
    "author": "Gram",
    "author_email": "master_fess@mail.ru",
    "download_url": "https://files.pythonhosted.org/packages/58/19/35b7c9221deb49edfb1666dc140061990e62d5626473e3a381c6c71d3bb0/dephell-0.8.3.tar.gz",
    "platform": "None",
    "description": "# ![DepHell](./assets/logo.png)\n\n[![pypi](https://img.shields.io/pypi/v/dephell.svg)](https://pypi.python.org/pypi/dephell/)\n[![MIT License](https://img.shields.io/pypi/l/dephell.svg)](https://github.com/dephell/dephell/blob/master/LICENSE)\n[![Travis CI](https://travis-ci.org/dephell/dephell.svg?branch=master)](https://travis-ci.org/dephell/dephell)\n[![Powered by DepHell](./assets/badge.svg)](./docs/badge.md)\n\n**DepHell** -- project management for Python.\n\nWhy it is better than all other tools:\n\n1. **Format agnostic**. You can use DepHell with your favorite format: setup.py, requirements.txt, Pipfile, poetry. DepHell supports them all and much more.\n1. **Use your favorite tool on any project**. Want to install a poetry based project, but don't like poetry? Just tell DepHell to convert the project's meta information into a setup.py and install it with pip. Or directly work with the project from DepHell, because DepHell can do everything that you usually want to do with packages.\n1. **DepHell doesn't try to replace your favorite tools**. If you use poetry, you have to use poetry's file formats and commands. However, DepHell can be combined with any other tool or can even combine all these tools together by converting formats. You can use DepHell, poetry, and pip all at the same time.\n1. **Easily extendable**. DepHell has strong modularity and can be easily extended with new formats and commands.\n1. **Developer friendly**. We aren't going to place all of our modules into [`_internal`](https://github.com/pypa/pip/tree/master/src/pip/_internal). Also, DepHell has a [large ecosystem](https://github.com/dephell) with separated libraries so you can use only the parts of DepHell that you need.\n1. **All-in-one-solution**. DepHell can manage dependencies, virtual environments, tests, CLI tools, packages, generate configs, show licenses for dependencies, assist with security audits, get download statistics from PyPI, search packages and much more.\n1. **Smart dependency resolution**. Sometimes pip and pipenv fail to lock your dependencies. Try to execute `pipenv install oslo.utils==1.4.0`. Pipenv can't handle it, but DepHell can: `dephell deps add --from=Pipfile oslo.utils==1.4.0` to add new dependency and `dephell deps convert --from=Pipfile --to=Pipfile.lock` to lock it.\n1. **Asyncio based**. DepHell doesn't support Python 2.7, and that allows us to use modern features to make network and filesystem requests as fast as possible.\n1. **Multiple environments**. You can have as many environments for project as you want. Separate sphinx dependencies from your main and dev environment. Other tools like pipenv and poetry don't support this.\n\nFeatures:\n\n+ Manage dependencies: [convert between formats](https://dephell.org/docs/cmd-deps-convert.html), [inst\u0430ll](https://dephell.org/docs/cmd-deps-install.html), lock, [add new](https://dephell.org/docs/cmd-deps-add.html), resolve conflicts.\n+ Manage virtual environments: [create](https://dephell.org/docs/cmd-venv-create.html), [remove](https://dephell.org/docs/cmd-venv-destroy.html), [inspect](https://dephell.org/docs/cmd-inspect-venv.html), [run shell](https://dephell.org/docs/cmd-venv-shell.html), [run commands inside](https://dephell.org/docs/cmd-venv-run.html).\n+ [Install CLI tools](https://dephell.org/docs/cmd-jail-install.html) into isolated environments.\n+ Manage packages: [install](https://dephell.org/docs/cmd-package-install.html), [list](https://dephell.org/docs/cmd-package-list.html), [search](https://dephell.org/docs/cmd-package-search.html) on PyPI.\n+ [Build](https://dephell.org/docs/cmd-project-build.html) packages (to upload on PyPI), [test](https://dephell.org/docs/cmd-project-test.html), [bump project version](https://dephell.org/docs/cmd-project-bump.html).\n+ [Discover licenses](https://dephell.org/docs/cmd-deps-licenses.html) of all project dependencies, show [outdated](https://dephell.org/docs/cmd-deps-outdated.html) packages, [find security issues](https://dephell.org/docs/cmd-deps-audit.html).\n+ Generate [.editorconfig](https://dephell.org/docs/cmd-generate-editorconfig.html), [LICENSE](https://dephell.org/docs/cmd-generate-license.html), [AUTHORS](https://dephell.org/docs/cmd-generate-authors.html), [.travis.yml](https://dephell.org/docs/cmd-generate-travis.html).\n\nSee [documentation](https://dephell.org/docs/) for more details.\n\nFollow [@PythonDepHell](https://twitter.com/PythonDepHell) on Twitter to get updates about new features and releases.\n\n## Installation\n\n```bash\ncurl -L dephell.org/install | python3\n```\n\nSee [installation documentation](https://dephell.org/docs/installation.html) for alternatives.\n\n## Supported formats\n\n1. Archives:\n    1. [*.egg-info](https://setuptools.readthedocs.io/en/latest/formats.html) (`egginfo`)\n    1. [*.tar.gz](https://packaging.python.org/glossary/#term-distribution-package) (`sdist`)\n    1. [*.whl](https://pythonwheels.com) (`wheel`)\n1. [pip](https://pip.pypa.io/en/stable/):\n    1. [requirements.txt](https://pip.pypa.io/en/stable/user_guide/#requirements-files) (`pip`)\n    1. [requirements.lock](https://nvie.com/posts/pin-your-packages/) (`piplock`)\n1. [pipenv](https://pipenv.readthedocs.io/en/latest/):\n    1. [Pipfile](https://github.com/pypa/pipfile) (`pipfile`)\n    1. [Pipfile.lock](https://stackoverflow.com/a/49867443/8704691) (`pipfilelock`)\n1. [p\u043eetry](https://github.com/sdispater/poetry):\n    1. [pyproject.toml](https://poetry.eustace.io/docs/pyproject/) (`poetry`)\n    1. [poetry.lock](https://poetry.eustace.io/docs/basic-usage/#installing-without-poetrylock) (`poetrylock`)\n1. Environment:\n    1. Imports in the package (`imports`).\n    1. Installed packages (`installed`).\n1. Other:\n    1. [setup.py](https://docs.python.org/3/distutils/setupscript.html) (`setuppy`)\n    1. [flit](https://flit.readthedocs.io/en/latest/pyproject_toml.html) (`flit`)\n    1. [conda](https://conda.io/en/latest/)'s [environment.yml](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually) (`conda`)\n    1. [pyproject.toml build-system requires](https://www.python.org/dev/peps/pep-0518/#build-system-table) (`pyproject`)\n\n## Usage\n\nFirst of all, install DepHell and activate autocomplete:\n\n```bash\npython3 -m pip install --user dephell[full]\ndephell self autocomplete\n```\n\nLet's get [sampleproject](https://github.com/pypa/sampleproject) and make it better.\n\n```bash\ngit clone https://github.com/pypa/sampleproject.git\ncd sampleproject\n```\n\nThis project uses [setup.py](https://docs.python.org/3/distutils/setupscript.html) for dependencies and metainfo. However, this format is over-complicated for most projects. Let's convert it into [poetry](https://poetry.eustace.io/docs/pyproject/):\n\n```bash\ndephell deps convert --from=setup.py --to=pyproject.toml\n```\n\nIt will make next `pyproject.toml`:\n\n```toml\n[tool.poetry]\nname = \"sampleproject\"\nversion = \"1.2.0\"\ndescription = \"A sample Python project\"\nauthors = [\"The Python Packaging Authority <pypa-dev@googlegroups.com>\"]\nreadme = \"README.md\"\n\n[tool.poetry.scripts]\nsample = \"sample:main\"\n\n[tool.poetry.dependencies]\npython = \"!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,<4,>=2.7\"\ncoverage = {optional = true}\npeppercorn = \"*\"\n\n[tool.poetry.dev-dependencies]\ncheck-manifest = \"*\"\n\n[tool.poetry.extras]\ntest = [\"coverage\"]\n```\n\nNow, let's generate some useful files:\n\n```bash\ndephell generate authors\n\ndephell generate license MIT\n\n# https://editorconfig.org/\ndephell generate editorconfig\n```\n\nOur users probably have not installed poetry, but they are likely to have pip and can install files from setup.py. Let's make it easier to generate `setup.py` from our `pyproject.toml`. Also, it points to DepHell as your default dependencies file. Add the following lines in the `pyproject.toml`:\n\n```toml\n[tool.dephell.main]\nfrom = {format = \"poetry\", path = \"pyproject.toml\"}\nto = {format = \"setuppy\", path = \"setup.py\"}\n```\n\nYou can see a full, real-world example of a config in [DepHell's own pyproject.toml](./pyproject.toml).\n\nNow we can call DepHell commands without explicitly specifying `from` and `to`:\n\n```bash\ndephell deps convert\n```\n\nIt will make setup.py and README.rst from pyproject.toml and README.md.\n\nNow let's test our code in a virtual environment:\n\n```bash\n$ dephell venv run pytest\nWARNING venv does not exist, creating... (project=/home/gram/Documents/sampleproject, env=main, path=/home/gram/.local/share/dephell/venvs/sampleproject-Whg0/main)\nINFO venv created (path=/home/gram/.local/share/dephell/venvs/sampleproject-Whg0/main)\nWARNING executable does not found in venv, trying to install... (executable=pytest)\nINFO build dependencies graph...\nINFO installation...\n# ... pip output\n# ... pytest output\n```\n\nWe can now activate the virtual environment for our project and run any commands inside:\n\n```bash\ndephell venv shell\n```\n\nUgh, we have tests, but don't have `pytest` in our dependencies file. Let's add it:\n\n```bash\ndephell deps add --envs dev test -- pytest\n```\n\nAfer that our dev-dependencies looks like this:\n\n```toml\n[tool.poetry.dev-dependencies]\ncheck-manifest = \"*\"\npytest = \"*\"\n\n[tool.poetry.extras]\ntest = [\"coverage\", \"pytest\"]\n```\n\nEventually we will have many more dependencies. Let's look at how many of them we have now:\n\n```bash\n$ dephell deps tree\n- check-manifest [required: *, locked: 0.37, latest: 0.37]\n- coverage [required: *, locked: 4.5.3, latest: 4.5.3]\n- peppercorn [required: *, locked: 0.6, latest: 0.6]\n- pytest [required: *, locked: 4.4.0, latest: 4.4.0]\n  - atomicwrites [required: >=1.0, locked: 1.3.0, latest: 1.3.0]\n  - attrs [required: >=17.4.0, locked: 19.1.0, latest: 19.1.0]\n  - colorama [required: *, locked: 0.4.1, latest: 0.4.1]\n  - funcsigs [required: >=1.0, locked: 1.0.2, latest: 1.0.2]\n  - more-itertools [required: <6.0.0,>=4.0.0, locked: 5.0.0, latest: 7.0.0]\n    - six [required: <2.0.0,>=1.0.0, locked: 1.12.0, latest: 1.12.0]\n  - more-itertools [required: >=4.0.0, locked: 7.0.0, latest: 7.0.0]\n  - pathlib2 [required: >=2.2.0, locked: 2.3.3, latest: 2.3.3]\n    - scandir [required: *, locked: 1.10.0, latest: 1.10.0]\n    - six [required: *, locked: 1.12.0, latest: 1.12.0]\n  - pluggy [required: >=0.9, locked: 0.9.0, latest: 0.9.0]\n  - py [required: >=1.5.0, locked: 1.8.0, latest: 1.8.0]\n  - setuptools [required: *, locked: 41.0.0, latest: 41.0.0]\n  - six [required: >=1.10.0, locked: 1.12.0, latest: 1.12.0]\n```\n\nHm...Is it as many as it seems? Let's look at their size.\n\n```bash\n$ dephell inspect venv --filter=lib_size\n11.96Mb\n```\n\nUgh...Ok, it's Python. Are they actual?\n\n```bash\n$ dephell deps outdated\n[\n  {\n    \"description\": \"More routines for operating on iterables, beyond itertools\",\n    \"installed\": [\n      \"5.0.0\"\n    ],\n    \"latest\": \"7.0.0\",\n    \"name\": \"more-itertools\",\n    \"updated\": \"2019-03-28\"\n  },\n]\n```\n\n`Pytest` requires old version of `more-itertools`. That happens.\n\nIf our tests and dependencies are OK, it's time to deploy. First of all, increment the project version:\n\n```bash\n$ dephell project bump minor\nINFO generated new version (old=1.2.0, new=1.3.0)\n```\n\nAnd then build packages:\n\n```bash\n$ dephell project build\nINFO dumping... (format=setuppy)\nINFO dumping... (format=egginfo)\nINFO dumping... (format=sdist)\nINFO dumping... (format=wheel)\nINFO builded\n```\n\nNow, we can upload these packages to [PyPI](https://pypi.org/):\n\n```bash\ndephell self auth upload.pypi.org my-username my-password\ndephell project upload\n```\n\nThese are some of the most useful commands. See [documentation](https://dephell.org/docs/) for more details.\n\n## Compatibility\n\nDepHell is tested on Linux and Mac OS X with Python 3.5, 3.6, 3.7. And one of the coolest things is that DepHell is run by DepHell on Travis CI.\n\nDepHell works on Windows but has no CI to keep in working yet.\n\n## How can I help\n\n1. Star project on Github. Developers believe in the stars.\n1. Tell your fellows that [Gram](http://github.com/orsinium) has a made [cool thing](https://github.com/dephell/dephell) for you.\n1. [Open an issue](https://github.com/dephell/dephell/issues/new) if you have thoughts on how to make DepHell better.\n1. Things that you can contribute in any project in [DepHell ecosystem](https://github.com/dephell):\n    1. Fix grammar and typos.\n    1. Document new things.\n    1. Tests, we always need more tests.\n    1. Make READMEs more nice and friendly.\n    1. View issues with the [help wanted](https://github.com/dephell/dephell/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) label to find things that you can fix.\n    1. Anything what you want. If it is a new feature, please, open an issue before writing the code.\n\nThank you :heart:\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Dependency resolution for Python",
    "version": "0.8.3",
    "project_urls": {
        "Documentation": "https://dephell.org/docs/",
        "Homepage": "https://dephell.org/",
        "Repository": "https://github.com/dephell/dephell"
    },
    "split_keywords": [
        "dephell",
        "packaging",
        "dependency",
        "dependencies",
        "venv",
        "licenses",
        "pip",
        "poetry",
        "pipfile",
        "pipenv",
        "setuptools"
    ],
    "urls": [
        {
            "comment_text": "None",
            "digests": {
                "blake2b_256": "ed5c4c5bd2e67f445ba1b000ac87a77d9d759084cde90b36634fd79bedae01a0",
                "md5": "43c176c17d12c8c371519b670d2b788b",
                "sha256": "3ca3661e2a353b5c67c77034b69b379e360d4c70ce562e8161db32d39064be5a"
            },
            "downloads": -1,
            "filename": "dephell-0.8.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "43c176c17d12c8c371519b670d2b788b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 204172,
            "upload_time": "2020-04-28T06:29:24",
            "upload_time_iso_8601": "2020-04-28T06:29:24.223425Z",
            "url": "https://files.pythonhosted.org/packages/ed/5c/4c5bd2e67f445ba1b000ac87a77d9d759084cde90b36634fd79bedae01a0/dephell-0.8.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "None",
            "digests": {
                "blake2b_256": "581935b7c9221deb49edfb1666dc140061990e62d5626473e3a381c6c71d3bb0",
                "md5": "a6bd09b3859fd8fb704fa9f1a158220f",
                "sha256": "a9fcc528a0c6f9f5d721292bdf846e5338e4dca7cd6fef1551fbe71564dfe61e"
            },
            "downloads": -1,
            "filename": "dephell-0.8.3.tar.gz",
            "has_sig": false,
            "md5_digest": "a6bd09b3859fd8fb704fa9f1a158220f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 220148,
            "upload_time": "2020-04-28T06:29:21",
            "upload_time_iso_8601": "2020-04-28T06:29:21.866599Z",
            "url": "https://files.pythonhosted.org/packages/58/19/35b7c9221deb49edfb1666dc140061990e62d5626473e3a381c6c71d3bb0/dephell-0.8.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-04-28 06:29:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dephell",
    "github_project": "dephell",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "dephell"
}
        
Elapsed time: 0.17117s