LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

poetry-new

Create new Python project structure

TLDR

Create new project
$ poetry new [project-name]
copy
Create with specific source directory
$ poetry new --src [project-name]
copy
Create with custom name
$ poetry new --name [package-name] [directory]
copy

SYNOPSIS

poetry new [options] path

DESCRIPTION

poetry new scaffolds a new Python project directory with a standard structure including pyproject.toml, a package directory, and a tests directory. This provides a ready-to-use project layout.The --src flag uses the `src/` layout pattern where the package lives under a `src/` subdirectory. The --name option allows the package name to differ from the directory name. For adding Poetry to an existing project, use poetry init instead.

PARAMETERS

PATH

Project directory path.
--name NAME
Package name.
--src
Use src layout.
--readme FORMAT
Readme format (md, rst).

INSTALL

sudo dnf install poetry
copy
sudo apk add poetry
copy
brew install poetry
copy
nix profile install nixpkgs#poetry
copy

CAVEATS

Creates new directory. Use poetry init for existing projects.

HISTORY

poetry new provides project scaffolding for new Python packages.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid