Lately, here at Tryolabs, we started gaining interest in big data and search related platforms which are giving us excellent resources to create our complex web applications. One of them is Elasticsearch. Elastic{ON}15, the first ES conference is coming, and since nowadays we see a lot of interest in this technology, we are taking the opportunity to give […]
Category: Web Frameworks
Python web frameworks
New Django Website
After a series of Django gigs in 2014, I had the urge to redevelop our company website in Django; I am very happy with the results. This overview is roughly in order of development from start to finish. And since I am a “packaging guy”, I will take this opportunity to comment on miscellaneous packaging […]
Using Flask Cache
As a micro framework Flask does not have built-in cache functionality, however, there is werkzeug cache API and an excellent extension to provide its caching functionality to your Flask apps, that extension was created by @thadeusb and is very easy to implement and use. installing In your env install it via PyPI (recommended) pip install […]
Django, Flask, and Redis Tutorial: Web Application Session Management Between Python Frameworks
I love and use Django in lots of my personal and client projects, mostly for those involving relational databases and more classical web applications. However, by design, Django is very tightly coupled with its ORM, Template Engine System, and Settings object. Plus, it’s not a new project: it carries a lot of baggage from the […]
Flask Google Maps (plus: how to write a Flask extension)
Last week I was writing a talk to give at Google Developers Bus and I needed to show how to integrate Flask and Google Maps API, as I did not found any extension to Google Maps I decided to create one. One of the best things in Flask is the way it is extended by […]
Control Your Laptop with an Android Phone using Python, Twisted, and Django
It’s always fun to put your programming skills on display. A while back, I figured it’d be cool to try and control my laptop via my Android mobile device. Think about it: being able to play and pause music, start and stop programming jobs or downloads, etc., all by sending messages from your phone. Neat, […]
Big Redesign Time
I first posted in this blog 14 months ago. In the history of humanity, that’s not all that long ago, but for me it feels like an age. When I wrote that original blog post, I was still at university (just). I knew I was going to be a software engineer, but didn’t have much […]
Writing A Persona Identity Provider
As I said in my last post, I recently added Persona Identity Provider functionality to this blog. If you follow me on Twitter (and really, why wouldn’t you?), you might have noticed that this wasn’t an entirely smooth process. Mozilla are a great organisation, and there are lots of great developers working on the Persona […]
LibreQDA public release
A news worthy of The Tryolabs’ Herald: We have just proudly released to the public LibreQDA, a Qualitative Data Analysis tool that we have developed alongside with the Universitat Autónoma de Barcelona and the Universidad de la República Oriental del Uruguay. LibreQDA is what is commonly know in the psychology area as Computer Assisted Qualitative Data […]
Displaying timezone-aware dates with Tastypie
So you have made the decision to use timezone-aware dates and now you are building your cool REST API using Tastypie. Of course timezones are important to your application, so you want to expose them when Tastypie exposes dates in the API. You have a very simple resource that exposes a Django model that has […]
collectr: Static File Management for All Of Us
A little while ago I wrote a blog post talking about Git hooks. As an example in that post I wrote a post-commit hook that would minify and upload my static files to S3. This has spiralled a little bit out of control since then, and I finally drew the line at maintaining that script. […]
I Love Checkoutmanager and Dotfiles
An ode to my OS X development workstation setup [1] I am big on setting up my development environment, and enjoying the environment I work in. And I’m very thankful to the folks who make my life easier, including the authors of: Python: Python Core Developers dotfiles: Jon Bernard checkoutmanager: Reinout Van Rees I also […]
Python 3 Porting
The 3 in 2013 is for Python 3 I tend to like projects that everyone else hates, e.g.: Removing persistent Python objects associated with missing classes in ZODB. Making new releases for old software that is still useful but unmaintained. Running flake8 on 10s or 100s of source files and hand-fixing the results. Part of […]
New Year’s Python Meme 2012
This is my entry for Tarek Ziadé’s New Year’s Python Meme, a tradition I have come to enjoy. Both to reflect on the current year and look back on previous years. So here it is. I did this in 2009 & 2011. Let’s try it again. 1. What’s the coolest Python application, framework or library […]
Not All Opinions Are Equal
This blog post is a reaction to this blog post by David Hansson. If you have the time, I highly recommend reading it. If you don’t, I’ll summarise the most relevant bits as I go. Having Things Your Way David Hansson has recently written a blog post about Rails, and in particular about how Rails […]