Show HN: Lythonic – Compose Python functions into data-flow pipelines
Show HN (score: 5)Description
Async framework, mix sync/async python functions, compose them into DAGs, run them, schedule them, persist data between steps or let it flow just in memory.
GitHub: https://github.com/walnutgeek/lythonic
Docs: https://walnutgeek.github.io/lythonic/
PyPI: pip install lythonic
It is dataflow. So theoretically you can compose it with pure functions only. Lythonic requires annotations for params and returns to wire up outputs with inputs. All data saved in sqlite as json for now, and it would work for some amount of data ok.
You may use it as task flow keeping params and returns empty and maintaining all data outside of the flow.
But practically you may do well with some middle ground, just flow metadata thru, enough to make your function calls reproducible and keep some system of records that you can query reliably.
Anyway I will stop rambling ... soon.
Python 3.11+ MIT License. Minimal dependencies: Pydantic, Pyyaml, Croniter
Prepping for v0.1. Looking of feedback. v0.0.14 is out. Claude generated reasonable docs. Sorry, I would not be able to do it better. I am working on Web UI and practical E2E example app as well.
Thank you. -Sergey
More from Show
Show HN: Hosted PaddleOCR-VL-1.6 API
Show HN: Hosted PaddleOCR-VL-1.6 API We do a lot of document processing, and PaddleOCR-VL-1.6 is one of the best open models we've used. We wanted to use it as an api, but couldn't find anyone hosting it. so we started hosting it ourselves, but to get full utilization on the GPUs, we decided to let others use it as well.<p>If we did the pricing math right (which I hope we did), it should be the cheapest OCR there is, at just $0.001/page. Let us know if you find it useful
Show HN: I built a zero-latency developer tool suite in pure Vanilla JavaScript
Show HN: I built a zero-latency developer tool suite in pure Vanilla JavaScript
No other tools from this source yet.