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.0b23.tar.gz
.
File metadata
- Download URL: escape-py-1.0.0b23.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 | f8777611149f7b9a2cff71527cfec2415ed97be3acc9706b5a523bd95f22caec |
|
MD5 | 63f3ff14c1911649304bc4759c0cb91d |
|
BLAKE2b-256 | b75977a992b3bae3f46d1cb4a2aa4993abe24c963d432837fe8747cc13568b43 |
File details
Details for the file escape_py-1.0.0b23-py3-none-any.whl
.
File metadata
- Download URL: escape_py-1.0.0b23-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 | 598f06548e28c7100165320d299f762110faa5ebbf3f198c86f4711f8d18e26e |
|
MD5 | abd6a2c3b2878baa8ac31f0204ef4446 |
|
BLAKE2b-256 | 998957ba3ee11515676cf45ead3e4306ffadcad3eae48e7381c05c197829b11f |