Blocking HTTP requests The most popular and easy to use blocking http client for python is requests. The requests docs are simple and straight forward…for humans. The biggest performance gain you can acquire (provided you are making requests to a single host) is using an http session. This creates a persistent connection, meaning that additional […]
Category: python
The best way to learn ways of building your API wrapper / SDK is to build it yourself from scratch is to look at ones that already exist. Here is a list of python api wrappers you can checkout and view. Most if not all of them are already python packages. Here is a good […]
Ever wanted to add the time taken for a response to your API, so the client knows how long the server took to send a response? I first noticed this cool feature on AWX, a management platform for ansible playbooks. Their response headers looked like this: So I checked out their source code and copied […]
I used to use Jekyll site for my notes and summaries called fixes I wanted to move away from Ruby, that Jekyll uses, and try the language I prefer – python – and saw that pelican was the most popular. I also wanted to move away to improve the way categories are shown and to […]
Getting up and running on your local development setup and being able to build and see the changes you are making is one of the numerous reasons we like django. The built in development webserver helps a lot in this regard. As soon as we have to deploy the site on a server and make […]