Skip to main content

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


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)

Uploaded Source

Built Distribution

five18-0.1.0-py3-none-any.whl (2.7 kB view hashes)

Uploaded 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