Skip to main content

This is sort of a plugin for poetry which add comments with description for every dependency in pyproject.toml based on poetry.lock file.

So your dependencies will look like

[tool.poetry.dependencies]
python = "^3.7"
toml = "^0.10.0"            # Python Library for Tom's Obvious, Minimal Language ·· https://pypi.org/project/toml/

[tool.poetry.dev-dependencies]
pytest = "^5.2"             # pytest: simple powerful testing with Python ·· https://pypi.org/project/pytest/
mock = "^4.0.2"             # Rolling backport of unittest.mock for all Pythons ·· https://pypi.org/project/mock/

How to install

Install via poetry

poetry add --dev poetry-deps-formatter

Install via PIP

pip install poetry-deps-formatter

Then you have to add it to tool.poetry.scripts section of your pyproject.toml file.

[tool.poetry.scripts]
format = "poetry_deps_formatter:formatter"

How to use

poetry run format

Release files for poetry-deps-formatter 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-deps-formatter 0.1.2
File Size Uploaded
poetry_deps_formatter-0.1.2.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-deps-formatter 0.1.2
File Interpreter ABI Platform
poetry_deps_formatter-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / poetry_deps_formatter-0.1.2.tar.gz

Download URL poetry_deps_formatter-0.1.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
40a518a221b25916b632529139e70dc268a42a069180cff74191acd153e66481
BLAKE2b-256 checksum
How to use checksums
f7036f9c165622508d40a76c020130c36b54db6393b97ce9bfa76556f032c414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.13.0 Darwin/23.4.0

Release files / poetry_deps_formatter-0.1.2-py3-none-any.whl

Download URL poetry_deps_formatter-0.1.2-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa8c864c652f60a74e4b1cb09026f714f3d928a8bdc3076d6a68bfe7f688dbc8
BLAKE2b-256 checksum
How to use checksums
37c260d115c52d6d74c6611e4f78cf759552d8e54b39d15fc23ec1c794121f90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.13.0 Darwin/23.4.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page