This project is not supported nor endorsed by Quantopain.
A collection of functions for automating actions on the Quantopian trading platform.
pip install quantopian-toolsOr to manually install, execute the following commands:
git clone https://github.com/Gitlitio/quantopian-tools.git
cd quantopian-tools
python setup.py installCheck out our documentation on readthedocs.
Makefile commands will only work inside a virtualenv or a condaenv
Initializes the virtualenv with an up-to-date version of setuptools, pip, and pip-tools.
Runs pip-compile with requirements/py<current interpreter version>.txt and produces a compiled requirement file in
the .cache directory . The pip-sync is ran with the newly compiled requirements file. This makes sure you are
running with the latest release of dependencies, assuming you haven't pinned them in the
requirements/py<current interpreter version>.txt file.
Runs pylint and pep8 on all packages in the project directory.
Runs py.test tests located inside the tests/ folder and any test files nested in a package in the project directory. Coverage is only calculated in this target.
Same as make test excluding coverage and tests marked as integration.
Same as make test excluding coverage and tests not marked as integration.
Builds a wheel using setuptools' bdist_wheel command. Locally builds are tagged with dev (ex 0.1.0+dev). In the travis build environment the wheel is tagged with the job number (ex. 0.1.0+build1.1).
Cleans the project of compiled python files and files generated by the above commands such as build and dist directories.
Copyright 2016 Gitlit. Licensed under the 3-clause BSD. See LICENSE.