Skip to content

Latest commit

 

History

History
177 lines (121 loc) · 5.25 KB

README.md

File metadata and controls

177 lines (121 loc) · 5.25 KB

Taipy Logo

Welcome to Taipy

PyPI

Turns Data and AI algorithms into full web apps in no time.

How? Taipy GUI with Taipy Core pops out as a 360° platform to build production-ready web apps



Open Source, 100% Python




📊 We make both ends meet ⚙️


TAIPY GUI - the frond end TAIPY CORE - the back end
Taipy Logo Taipy Logo


Installation

Open a terminal and run:

$ pip install taipy

You're all set! All aboard the Taipy journey 🚂


Ready, Set, GUI

Tiny Taipy GUI Demo

Create a new file taipy.py with the following code:

from taipy import Gui

my_app="""
# Welcome to Taipy
## Getting started with Taipy GUI

### How excited are you to try TAIPY?

<|{my_param}|slider|min=1|max=100|>

My excitement level: <|{my_param}|text|>
"""

my_param=100

Gui(page=my_app).run()

Press RUN/CTRL+F5

GUI demo
🎊 TADA! 🎊


Gimme more



EN-CORE?

Let's create a quick pipeline that doubles our input number 43


Taipy Studio - The easy peasy way

You can use the CORE editor called Taipy Studio in VSCode.

GUI demo

Taipy CORE - a walk on the code side

Low Code your DAGs

import taipy as tp
from taipy import Config

#function
def double(nb):
    return nb * 2

input_data=43

#datanodes
input_data_node_cfg = Config.configure_data_node("input", default_data=input_data)
output_data_node_cfg = Config.configure_data_node("output")

#Configuration of task
task_cfg = Config.configure_task("double",
                                 double,
                                 input_data_node_cfg,
                                 output_data_node_cfg)

#Configuration of the pipeline and scenario
pipeline_cfg = Config.configure_pipeline("my_pipeline", [task_cfg])
scenario_cfg = Config.configure_scenario("my_scenario", [pipeline_cfg])

#my_scenario is the id of the scenario configured
scenario_cfg = Config.scenarios['my_scenario']

tp.Core().run()

# Creation of the scenario and execution
scenario = tp.create_scenario(scenario_cfg)
tp.submit(scenario)

print("Value at the end of task", scenario.output.read())

CORE demo

Contributing ⚒⚒

Want to help build Taipy? Check out our CONTRIBUTING.md file.

Code of conduct

Want to be part of the Taipy community? Check out our CODE_OF_CONDUCT.md file.

License

Copyright 2023 Avaiga Private Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directory Structure

  • taipy:
    • _run.py: The python module exposing the method run to use to start a Taipy application.
  • CODE_OF_CONDUCT.md: Code of conduct for members and contributors of taipy.
  • CONTRIBUTING.md: Instructions to contribute to taipy.
  • INSTALLATION.md: Instructions to install taipy.
  • LICENSE: The Apache 2.0 License.
  • README.md: Current file.
  • setup.py: The setup script managing building, distributing, and installing taipy.