6 ms·
https://github.com/pallets/flask https://github.com/pallets/flask and https://github.com/kennethreitz/requests https://github.com/kennethreitz/requests both in
by bmaeser 10y ago
https://github.com/pallets/flask https://github.com/pallets/flask and https://github.com/kennethreitz/requests https://github.com/kennethreitz/requests
both in python, but beautiful code, well structured and you would not need any docs, just read the code
- notamy 10y agoFlask is absolutely beautiful; definitely agree with reading through it.
- noufalibrahim 10y agoI don't want to take anything away from requests. It's an extremely useful library. However, I do a code walkthrough of various popular libraries with my students and I've never been satisfied with requests internals. The emphasis, I've felt, is more on clean, stable, public API rather than internal consistency and cleanliness. I don't pick it up these days for my classes. Instead, we usually go through the python standard library. Especially the code from Raymond Hettinger.
- 2bitencryption 10y agothat sounds like a class I would love to take. any suggestions on what in the standard library to check out?
- noufalibrahim 10y agoWe usually do collections. Especially the implementation of the OrderedDict. It's a nice combination of compromises, careful coding and usefulness. I used to do requests but like I said, moved away. I sometimes do pygments to discuss how different lexers etc. are "plugged" in and also to show how messy the command line parsing code there is. This batch will probably be a little different since I'm reworking it completely. The syllabus for the first batch is here if you're interested in what we covered http://thelycaeum.in/blog/2014/06/10/mentoring_course_time_table/ http://thelycaeum.in/blog/2014/06/10/mentoring_course_time_t...