poetry¶
the official docs and project description might be a better resource if you want to get started. this page is more like a quick cheat sheet
creating a project¶
create new project:
use poetry in an existing project:
package management¶
install packages defined in pyproject.toml
:
add package:
delete / remove package:
update packages:
use poetry virtualenv¶
depending on your config, the virtual environment poetry creates is automatically activated, if not, do this:
if the above doesn't work for some reason, that's how I got it working otherwise:
run scripts¶
if a package you've added comes with an executable CLI tool, you can run them like this: