Re:Show HN: A curated list of insecure Python packages
by daveguy on Thursday October 27, 2016 @05:04PM
(#12810113)
This is awesome. What a great service! Just curious, what stack did you use for the human browsable site and database? I am looking for a quick data reporting stack like this that is hopefully easy to set up in Python. Any advice?
[ Parent
| on HN ]
Re:Show HN: A curated list of insecure Python packages
by jayfk on Thursday October 27, 2016 @05:33PM
(#12810434)
I wouldn't call it stack, really. It's just a little bit jQuery flavored JavaScript that loads the DB via ajax and adds all entries to the DOM. Under 30 LOC: https://github.com/pyupio/safety-db/blob/master/docs/index.h...
It's a bit dirty, but was the right tool for the job. If you are working on a larger project, I'd probably use some template language like mustache to render the elements.