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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for poetry_version-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba259257640cd36c76375563a001b9e85c6f54d764cc56b3eed0f3b5cefb0317 |
|
MD5 | c5a2e1691bb9986e695fd249fcc0e2fa |
|
BLAKE2b-256 | 7796ecbb7ea07a10b8fd477336acd69b7f5e3352f4d69ba75896d5e5ee6e4092 |