Six examples of ways to refactor your Python code, and why they are improvements.
Ensuring Sourcery improves code without changing its functionality
Star our repo to refactor your most popular Python repo
Get an instant quality boost to your open source codebase.
Get instant Python refactorings as a VS Code extension
A guide to comprehensions, generators and useful functions and classes
A simple GitHub action for formatting, linting, testing, and building a Python application
Best practices for tracking down and resolving software issues.
A simple Dockerfile for a perfect Python application
Easy ways to improve and simplify your code, with Python examples.
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.
Best practices for setting up a project to maintain the highest quality code
16 steps to transform and simplify the code
Refactor Python instantly using the power of AI