Nodal
An execution graph for Python tasks.
Example
import nodal
from nodal.graph import Graph
def demo():
# Create a graph
graph = Graph()
# Create nodes within the graph context to trigger graph callbacks.
with graph:
# Create a Plus node with value 3
plus1 = nodal.nodes.Plus(3)
# Create a Plus node with value 7 and plug into the first Plus
plus2 = graph.create_node('Plus', 7)
plus2.set_input(0, plus1)
# Create an Output node and plug into the second Plus
output = nodal.nodes.Output()
output.set_input(0, plus2)
# Execute graph
graph.execute(output)
if __name__ == '__main__':
demo()
Metadata
Release files for nodal 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nodal-0.0.3.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nodal-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.9 kB
Release files / nodal-0.0.3.tar.gz
| Download URL | nodal-0.0.3.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e038445f53dc5e5472aec821efaf5d0567a80da7dcdf78811ae3a5650b2ccb99
|
|
BLAKE2b-256 checksum How to use checksums |
d3237745242f773712a4da76faf61d4a1f9257d6c608b9a5bf7c38c4d23852c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
|
Release files / nodal-0.0.3-py3-none-any.whl
| Download URL | nodal-0.0.3-py3-none-any.whl |
|---|---|
| Size | 17.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57d54731b1cd966a63cbf8dda01a99041fb70b68617fe0cd76e9a4ba482e435f
|
|
BLAKE2b-256 checksum How to use checksums |
f70bb5b12cc4362d2d2df3879176fe09381f9458fcc5c24e8e41966aa817f4c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0
|