poetry-alias
Pew-style project management for Poetry 1.2 and higher.
poetry-alias introduces a new alias command suite for Poetry which allows
you to define short names (“aliases”) for you Poetry-based projects, and then
use these to switch to the project directories from wherever you are.
$ cd $HOME/src/myproject
[~/src/myproject]$ poetry alias add myproject
[~/src/myproject]$ cd
$ poetry alias go myproject
Spawning shell within /home/user/.cache/pypoetry/virtualenvs/myproject-Hyrvhkrx-py3.8
[~/src/myproject]$ . /home/user/.cache/pypoetry/virtualenvs/myproject-Hyrvhkrx-py3.8/bin/activate
[~/src/myproject]$
Installation
Install poetry-alias by running:
poetry plugin add poetry-alias
Commands
-
poetry alias add eggs— define “eggs” as alias for the current project. If a different project already used “eggs” as its alias, the command would abort with a corresponding error message. Multiple aliases can be defined per project. -
poetry alias show— show all aliases for the current project. -
poetry alias list— list all project aliases in alphabetical order along with their assigned project directories. -
poetry alias go eggs— change to the directory of the project aliased “eggs”, and activate the virtualenv. -
poetry alias rm eggs— remove the “eggs” project alias. The alias name is optional for this command; if omitted, the current projects’ aliases will be removed. -
poetry alias prune— remove all aliases that no longer point to a project directory. -
poetry alias clean— remove all alias definitions.
Contribute
- Issue Tracker: https://gitlab.com/obda/poetry-alias/-/issues
- Source Code: https://gitlab.com/obda/poetry-alias
License
The project is licensed under the MIT license.
Metadata
Release files for poetry-alias 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poetry-alias-0.1.0.tar.gz | 9.8 kB | Without provenance | Details for poetry-alias-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_alias-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for poetry_alias-0.1.0-py3-none-any.whl |
Total release size: 22.3 kB
Release files / poetry-alias-0.1.0.tar.gz
| Download URL | poetry-alias-0.1.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e091308918b4a54a010cea49b2982256f2482a9a0277157aa2de9165db5ffc4
|
|
BLAKE2b-256 checksum How to use checksums |
619d9c68b3b146114b5f1c227be77fca755b6714809f583081edf92b365697b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.7.12 Linux/5.4.109+
|
Release files / poetry_alias-0.1.0-py3-none-any.whl
| Download URL | poetry_alias-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93791f23ffb44e04567f2f181c5961e3a1c427b3426990c01c300e9badbef8db
|
|
BLAKE2b-256 checksum How to use checksums |
6bd961ba74abdf248a3107c4869c7d5b4756cf49e7fa4d72a832b9cc5342ff03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.7.12 Linux/5.4.109+
|
Security for poetry-alias 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.