Build easy data processing pipelines in python.
Project description
rohr
Build easy data processing pipelines in python.
Example:
import rohr
class CapitalizeNode(rohr.Node):
def run(self, data: str) -> str:
return data.capitalize()
class SpaceNode(rohr.Node):
def run(self, data: str) -> str:
return f' {data} '
pipeline = rohr.Pipeline()
pipeline.add(CapitalizeNode()).add(SpaceNode())
name = 'paul'
result = pipeline.run(name)
# result is ` Paul `
print(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
rohr-0.2.0.tar.gz
(1.3 kB
view details)
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
rohr-0.2.0-py3-none-any.whl
(1.6 kB
view details)
File details
Details for the file rohr-0.2.0.tar.gz.
File metadata
- Download URL: rohr-0.2.0.tar.gz
- Upload date:
- Size: 1.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.2.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1289bc4940371c9b021c7ba919a74a0403cc97ce3efbf580af58c658245bd47d
|
|
| MD5 |
3a48aee397da6d535cf17799beddfddd
|
|
| BLAKE2b-256 |
d1a2863aa02a6a19954cf756ba148eba9a6aaf6d1afce73e16e6a7fc45f902a6
|
File details
Details for the file rohr-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rohr-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.2.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c4b273030678b45785332a6a1e084ae5024b29a8059ea6c2bf77c8472a4a975
|
|
| MD5 |
489c1d16d8d1dcdc3b02032932dfdba0
|
|
| BLAKE2b-256 |
0393efb15fd7be6e1b81130b53ffa9866b7229a6f0da584d3e83e250a1de1d1a
|