Flask configs per environment

When working on a Flask project, you may want to override flask configurations on different environments. Here are some suggestions. A folder structure like the following might work well /demo/ __init__.py configs/ __init__.py application.id default.py development.py production.py staging.py test.py controllers.py templates/ index.html In this structure, configs are plain python files and default is always loaded. […]

Optimizing XML parsing in Python

At work we consume lots of SOAP webservices, its probably a GDS thing. The most common type of request is flight availability search. Due to the sheer response size, they can be taxing to parse. It’s about time we take a Paretofied approach and optimize this critical 20ish percent of our code. So with the […]

%d bloggers like this: