Prefect

Prefect

The modern Python workflow orchestration framework provides a visual management interface, task scheduling, status monitoring and automatic retry functions. Supports data pipeline construction, ETL process automation and complex workflow orchestration, and is a complete solution for enterprise-level data engineering and automated operation and maintenance.

22,477GitHub
Description

Prefect is a modern Python workflow orchestration framework that allows you to easily build, schedule, and monitor data pipelines and automate tasks. ** Core functions **: - ** Workflow orchestration **: Defining complex task dependencies - ** Timing scheduling **: Automatically execute tasks on time - ** Automatic retry **: Automatic retry for task failure - ** Visual monitoring **: Check the running status with the Web interface - ** Log management **: Complete execution logging The first access may require waiting for **30-45 seconds ** for the service to fully start. Install the Prefect client on your development computer: ```bash #Install using pipx (recommended) pipx install prefect Configure connection to your server: #Replace with your actual domain name prefect config set PREFECT_API_URL=https://your-domain.lzcapp/api Create the first workflow ### 1. Basic Example- Hello World Create the file `my_first_flow.py`: ```python from prefect import flow, task from datetime import datetime @task(name="Greetings") def say_hello(name: str): print(f"Hello, {name}! ") print(f"Current time: {datetime.now()}") return f"Hello, {name}! " @flow(name="Greeting Workflow") def hello_flow(name: str = "World"): message = say_hello(name) print(f"Message: {message}") return message if __name__ == "__main__": #Running the workflow hello_flow(name="Tiantian") ``` Run: ```bash python3 my_first_flow.py ``` ### 2. View results in Dashboard 1. Open the Web interface 2. Click the **"Runs"** menu on the left 3. View the details, logs and status of the workflow you just ran

Screenshots
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
App Information
Version
3.0.1
Package Size
2.97 KB
Image Size
277.91 MB
Updated
November 5, 2025
Source Code
PrefectHQ
Platform Support
PC