Blog

Ideas and insights from our team

Posts order by Python category

[pt-BR] PythonBrasil[13] Talks
Rob Novelino

Slides from talks given during the PythonBrasil[13] event will be posted here. This post and the slides are written in Brazilian Portuguese. Prevenindo dores de cabeça com linters e checagens automáticas Palestrante: Flávio Juvenal Link dos Slides: Prevenindo dores de cabeça com linters e checa...

Oct. 6, 2017
read more
Multitenancy: juggling customer data in Django
Filipe Ximenes

Suppose you want to build a new SaaS (Software as a Service) application. Suppose your application will store sensitive data from your customers. What is the best way to guarantee the isolation of the data and make sure information from one client does not leak to the other? The answer to that is...

Sept. 13, 2017
read more
[pt-BR] Python Nordeste 2017 Talks
Felipe Farias

Slides from talks given during the Python Nordeste 2017 event will be posted here. This post and the slides are written in Brazilian Portuguese. 5 meses de Python: o que aprendi Palestrante: @rsarai Link dos slides: 5 meses de Python: o que aprendi Trabalhar como desenvolvedor de software pod...

June 9, 2017
read more
[Talk] All Things Python meetup in Sunnyvale
Filipe Ximenes

I'll be talking at the All Things Python meetup! It will happen on June 6 in Sunnyvale, California. I'll be talking about good practices designing async tasks and some advanced Celery features.This will be a first version of the talk I'm preparing for DjangoCon US in August. For signing up or mo...

May 31, 2017
read more
Advanced Django querying: sorting events by date
Filipe Ximenes

Imagine the situation where our application has events (scheduled tasks, appointments, python conferences across the world) happening in different moments of time. Almost anything with a date attached to it. We want to display them in a simple list to the user. Given we are in February 2017 (the ...

April 19, 2017
read more
How I test my DRF serializers
Filipe Ximenes

How I test my DRF serializers In this blog post, I will show the whats and whys on testing Django REST Framework serializers. First, some context. Here is the model setup we are going to use for this example: from django.db import models class Bike(models.Model): COLOR_OPTIONS = (('yello...

Jan. 11, 2017
read more
Metaprogramming and Django - Using Decorators
Victor Carriço

While programming is about, in some way, doing code to transform data, metaprogramming can be seen as the task of doing code to change code. This category is often used to help programmers to enhance the readability and maintainability of the code, help with separation of concerns and respect one...

Nov. 17, 2016
read more
Vinta's Review of PythonBrasil[12]
Rob Novelino

PythonBrasil[12] happened in Florianópolis - SC and lasted for 6 days. We saw some amazing Keynotes from some awesome speakers, such as @SagnewShreds, @hannelita, @NaomiCeder, @freakboy3742, @seocam we got to have a lot of community time getting to know new people from all around Brazil and stil...

Nov. 4, 2016
read more
Python API clients with Tapioca
Filipe Ximenes

In this post I'll present to you Tapioca, a Python library to create powerful API clients with very few lines of code. If you don't want to read through the reasons why I've built it, you may just jump straight to the Tapioca Wrapper section. Why do we need a better way to build API clients Integ...

Oct. 25, 2016
read more
[pt-BR] PythonBrasil[12] Talks
Felipe Farias

Slides from talks given during the PythonBrasil[12] event will be posted here. This post and the slides are in written in Brazilian Portuguese. O que é esse tal de REST? Palestrante: @xima Link dos slides: O que é esse tal de REST? REST é a bola vez quando falamos sobre API. As maioria dos se...

Oct. 15, 2016
read more
Database concurrency in Django the right way
Guilherme Caminha

When developing applications that have specific needs for running asynchronous tasks outside the web application, it is common to adopt a task queue such as Celery. This allows, for example, for the server to handle a request, start an asynchronous task responsible of doing some heavyweight proce...

Sept. 29, 2016
read more
Functional programming in Python the simplest way
Anderson Resende

One of the best ways to learn something is by comparing it to things we already know. This blog post has two main goals. The first one is to introduce the basic concepts of functional programming, and for that we will compare with the main rival paradigm, the imperative programming. The second is...

Dec. 22, 2015
read more