Escape's Python CLI
Project description
Python CLI
Escape's Command Line Interface for Python
Install for development
Install Poetry globally
Poetry is a pip
replacement which is very close to npm
in Node.js.
python3.9 -m pip install poetry
Set your Poetry default venv path
More info: https://python-poetry.org/docs/configuration/#cache-dir
You can either use a global Virtual Env for all your Python projects such as:
poetry config virtualenvs.path ~/.venv
Or create a Virtual Env specific to your project:
poetry config virtualenvs.in-project true
Main Functions
More info: https://python-poetry.org/docs/cli/
Basic functions:
poetry shell
: Source the Virtual Env of the repopoetry install
: Install all dependenciespoetry install --no-dev
: Install all dependencies expect dev dependenciespoetry update
: Update dependenciespoetry add my-depency
: Add dependency
Install Escape-CLI in editable mode in another project
To install the CLI in the application Virtual Env on which you want to use the CLI in editable mode (meaning you will not need to reinstall it a each edit), simply run from the root of this directory:
./scripts/install-in-venv.sh ../../path/to/my/.venv/bin/activate
Note the path can be relative or absolute.
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
File details
Details for the file escape-py-1.0.0b20.tar.gz
.
File metadata
- Download URL: escape-py-1.0.0b20.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.49+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c970a61b92b6f54a8cb8704d93070c88aedf90926ec98e1a6926dca11fc0e96c |
|
MD5 | 6676714074b5415f70f8ab5ae30d7f31 |
|
BLAKE2b-256 | e41514a25c989d7fa75b3d221085ac56a9cc3e745044da87c57912b53f697dd6 |
File details
Details for the file escape_py-1.0.0b20-py3-none-any.whl
.
File metadata
- Download URL: escape_py-1.0.0b20-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.49+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ec8082c54a14f064da7c4375b51ed5b906bf6c4606303355f64a414ac786cd |
|
MD5 | e2ab53e73a03537e4de8808d17c7dfe5 |
|
BLAKE2b-256 | 99cc1b78fda67b24121ec78f647d3d5d4377c398972eacd66334c7c98533e5e0 |