Skip to main content

Python library for extracting version from poetry pyproject.toml file

Project description

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__)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry-version-0.1.5.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

poetry_version-0.1.5-py2.py3-none-any.whl (13.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page