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.
Links:
Getting started
You need Python 3.9+ installed on your machine to run PyFlyde.
Then you can install PyFlyde to your environment using pip:
pip install pyflyde
On some systems Python3 requires pip3 command instead:
pip3 install pyflyde
Running the examples
You can copy examples folder from this repository to your local project to give it a try. Then you can run the example flow with:
pyflyde examples/HelloWorld.flyde
Or you can install this package locally after cloning this repository and run the examples directly:
pip install .
./pyflyde examples/HelloWorld.flyde
To run other examples you would need to install their dependencies:
pip install examples/
Then you can run e.g.
./pyflyde examples/Clustering.flyde
Using the visual editor
Install Flyde VSCode extension from the marketplace. It will open existing .flyde files in the visual editor. You can call Flyde: New Visual Flow command in VSCode to create a new flow file.
You can browse the component library in the panel on the right. To see your local components click the "View all" button. They will appear under the "Current project". Note that PyFlyde doesn't implement all of the Flyde's stdlib components, only a few essential ones.
Whenever you change your component library classes or their interfaces, use pyflyde gen command to generate flyde-nodes.json definitions, e.g.:
pyflyde gen examples/
This will recursively scan all Python files in the directory and its subdirectories to find PyFlyde components and generate a flyde-nodes.json file with relative paths. Flyde editor needs flyde-nodes.json files in order to "see" your components.
Running a Machine Learning example and creating your first project
For further details please check Quickstart guide.
Contributing
Install dev dependencies
pip install .\[dev\]
Run tests, linters and coverage reports
To run tests only:
make test
To run tests with coverage and see report:
make cover report
To run linters:
make lint
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyflyde-0.1.0.tar.gz.
File metadata
- Download URL: pyflyde-0.1.0.tar.gz
- Upload date:
- Size: 183.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
085688fe548c173690f1ee4426442eaf2259b70434e43bc1256271c8acb02957
|
|
| MD5 |
eb280b343d6c0ba49b353c5af38929ae
|
|
| BLAKE2b-256 |
63cc8381b4b30f2684c22e18a71a6e6923735ee6f9094e1669c7f4ffcc5a310b
|
File details
Details for the file pyflyde-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyflyde-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8952ab383f3d4ef12276cab9863e4e984551b42a0734308e2b677b314b69144
|
|
| MD5 |
74e29467734769c3c418adc13f65601b
|
|
| BLAKE2b-256 |
2c17f5832343af2cf7545e6ed7a456f16b5de5a376c53f94f40c02f566a9dd92
|