Flyte SDK for Python
Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans. To understand more about flyte refer to,
Flytekit is designed for minimal footprint, and thus some features must be installed as extras.
This is the lightest-weight SDK install. This installation includes everything you need to interact with Flyte.
- The full Flyte IDL and an additional model layer for easier extension of the data model.
- gRPC client for communicating with the platform.
- Implementations for authoring and extending all Flyte entities (including tasks, workflows, and launch plans).
- flyte-cli (Command-Line Interface for Interacting with the Flyte Platform)
- pyflyte (Command-Line tool for easing the registration of Flyte entities)
pip install flytekit
@spark_task is to be used, one should install the
pip install "flytekit[spark]" for Spark 2.4.x pip install "flytekit[spark3]" for Spark 3.x
Types.Schema() is to be used for computations involving large dataframes, one should install the
pip install "flytekit[schema]"
@sidecar_task is to be used, one should install the
pip install "flytekit[sidecar]"
@pytorch_task is to be used, one should install the
pip install "flytekit[pytorch]"
@tensorflow_task is to be used, one should install the
pip install flytekit[tensorflow]
To install all or multiple available plugins, one can specify them individually:
pip install "flytekit[sidecar,spark,schema]"
Or install them with the
all-spark3 directives which will install all the plugins and a specific Spark version.
Please note that
all currently defaults to Spark 2.4.x. In a future release (starting 0.15.x),
all will be switched to use Spark 3.x.
pip install "flytekit[all]"
$ make Available recipes: setup Install requirements fmt Format code with black and isort lint Run linters test Run tests requirements Compile requirements
Setup (Do Once)
virtualenv ~/.virtualenvs/flytekit source ~/.virtualenvs/flytekit/bin/activate make setup
source ~/.virtualenvs/flytekit/bin/activate make fmt
source ~/.virtualenvs/flytekit/bin/activate make test
source ~/.virtualenvs/flytekit/bin/activate make requirements
This will re-create the
dev-requirements.txt files which will be used for testing. You will have also have to re-run
make setup to update your local environment with the updated requirements.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size flytekit-0.14.1-py3-none-any.whl (295.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size flytekit-0.14.1.tar.gz (222.7 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for flytekit-0.14.1-py3-none-any.whl