• Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created about 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Extensible Python SDK for developing Flyte tasks and workflows. Simple to get started and learn and highly extensible.

Flyte Logo

Flytekit Python

Flytekit Python is the Python SDK built on top of Flyte

Plugins ยท Contribution Guide

PyPI version fury.io PyPI download day PyPI download month PyPI format PyPI implementation Codecov PyPI pyversions Docs Code style: black Slack

Flytekit Python is the Python Library for easily authoring, testing, deploying, and interacting with Flyte tasks, workflows, and launch plans.

If you haven't explored Flyte yet, please refer to:

๐Ÿš€ Quick Start

Flytekit is the core extensible library to author Flyte workflows and tasks and interact with Flyte backend services.

Installation

pip install flytekit

A Simple Example

from flytekit import task, workflow

@task(cache=True, cache_version="1", retries=3)
def sum(x: int, y: int) -> int:
    return x + y

@task(cache=True, cache_version="1", retries=3)
def square(z: int) -> int:
    return z*z

@workflow
def my_workflow(x: int, y: int) -> int:
    return sum(x=square(z=x), y=square(z=y))

๐Ÿ“ฆ Resources

๐Ÿ“– How to Contribute to Flytekit

You can find the detailed contribution guide here. Plugins' contribution guide is included as well.

Code Structure

Please see the contributor's guide for a quick summary of how this code is structured.

๐Ÿž File an Issue

Refer to the issues section in the contribution guide if you'd like to file an issue.

๐Ÿ”Œ Flytekit Plugins

Refer to plugins/README.md for a list of available plugins. There may be plugins outside of this list, but the core maintainers maintain this list.

More Repositories

1

flyte

Scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks.
Go
5,407
star
2

flytesnacks

Flyte Documentation ๐Ÿ“–
Python
75
star
3

flytestdlib

A apache commons style library in Golang, use by the Flyte project. Contains utilities for metrics, pflags, config management, storage abstraction, caching etc
Go
60
star
4

datacatalog

Data Catalog is a service for indexing parameterized, strongly-typed data artifacts across revisions. It also powers Flytes memoization system
Go
54
star
5

flytepropeller

FlytePropeller is a Kubernetes native operator, that executes Flyte Workflows and Tasks. It has its own kubectl-flyte CLI to interact and is extensible using the flyteplugins/pluginmachinery interface
Go
47
star
6

flytekit-java

Java/Scala library for easily authoring Flyte tasks and workflows
Java
46
star
7

flytectl

A cross platform CLI for Flyte. Written in Golang. Offers an intuitive interface to Flyte https://docs.flyte.org/projects/flytectl/en/latest/
Go
46
star
8

flyteadmin

Control Plane for Flyte. Flyteadmin is a gRPC + REST Service written in golang and uses a RDBMs to store meta information and management information for Flyte Tasks and Workflows.
Go
39
star
9

flytelab

Machine Learning Projects with Flytekit
Python
35
star
10

flyteconsole

The user interface for Flyte
TypeScript
34
star
11

flyteidl

Specification of the IR for Flyte workflows and tasks. Also Interfaces for all backend services. https://docs.flyte.org/projects/flyteidl/en/stable/
Go
28
star
12

flyteplugins

Flyte Backend Plugins contributed by the Flyte community.
Go
28
star
13

flytekit-python-template

CookieCutter template for getting started with Flyte python projects
Python
18
star
14

boilerplate

A repository of boilerplate code
Shell
13
star
15

flyte-conference-talks

A repo of Flyte-related conference talks
Python
13
star
16

flytecopilot

The Flyte data-sidecar that helps move the input and output data intelligently between containers
Go
10
star
17

airflow-provider-flyte

Flyte Airflow Provider
Python
9
star
18

flytetools

Miscellaneous tools for Flyte contributors
Python
8
star
19

flyteproto

[Deprecated] A repo to hold generated code from kubernetes API protos
Shell
7
star
20

community

Place for the community to collaborate, co-ordinate, celebrate and grow.
7
star
21

bazelrules_flyte

Starlark
5
star
22

pytest-flyte

Makefile
4
star
23

homebrew-tap

Homebrew Tap for all public tools published in flyteorg
Ruby
4
star
24

flyte-vscode-demo

Python
3
star
25

odsc-2021

Flyte x ODSC 2021 Training Agenda
Python
3
star
26

flyteorg.github.io

flyte.org home ๐Ÿก
HTML
3
star
27

static-resources

Hosts all static resources across repositories
Python
2
star
28

flyte-demos

Demos of Flyte
Python
1
star