Visual scripting for Pyton
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Installing
You can install the method by typing:
pip install ritual
Basic usage
Create a new folder, and start the local editor using the command:
ritual --editor
Then, go to http://0.0.0.0:5000/.
On the local website, right click to add functions or variables (represented as boxes), and link them to create a graph.
You can save the graph as well as running it by clicking on the top-right buttons.
You can add different pre-existing packages to the editor, as well as your own (documentation soon), by adding the --packages parameter:
ritual --editor --packages ritual.lib_requests ritual.lib_pandas
These packages add a new set of boxes that you can place and call, in this case http requests and Pandas DataFrame basic I/O functions.
When saved, the graph and the packages references are stored in a single .json file (in the graphs/ folder) that you can call later on by omitting the --editor parameter:
ritual -f graphs/XXXX.json
Or by loading directly the graph in Python:
from ritual import load_graph
ritual = load_graph("graphs/XXXX.json")
state = ritual.run()
The state variable is a dict that contains the boxes output values, accessible by box name.
Authors
Maixent Chenebaux
Metadata
Release files for ritual 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ritual-0.0.1.tar.gz | 17.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ritual-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.6 kB
Release files / ritual-0.0.1.tar.gz
| Download URL | ritual-0.0.1.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11be3cf0e8fdc453d65c45aa21c42134b21ca5dda7dff1a2ebd3d21b1b5d414a
|
|
BLAKE2b-256 checksum How to use checksums |
51c6ddab0e4a7c34582f549173aeab2e80bbbc99f16c785da288e36284f47ebb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
|
Release files / ritual-0.0.1-py3-none-any.whl
| Download URL | ritual-0.0.1-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ae2c237588f975921338fe815d1789b54dc06d6fec59fc9c1e4f3b1f9ca3010
|
|
BLAKE2b-256 checksum How to use checksums |
7da8fb7a2061d1129a3d188da8e5b9bd8d2b250edf66766959f6098ca869d498
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
|