PyCon US 2018 Twisted Birds of Feather Open Space Summary
Wed 16 May 2018 by Moshe ZadkaWe would like Twisted to support contextvars -- this would allow cross-async libraries, like eliot to do fancy things.
Klein is almost ready to be used as-is. Glyph has the good branch which adds
- CSRF protection
- Forms
- Sessions
- Authentication
But it is too big, and we need to break it to reviewable pieces to add it to master.
The other option for a Twisted-native web framework is Cyclone. It is not under heavy development, but this is mostly because it is done and reasonably stable: Duo Security is using it in production.
We are slowly improving the Request object by taking it out of the built-in and reimplementing it externally. Wilfredo is doing it in a side-project.
We talked a little about advanced use cases: How do you use a reactor in a non-main thread? The only marginally documented installSignalHandlers argument does that just fine.
If you want to spread processing between multiple processes, Ampoule does that. Help is greatly appreciated.
If you want to do weird things with resources, Moshe did something on Twitch this one time.
We made sure everyone knows their help would be appreciated, and gameified: Review tickets and participate on the mailing list.
Remeber: the book Expert Twisted is available for pre-orders!