All apps/Poetry

Poetry

poetry

Python packaging and dependency management made easy.

Runs as poetry|macOS, Linux, Windows|python-poetry.org

Command form

ai-draft · 6 tasks · 16 fields

Create projects, add dependencies, install and run commands. Options whose completion data lacks a value type (such as --group and --name) are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui poetry

poetry new

New project
New projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Project path*
directory
Use src layout
--src
TasksEach one presets the form for one job
Create project
pathsrc
ParametersOnly these flags are editable in the form
Project path
path · positional 0
Use src layout
boolean
--src

poetry add

Add dependencies
Add dependenciesExample values, fixed in this page — nothing here reaches a terminal
Basic
Packages*
string
Optional dependency
--optional
Editable (vcs/path)
--editable
Allow prereleases
--allow-prereleases
Dry run
--dry-run
Advanced
Only update lockfile
--lock
TasksEach one presets the form for one job
Add
packagesoptionaleditableallow_prereleasesdry_runlock
Dry run
packagesdry_run
ParametersOnly these flags are editable in the form
Packages
string · positional 0 · repeatable
Optional dependency
boolean
--optional
Editable (vcs/path)
boolean
--editable
Allow prereleases
boolean
--allow-prereleases
Dry run
boolean
--dry-run
Only update lockfile
boolean
--lock

poetry install

Install dependencies
Install dependenciesExample values, fixed in this page — nothing here reaches a terminal
Basic
Skip the root package
--no-root
Sync environment with lock
--sync
Dry run
--dry-run
All extras
--all-extras
Skip directory dependencies
--no-directory
Advanced
Root package only
--only-root
Compile bytecode
--compile
TasksEach one presets the form for one job
Install
no_rootsyncdry_runall_extrasno_directoryonly_rootcompile
Exact sync, no root
syncno_root
ParametersOnly these flags are editable in the form
Skip the root package
boolean
--no-root
Sync environment with lock
boolean
--sync
Dry run
boolean
--dry-run
All extras
boolean
--all-extras
Skip directory dependencies
boolean
--no-directory
Root package only
boolean
--only-root
Compile bytecode
boolean
--compile

poetry run

Run a command
Run a commandExample values, fixed in this page — nothing here reaches a terminal
Basic
Command and arguments*
string
TasksEach one presets the form for one job
Run
args
ParametersOnly these flags are editable in the form
Command and arguments
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed poetry against its version. A form that does not match your version is not offered.