Git Product home page Git Product logo

vpraharsha03 / flytekit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flyteorg/flytekit

0.0 0.0 0.0 5.58 MB

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

Home Page: https://docs.flyte.org/projects/cookbook/en/latest/

License: Apache License 2.0

Shell 0.33% Python 98.89% CSS 0.03% Makefile 0.47% HTML 0.14% Dockerfile 0.06% Roff 0.08%

flytekit's Introduction

Flyte Logo

Flytekit Python

Flytekit Python is the Python SDK built on top of Flyte

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.

flytekit's People

Contributors

wild-endeavor avatar eapolinario avatar pingsutw avatar matthewphsmith avatar kumare3 avatar cosmicbboy avatar samhita-alla avatar katrogan avatar enghabu avatar honnix avatar slai avatar snyk-bot avatar jeevb avatar yindia avatar derwiki avatar smritisatyanv avatar akhurana001 avatar bnsblue avatar th0114nd avatar alekhyasasi avatar migueltol22 avatar mayitbeegh avatar dependabot[bot] avatar asottile avatar sonjaer avatar sandragh5 avatar jonathanburns avatar flyte-bot avatar andrewwdye avatar fediazgon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.