|
|
||
|---|---|---|
| .. | ||
| docs | ||
| static | ||
| templates | ||
| utils | ||
| README.md | ||
| flask_server.py | ||
| flow.py | ||
| main.py | ||
| nodes.py | ||
| requirements.txt | ||
README.md
PocketFlow Hello World
Your first PocketFlow application! This simple example demonstrates how to create a basic PocketFlow app from scratch.
Project Structure
.
├── docs/ # Documentation files
├── utils/ # Utility functions
├── flow.py # PocketFlow implementation
├── main.py # Main application entry point
└── README.md # Project documentation
Setup
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the example:
python main.py
What This Example Demonstrates
- How to create your first PocketFlow application
- Basic PocketFlow concepts and usage
- Simple example of PocketFlow's capabilities