Python SDK and runtime for Flyde - a visual flow-based programming language and IDE.
Project description
PyFlyde
Python runtime for Flyde with Data Engineering emphasis.
PoC warning
This is a proof-of-concept and not a final implementation. Structure and API may change drastically before public release.
Getting started
You need Python 3.9+ installed on your machine to run PyFlyde.
First, you need to install its dependencies:
pip install .
Then you can run the Hello World example:
./flyde.py examples/HelloPy.flyde
Using the visual editor
Install Flyde VSCode extension from the marketplace.
Whenever you change your component library classes or their interfaces, use flyde.py gen command to generate .flyde.ts definitions, e.g.:
./flyde.py gen examples/mylib/components.py
Running a Machine Learning example
Clustering.flyde
is a more complex example which uses Pandas and Scikit-Learn to run K-means clustering on a wine clustering dataset from Kaggle. It's a PyFlyde version of https://github.com/Shivangi0503/Wine_Clustering_KMeans.
To run this example, you need to install its dependencies first:
cd examples
pip install .
cd ..
After going back to the main folder you can run it with:
./flyde.py examples/Clustering.flyde
Contributing
Install dev dependencies
pip install .\[dev\]
Run tests and coverage reports
To run tests only:
make test
TO run tests with coverage and see report:
make cover report
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.