five18-0.1.0
توضیحات
Utilities for dealing with pyproject.toml files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | five18-0.1.0 |
| نام | five18 |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael Harris |
| ایمیل نویسنده | mharris@luabase.com |
| آدرس صفحه اصلی | https://github.com/mharrisb1/five18 |
| آدرس اینترنتی | https://pypi.org/project/five18/ |
| مجوز | MIT |
# five18
Lightweight library for dealing with your project's pyproject.toml file.
## Installation
```shell
pip install five18
```
## Usage
### Access [tool table](https://peps.python.org/pep-0518/#tool-table) attributes
```python
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)
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.0.1,<3.0.0) | tomli |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl five18-0.1.0:
pip install five18-0.1.0.whl
نصب پکیج tar.gz five18-0.1.0:
pip install five18-0.1.0.tar.gz