Sourcery Pro includes more advanced features helping you to refactor private GitHub repos, analyse and refactor multiple files at once in your IDE, detect duplicate (and near duplicate) code, and includes advanced refactorings.
Everyone who signs up for Sourcery gets 30 days of free trial access to Sourcery Pro. After those 30 days you need to upgrade to continue using the Sourcery Pro features.
Sourcery in Private GitHub Repos
For Sourcery Pro users, Sourcery is able to analyze and refactor all public and private individual repos.
See our section on GitHub Usage for more details on how to use Sourcery for GitHub.
A Sourcery Team plan is required to use Sourcery for private repos for a GitHub organization.
Multi-file Analysis & Refactoring
With Sourcery Pro you can have Sourcery analyze multiple files, a folder, or your full project through your IDE (currently available for VS Code and PyCharm).
See our instructions for VS Code and PyCharm for specific guides.
Duplicate Code Detection
You can use Sourcery Pro to quickly find duplicate sections of code across your project. Duplicate code detection can identify exact duplication or similar code. You can configure Sourcery to change the thresholds that Sourcery uses for duplicate detection.
Duplicate Code Detection is currently available for VS Code and PyCharm.
Sourcery Pro includes all of Sourcery's refactoring suggestions, including advanced refactorings. Currently this includes extracting duplicate code into separate methods.
Analysis and refactorings beyond the function level (eg class level refactorings) are currently available to all users, but may be limited to Sourcery Pro or Sourcery Team users in the future.
Sourcery for Students
Students learning Python are able to get 12 months of free access to Sourcery Pro. Please email firstname.lastname@example.org and we'll help you get set up.