Skip to main content

Python SDK and runtime for Flyde - a visual flow-based programming language and IDE.

Project description

PyFlyde

Build

Python runtime for Flyde with Data Engineering emphasis.

Example graph running K-means clustering with Pandas and Scikit-learn

Links:

Getting started

You need Python 3.9+ installed on your machine to run PyFlyde.

Then you can install PyFlyde using pip:

pip 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

To run other examples you would need to install their dependencies:

pip install examples/

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.ts definitions, e.g.:

pyflyde gen examples/mylib/components.py

Flyde editor needs .flyde.ts 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyflyde-0.0.10.tar.gz (358.5 kB view details)

Uploaded Source

Built Distribution

pyflyde-0.0.10-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file pyflyde-0.0.10.tar.gz.

File metadata

  • Download URL: pyflyde-0.0.10.tar.gz
  • Upload date:
  • Size: 358.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pyflyde-0.0.10.tar.gz
Algorithm Hash digest
SHA256 da6e591d7fa54517d67d2368c596f1f9bd126f9d3d257bb57fa7d0f86e576911
MD5 67a82813cf3ace2581e62296dd71327d
BLAKE2b-256 bca1c600fcde6259d20a400c79052c0d7c929e2b80d8be25a67a9f487db9afbe

See more details on using hashes here.

File details

Details for the file pyflyde-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pyflyde-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for pyflyde-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8d2e2dfc5235dd45845c2e8b657a3997fe5bde70b77a9bfb8c76ffc5c9c4542e
MD5 4f21012948d7df97e78e9aa0789bb915
BLAKE2b-256 edce46febbcf2d31ced525403076b531277501df5f8474100ca76428069f9964

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page