5 ms·
Does python have anything like this?
by adenozine 6y ago
Does python have anything like this?
- julianrubisch 6y agohttps://pypi.org/project/django-sockpuppet/ https://pypi.org/project/django-sockpuppet/ It's a SR clone, the maintainers are actually very active in our community :-)
- shinryuu 6y agoor link to actual repo -> https://github.com/jonathan-s/django-sockpuppet https://github.com/jonathan-s/django-sockpuppet (I'm the maintainer).
- tbran 6y agohtmx [1] (formerly intercooler) is sort of similar, although the server instead returns html fragments. Here's an example [2] of using it for infinite scroll (instead of pagination). I'm pretty excited to try out django-sockpuppet from an adjacent comment! [1]: https://htmx.org/ https://htmx.org/ [2]: https://engineering.instawork.com/iterating-with-simplicity-evolving-a-django-app-with-intercooler-js-8ed8e69d8a52 https://engineering.instawork.com/iterating-with-simplicity-...
- rkangel 6y agoThis comment I have just made applies equally to Python as to Ruby I think: https://news.ycombinator.com/item?id=25791181 https://news.ycombinator.com/item?id=25791181
- theptip 6y agoWhat’s the missing feature? Native M:N green threads? Seems to me that Python’s async is a fair bit more mature than Ruby, so the comparison here is not obvious to me.
- rkangel 6y agoThe conclusion I have come to is that the way you interact with the concurrency model is just as important as what the model is underneath. Erlang (and Elixir) have got both levels right - M:N scheduling underneath, and the actor model (with excellent library support) on top to best take advantage of it.
- m4r71n 6y agoDjango does: https://github.com/edelvalle/reactor https://github.com/edelvalle/reactor
- adparadox 6y agoMore of a port of Laravel's Livewire (so only AJAX calls, no websockets), but I've been working on something similar for Django at https://www.django-unicorn.com/ https://www.django-unicorn.com/. I also detail other options at https://www.django-unicorn.com/docs/#related-projects https://www.django-unicorn.com/docs/#related-projects.