News for hackers. Stuff that matters.
Re:Pypeline: A Python library for creating concurrent data p... by bb88 on Monday September 24, 2018 @02:44PM (#18060221)
First of all, it's super cool. :)

There are a lot of "pipe" projects in PyPi, but your project is also about process management. Maybe you should avoid "pipe" in your name perhaps? FlowProcessor? nFlow? xFlow?

I do agree that you should avoid io for asyncio. You should probably at least use aio, but there's no reason you can't have asyncio_task, thread_task, multiprocessing_task.

Lastly, in my mind the killer app for this would be to allow something that works on top of Celery in production, but then be able to fall back to say multiprocessing or threading when running locally. That would allow me to prototype something, and then when I want to scale, I can just change a config setting.

Re:Pypeline: A Python library for creating concurrent data p... by cgarciae on Monday September 24, 2018 @03:26PM (#18060621)
Hey, thanks for all the feedback. I will change the naming since its something most of you have agreed is a good change.

The goal I have for Pypeline is much simpler: let you easily setup data pipelines where you leverage processes, threads and asyncio where they are good at. So in my mind a killer app would be a pipeline that maybe starts with an asyncio stage for e.g. downloading images, maybe then a multiprocess stage for e.g. doing image processing, and finally a threading stage for e.g. interacting with the OS.

Right now I see Pypeline more as an easy to use single machine tool instead of a higher level distributed abstraction like Celery. Maybe other framework could leverage Pypeline to ease their work.

Re:Pypeline: A Python library for creating concurrent data p... by bb88 on Saturday September 29, 2018 @09:02PM (#18103921)
So then I would want to have one more stage... a celery stage for when you want to cluster work across multiple machines. :)