Skip to main content

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 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

escape-py-1.0.0b23.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

escape_py-1.0.0b23-py3-none-any.whl (25.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page