Sourcery Blog

by Nick Thapen
May 11, 2020

Six examples of ways to refactor your Python code, and why they are improvements.

by Brendan Maginnis
April 28, 2020

Ensuring Sourcery improves code without changing its functionality

by Brendan Maginnis
April 07, 2020

Star our repo to refactor your most popular Python repo


Get an instant quality boost to your open source codebase.

by Nick Thapen
March 10, 2020

Get instant Python refactorings as a VS Code extension

by Nick Thapen
February 18, 2020

A guide to comprehensions, generators and useful functions and classes


A simple GitHub action for formatting, linting, testing, and building a Python application

by Nick Thapen
January 28, 2020

Best practices for tracking down and resolving software issues.

by Brendan Maginnis
January 21, 2020

A simple Dockerfile for a perfect Python application

by Nick Thapen
January 14, 2020

Easy ways to improve and simplify your code, with Python examples.

by Nick Thapen
December 06, 2019

Sourcery is in beta - try our AI-powered refactoring in Pycharm now!


Sourcery will now run locally on your machine, meaning that no code is sent to the cloud. We are also planning to launch into paid beta in October.

by Brendan Maginnis
July 31, 2019

Best practices for setting up a project to maintain the highest quality code

by Nick Thapen
July 10, 2019

16 steps to transform and simplify the code

by Nick Thapen
June 14, 2019

Refactor Python instantly using the power of AI