3 ms·
I like the sound of general purpose API tooling! In developing small services with flask, I've found myself reusing the same serialization code, input validatio
by chatmasta 12y ago
I like the sound of general purpose API tooling! In developing small services with flask, I've found myself reusing the same serialization code, input validation code, etc. You might be interested in Marshmallow, a minimalist serializtion framework. [0] I've enjoyed working with it, especially with Flask. I believe Flask-Restless or Flask-Restful uses it as well.
[0] http://marshmallow.readthedocs.org/en/latest/ http://marshmallow.readthedocs.org/en/latest/
- joshfriend 12y agoFlask-RESTful currently has its own serializer module, but we have plans to deprecate it in the future and replace it with Marshmallow[1] [1]: https://github.com/flask-restful/flask-restful/issues/335 https://github.com/flask-restful/flask-restful/issues/335
- boronine 12y agoI'm developing a system that, among other things, could be an even more minimalist alternative to Marshmallow [0]. I actually haven't seen Marshmallow until now, it looks very nice. [0] http://teleport-json.org/ http://teleport-json.org/