Web based Python visual programming
Project description
PyWeaver
PyWeaver is a visual code editor for Python that leverages web technologies. It is inspired by Jupyter Notebook and Simulink. The project is under development. Currently working with Python 2. Python 3 support comming soon.
Motivation
I spend most of my time analyzing data (mostly time series) of chemical process plants. I wanted a tool that optimizes the workflow of importing, cleaning and analyzing data by expliciting the relationship of the variables involved and defining the flow of information. I wanted the tool to have enough flexibility to display different type of plots and UI components and perform any kind of calculation.
Ultimately, PyWeaver will have the functionality to store and grow a library of computational nodes that users will be able to drag & drop to define their workflows. They will also be able to easily develop their own nodes to fit their specific needs.
Installation
If you want to run the current development version: Clone the repo, cd into client, npm i and npm run serve. Also, cd into server, run python main.py.
This will be improved shortly.
How it works
Each computational node is defined by a Python function, an HTML snippet that determines what is displayed in the UI and a Java Script object containing any functions needed by the UI. All the code is introduced via the web client and processed by the server:
Python function: The server analyzes the code, finds the inputs and outputs of each function and creates the sockets in the UI to specify how to connect the variables.
HTML Display: PyWeaver leverages the power of Vue.js, mxgraph, codemirror and Vuetify. I am currently working on integrating Plotly.
Result:
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
File details
Details for the file pyweaver-0.0.10.tar.gz
.
File metadata
- Download URL: pyweaver-0.0.10.tar.gz
- Upload date:
- Size: 8.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b0f2c2f9fec945ce2f85106ce9a1332962c01ba0f43790028dfa44e9ce1902 |
|
MD5 | baab6ec6a9020c59700bc0fd2eb03ed1 |
|
BLAKE2b-256 | a51924286cae34171760e30984a062b97f44b04cef4f68d1c63845b2e8bf3d5b |
File details
Details for the file pyweaver-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: pyweaver-0.0.10-py3-none-any.whl
- Upload date:
- Size: 8.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e36ad607afb62a2179941bd64f031fe6af2a3858154ea153dd88c4dc5ebc2861 |
|
MD5 | 6369a177212a623a552a7af6f09f4d19 |
|
BLAKE2b-256 | 14c07a4513ff67ba8062e7dca47758bc870465b80b7cc2d03217937d15f4018c |