3 ms·
Lately I have been trying to cover more ground in popular Python frameworks since despite many years of using it, most of my experience is scientific programmin
by radarsat1 6y ago
Lately I have been trying to cover more ground in popular Python frameworks since despite many years of using it, most of my experience is scientific programming, "short job" scripts, and a few CLI and GUI tools; now that I am looking for a job, I found that recruiters wouldn't believe me that I am a Python "developer" unless I can point to some web-hosted projects; so I decided to attack Django and Flask simultaneously.
I wrote a machine learning "deployment" microservice using Django, and wrote a client for it in Flask, with the front-end doing some nice d3 graphs of the output in JavaScript. Works great, although in the end I thought Flask maybe would have been a better choice for the service, and Django for the client! Not sure. Both running in Docker on separate machines, one a dedicated host, the other on Heroku. Frankly the whole thing was a pretty pleasant experience and only took me a week so I felt gratified that I made the attempt and now have something to point to when people ask if I can program in Python. (I won't post the link unfortunately as there is no way my server can handle the HN load; it's just for my own personal demonstrations while I'm working on getting hired, anyway. In the future I might move the model execution to tensorflow.js and then the whole thing could be an almost static site running on Heroku with some client-side processing handling the heavy stuff, but no time for that now.)
- rasulkireev 6y agoSounds cool, one of my goals of learning Django was to merge my interests in Data Science and Web Development, sort of Data Science as a Software (DSaaS). Do you have a demo link? Would love to check it out!
- radarsat1 6y agoI don't want to post it publicly because of the potential load, I guess i can't PM on HN, you can send me an email (my username@gmail.com) or a message at the same username on reddit
- deleted 6y ago[deleted]