Utilities for dealing with pyproject.toml files
Project description
five18
Lightweight library for dealing with your project's pyproject.toml file.
Installation
pip install five18
Usage
Access tool table attributes
from five18 import PyProjectToml
pytoml = PyProjectToml()
# get version from poetry tool table
print(pytoml.tool_table.poetry.version)
# get dependencies from poetry tool table
print(pytoml.tool_table.poetry.dependencies)
# get dev dependencies from poetry tool table
print(pytoml.tool_table.poetry.dev_dependencies)
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
five18-0.1.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
five18-0.1.0-py3-none-any.whl
(2.7 kB
view hashes)