The blog is currently being ported from WordPress to over 12 years of static pages of content.
If there's an article missing that you're hoping to see, please
contact me
and let me know and I'll prioritize getting it online.
At the new job, I started piecing together a Google Spreadsheet about our open-source software in various languages, based on frameworks, or example applications. One of the things we wanted to track for each repository was a count of open issues and pull requests we had at GitHub. Turns out Google made this pretty easy, but you have to scrape the repo page first.
The code I wrote a scraper in Python using Flask, Requests and BeatifulSoup, hosted the project on Heroku, and works a little like this:
Continue Reading
I’ve chatted with Miguel several times online and we met up in person for the first time at PyCon in 2016. I was excited to meet him in person and started explaining how he might remember our chats, etc., and he interrupted me with “Yes, Ian, I know who you are, I remember you.” Heh. Sorry, let my fanboy show a little.
Miguel is the author of the much-acclaimed “Flask Mega-Tutorial” which he explained on his blog was updated for Python 3 and written into book format, sponsored by O’Reilly.
Continue Reading
I have a Flask app that’s successfully accepting POST/PUT data via JSON input (tested through curl while gunicorn is running) but running nosetests is failing. (okay, technically I’m using Flask-Restful too…)
I’m curious if there’s a better way to debug this than tons of logging/printing, etc. I’ve been using PyCharm for development but its debugger doesn’t seem to actually run any of the tests. I can go into detail on anything that’s unclear but cannot post the project publicly.
Continue Reading