Python implementation of the FlowBase Flow-based Programming micro-framework idea (see flowbase.org)
Project description
# FlowBase-Python
Python implementation of the [FlowBase micro-FBP framework idea](https://flowbase.org), using Python’s asyncio library, introduced in Python 3.4/3.5.
## Installation
`bash pip install flowbase `
## Try an example
` cd examples python string_processing_pipeline.py `
### Expected output:
`bash $ python string_processing_pipeline.py Printer got line: hi hi for the 1:TH TIME... Printer got line: hi hi for the 2:TH TIME... Printer got line: hi hi for the 3:TH TIME... Printer got line: hi hi for the 4:TH TIME... Printer got line: hi hi for the 5:TH TIME... Printer got line: hi hi for the 6:TH TIME... Printer got line: hi hi for the 7:TH TIME... Printer got line: hi hi for the 8:TH TIME... Printer got line: hi hi for the 9:TH TIME... Printer got line: hi hi for the 10:TH TIME... Printer got line: hi hi for the 11:TH TIME... Printer got line: hi hi for the 12:TH TIME... Printer got line: hi hi for the 13:TH TIME... Printer got line: hi hi for the 14:TH TIME... Printer got line: hi hi for the 15:TH TIME... Printer got line: hi hi for the 16:TH TIME... Printer got line: hi hi for the 17:TH TIME... Printer got line: hi hi for the 18:TH TIME... Printer got line: hi hi for the 19:TH TIME... Printer got line: hi hi for the 20:TH TIME... `
## Acknowledgements
Kudos to [Simone Baffelli](https://github.com/baffelli)’s [Pyperator](https://github.com/baffelli/pyperator/) library which showed that it is in fact possible to implement an FBP-like library using asyncio.
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
File details
Details for the file flowbase-0.0.3.tar.gz
.
File metadata
- Download URL: flowbase-0.0.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9859c4f1672fda33115d5f1fe2977d42753a0ed65e0d33ccbae6bbb18707c1 |
|
MD5 | dc3e0cd63de79c62926d2980410d90be |
|
BLAKE2b-256 | 968c90ccf0a987c994fdd7e3bf072490c5cf37591c956eee0c869b791d104fd4 |