#SansIO

2024-09-20

Just released multipart 1.0 on #pypi

pypi.org/project/multipart/
github.com/defnull/multipart/

For this release I completely re-wrote the multipart/form-data parser, this time as an incremental #SansIO (non-blocking) parser suitable for #asyncio or other time or memory constrained environments. It's also really fast now (~3GB/s). Nice enough to justify a 1.0 release.

The entire package is distributed as a pure #Python single-file module with no dependencies, as usual ;)

2024-09-02

I rewrote my #foss implementation of a #python #multipart form data parser as a #sansio (push based #nonblocking ) parser, and it is now not only suitable for #async applications, but also 2x to10x faster than the old (blocking) implementation. Was a ton of work, but totally worth it. Release will follow later this week.

github.com/defnull/multipart/p

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst