Metadata-Version: 2.1
Name: escape-py
Version: 1.0.0b22
Summary: Escape's Python CLI
Home-page: https://escape.tech/
License: Proprietary
Author: Escape Technologies SAS
Author-email: ping@escape.tech
Maintainer: Antoine Carossio
Maintainer-email: antoine.carossio@me.com
Requires-Python: >=3.6,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Django (>=3.2,<4.0)
Requires-Dist: Flask (>=1.1.2,<2.0.0)
Requires-Dist: click (>=7.1.2,<8.0.0)
Requires-Dist: coverage (>=5.5,<6.0)
Requires-Dist: escape-scanner-darwin-x64 (>=1.0.0-beta.22,<2.0.0); sys_platform == "darwin"
Requires-Dist: escape-scanner-linux-x64 (>=1.0.0-beta.22,<2.0.0); sys_platform == "linux"
Requires-Dist: inquirer (>=2.7.0,<3.0.0)
Requires-Dist: loguru (>=0.5.3,<0.6.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Requires-Dist: simplejson (>=3.17.2,<4.0.0)
Requires-Dist: termcolor (>=1.1.0,<2.0.0)
Project-URL: Bug Tracker, https://gitlab.com/escape.tech/product/issues
Project-URL: Repository, https://gitlab.com/escape.tech/product
Description-Content-Type: text/markdown

# 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 repo
- `poetry install`: Install all dependencies
- `poetry install --no-dev`: Install all dependencies expect dev dependencies
- `poetry update`: Update dependencies
- `poetry 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.

