-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b05cfe
commit ca39736
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,23 @@ | ||
# Nodeflow | ||
This is a package that helps you combine python scrips using a node system | ||
---------- | ||
Nodeflow if a framework to make pipelines from nodes. You can implement any logic you want by using Variable, | ||
Function and Adapter nodes. Nodeflow support implicit converter for Variables with priority on non-lossy adapters | ||
converting pipeline | ||
|
||
Installing | ||
---------- | ||
Install NodeFlow from PyPI via ``pip install nodeflow`` | ||
|
||
Usage | ||
---------- | ||
To write your own things just implement all required methods in corresponding abstract classes. | ||
Example for Variable: | ||
```python | ||
from nodeflow.node.abstract import Variable | ||
|
||
|
||
class Bool(Variable): | ||
def __init__(self, value: bool): | ||
assert isinstance(value, bool) | ||
super().__init__(value) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "nodeflow" | ||
version = "0.0.1" | ||
version = "0.0.2" | ||
description = "" | ||
authors = ["Maksim Shushkevich <[email protected]>"] | ||
license = "MIT" | ||
|