A lightweight framework for flow-based programming in python.
Project description
flowpipe-editor
QT Editor for the flowpipe framework based on NodeGraphQt.
NOTE: In it's current state the Widget is a visualizer only not an editor.
For interpreter based node icons the interpreter key in the node's metadata (if existing) is used to find the matching icon from:
flowpipe_editor.flowpipe_editor_widget.ICONS_PATH.
Installation
The flowpipe editor can be easily installed using pip.
pip install flowpipe-editor
Example
from flowpipe import Graph, Node
from flowpipe_editor.flowpipe_editor_widget import FlowpipeEditorWidget
@Node(outputs=["renderings"], metadata={"interpreter": "houdini"})
def HoudiniRender(frames, scene_file):
"""Creates a Houdini scene file for rendering."""
return {"renderings": "/renderings/file.%04d.exr"}
graph = Graph(name="Rendering")
houdini_render = HoudiniRender(
name="HoudiniRender{0}-{1}".format(i, i + batch_size),
graph=graph,
frames=range(i, i + batch_size),
)
# ... create nodes and append to graph ...
window = QtWidgets.QWidget()
flowpipe_editor_widget = FlowpipeEditorWidget(parent=parentWidget)
flowpipe_editor_widget.load_graph(graph)
# .. add widget to window
Requirements
The requirements can be installed via pip.
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
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 flowpipe_editor-1.0.5.tar.gz.
File metadata
- Download URL: flowpipe_editor-1.0.5.tar.gz
- Upload date:
- Size: 327.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
557b18f7caf7daa8d88a1e51ba298fe91852f6f7b9994796a88af95f856a224d
|
|
| MD5 |
06d9ec090419e06240ce2e9f9685970e
|
|
| BLAKE2b-256 |
b4f08945750648d43533396b190406c09d0d3979be3e76de8aaf8c3c7db0a59c
|
File details
Details for the file flowpipe_editor-1.0.5-py3-none-any.whl.
File metadata
- Download URL: flowpipe_editor-1.0.5-py3-none-any.whl
- Upload date:
- Size: 329.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.13.7 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5000c69b89358a1569ed53a35027c3b213eaf727e824d564733d754cd0c2af58
|
|
| MD5 |
04c09785df49a93f8ee83107ecfca1b1
|
|
| BLAKE2b-256 |
4fd0df0b10b225f3798cab42dc5c5f4f6e5f7e3d6d41d8a7641af0c759a6f0bc
|