Re-organize a single-file app into a poetry directory for building.
Project description
poetry-org
Reorganizes files to the same structure as provided with poetry new without
creating new files.
This script is useful when using poetry to manage a project that was not
created with poetry new but was initialized with poetry init; the script
allows conversion from a simple file structure (e.g., proj_dir/app_name.py)
into a more standard one (e.g., proj_dir/app_name/app_name.py) for building
with poetry build.
The script moves the app files from the root project directory into a sub-directory
named after the app (as specified in the pyproject.toml file), leaving the
meta files (e.g., README.md, LICENSE, pyproject.toml) in the root
directory.
Installation
Install with pip using
pip install poetry-org
Usage
Run in the root directory of the poetry project (where pyproject.toml is located).
poetry-org
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry-org-0.1.8.tar.gz.
File metadata
- Download URL: poetry-org-0.1.8.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.7.2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a47a7258c8dd994e48a0ffe959272e209e5314a941a5bdedf0090aa0b69b8e8
|
|
| MD5 |
5be379202bce1892cb60d2e55cb45269
|
|
| BLAKE2b-256 |
21e954afb0b5cf7a8068ecda5ae54e4f055de96e0faa7aaf4137d239b294974e
|
File details
Details for the file poetry_org-0.1.8-py3-none-any.whl.
File metadata
- Download URL: poetry_org-0.1.8-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.11 CPython/3.7.2 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
441f8d70eb653985403cc5b75787032da5763c5a78ff31d50065c452083bf613
|
|
| MD5 |
3facdfd9e3762f6b4f2eef88a506d53e
|
|
| BLAKE2b-256 |
7639d9cbaed5f28faea2984dc49ee9f2f29a7efd3cb03193203097bc319580ef
|