This release is a pre-release and may not be stable for production use.
Flytekit
Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans. To understand more about flyte refer to,
Installation
Flytekit is designed for minimal footprint, and thus some features must be installed as extras.
Base Installation
This is the lightest-weight SDK install. This installation includes everything you need to interact with Flyte.
Modules include:
- 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).
Tools include:
- 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
Plugin Installation
Spark
If @spark_task is to be used, one should install the spark plugin.
pip install flytekit[spark]
Schema
If Types.Schema() is to be used for computations involving large dataframes, one should install the schema extension.
pip install flytekit[schema]
Sidecar
If @sidecar_task is to be used, one should install the sidecar plugin.
pip install flytekit[sidecar]
Pytorch
If @pytorch_task is to be used, one should install the pytorch plugin.
pip install flytekit[pytorch]
Full Installation
To install all or multiple available plugins, one can specify them individually:
pip install flytekit[sidecar,spark,schema]
Or install them with the all directive.
pip install flytekit[all]
Testing
Flytekit is Python 2.7+ compatible, so when feasible, it is recommended to test with both Python 2 and 3.
Unit Testing
Setup (Do Once)
virtualenv ~/.virtualenvs/flytekit
source ~/.virtualenvs/flytekit/bin/activate
python -m pip install -r requirements.txt
python -m pip install -U .[all]
Execute
source ~/.virtualenvs/flytekit/bin/activate
python -m pytest tests/flytekit/unit
shellcheck **/*.sh
Metadata
Release files for flytekit 0.10.1.dev100
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flytekit-0.10.1.dev100.tar.gz | 193.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flytekit-0.10.1.dev100-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 451.8 kB
Release files / flytekit-0.10.1.dev100.tar.gz
| Download URL | flytekit-0.10.1.dev100.tar.gz |
|---|---|
| Size | 193.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08a3ed06a956284a4f26937f19948aec32debcfcc04d489dabe6f77918dca694
|
|
BLAKE2b-256 checksum How to use checksums |
383d681ff56fa50cb42d78a87c10009bd5bd414e53e46b7c0ab94cc26bda8882
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / flytekit-0.10.1.dev100-py3-none-any.whl
| Download URL | flytekit-0.10.1.dev100-py3-none-any.whl |
|---|---|
| Size | 258.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
114ea670b873916da3aeb9fb330ba15930e2e1a76d087a7daecc5b45907e55c8
|
|
BLAKE2b-256 checksum How to use checksums |
e7d419a812bb90b310eb9220527557773c6ebf3127a22ca56b3ebaff6a894673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|