Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 385 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 385 Bytes

poetry-version

Python library for extracting version from poetry pyproject.toml file

Installation

To install poetry-version from PyPI run:

$ pip install poetry-version

Usage

Put these lines somewhere in the main module:

import poetry_version

__version__ = poetry_version.extract(source_file=__file__)