Skip to main content

A CLI aimed at making it easier to run QuantConnect's LEAN engine locally and in the cloud

Project description

Lean CLI

Build Status PyPI Version

This CLI is still in development. Bugs may still occur and breaking changes may still happen before the 1.0.0 release. Use with caution.

The Lean CLI is a CLI aimed at making it easier to run the LEAN engine locally and in the cloud.

Installation

The CLI can be installed and updated by running pip install -U lean.

Usage instructions will be added when there is something usable in this repository.

Development

To work on the Lean CLI, clone the repository, enter an environment containing Python 3.6+ and run pip install -r requirements.txt. This command will install the required dependencies and installs the CLI in editable mode. This means you'll be able to edit the code and immediately see the results the next time you run lean.

If you need to add dependencies, first update setup.py (if it is a production dependency) or requirements.txt (if it is a development dependency) and then re-run pip install -r requirements.txt.

The unit tests can be ran by running pytest. The filesystem is mocked before running each test to ensure your local files won't be modified.

Maintainers can publish new releases by pushing a Git tag containing the new version to GitHub. This will trigger a GitHub Actions workflow which releases the current main branch to PyPI with the value of the tag as version. Make sure the version is not prefixed with "v".

Project details


Release history Release notifications | RSS feed

This version

0.1.1

Download files

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

Source Distribution

lean-0.1.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

lean-0.1.1-py3-none-any.whl (10.4 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