Giter Site home page Giter Site logo

hamersaw / flytesnacks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flyteorg/flytesnacks

0.0 1.0 0.0 15.25 MB

Flyte Examples, User-Guides and Tutorials - https://flytecookbook.readthedocs.io/en/latest/

Home Page: https://flyte.org

License: Apache License 2.0

Dockerfile 0.31% Makefile 0.37% Shell 0.10% Python 5.09% Jupyter Notebook 94.12% CSS 0.01%

flytesnacks's Introduction

Flyte Logo

Flyte User Guide & Tutorials

Flytesnacks encompasses code examples built on top of Flytekit Python

🚀 Quick Start

To get the hang of Python SDK, refer to the Getting Started tutorial before exploring the examples.

User Guide section has code examples, tips, and tricks that showcase the usage of Flyte features and integrations.

Tutorials section has real-world examples, ranging from machine learning training, data processing to feature engineering.

📖 Contribution Guide

Flytesnacks currently has all examples in Python (Flytekit Python SDK). In the future, Java examples employing Flytekit JAVA will be out.

Here are the setup instructions to start contributing to flytesnacks repo:

💻 Contribute to examples

  1. Determine where to put your new code:

    • Core

      Contains examples that demonstrates functionality available within core flytekit. These examples should be runnable locally.

    • Integrations

      Contains examples that leverage one or more of the available plugins.

    • Case Studies

      Contains examples that demonstrates usage of Flyte to solve real world problems. These are more generally more complex examples that may require extra setup or that can only run on larger clusters.

  2. Create a directory After determining where to put your example, create a directory under the appropriate parent directory. Each example directory should contain:

    • Dockerfile
    • Makefile
    • README.rst
    • init.py
    • requirements.in
    • sandbox.config It might be easier to copy one of the existing examples and modify it to your needs.
  3. Add it to CI Examples are references in this github workflow Add a new entry under strategy -> matrix -> directory with the name of your directory as well as its relative path.

  4. Test your code!

    • If the Python code can be run locally, just use python <my file> to run it.
    • If the Python code has to be tested in a cluster:
      • Install flytectl by running brew install flyteorg/homebrew-tap/flytectl. Learn more about install and configuration of flytectl
      • Run the make start command in the root directory of the flytesnacks repo
      • Visit https://localhost:30081/console to view the Flyte console consisting of the examples present in flytesnacks/cookbook/core directory
      • To fetch new dependencies and rebuild the image, run make register
      • If examples from a different directory (other than core) have to registered, enter the sandbox first: make shell and then run make -C <directory> register.

📝 Contribute to documentation

docs folder in flytesnacks houses the user guide and tutorials present in the documentation. Refer to the documentation contribution guide to get acquainted with the guidelines.

🐞 File an Issue

Refer to the issues section in the contribution guide if you'd like to file an issue relating to flytesnacks code or documentation.

flytesnacks's People

Contributors

ajsalow avatar akhurana001 avatar arturdryomov avatar aviaviavi avatar bnsblue avatar brucearctor avatar cosmicbboy avatar dependabot[bot] avatar eapolinario avatar enghabu avatar flyte-bot avatar honnix avatar igorvalko avatar jeevb avatar jonathanburns avatar juandiegopalomino avatar katrogan avatar kumare3 avatar max-hoffman avatar mayitbeegh avatar pianist038801 avatar pingsutw avatar pmahindrakar-oss avatar samhita-alla avatar sandragh5 avatar sbrunk avatar tekumara avatar thomvett avatar wild-endeavor avatar yindia avatar

Watchers

 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.