Poetry Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:


=PyCharm and Poetry=
=PyCharm and Poetry=
{{External|https://www.jetbrains.com/help/pycharm/poetry.html}}
When initializing a project, PyCharm figures out if it is managed by Poetry and sets the project up accordingly:

Revision as of 20:34, 3 November 2023

Internal

Overview

Poetry is a Python package management tool and an environment manager. Can be used to build and share packages.

pyproject.toml

The file contains project dependencies.

Virtual Environments

Poetry maintains its virtual environments under ~/Library/Caches/pypoetry/virtualenvs. Each virtual environment is named after what?, and it is postfixed by a hash (ZyD6nUaS). There is an index file ~/Library/Caches/pypoetry/virtualenvs/envs.toml.

The virtual environment is created when?, how?

PyCharm and Poetry

https://www.jetbrains.com/help/pycharm/poetry.html

When initializing a project, PyCharm figures out if it is managed by Poetry and sets the project up accordingly: