Skip to content

Plans

Plan Comparison

For a full feature comparison between the Free, Pro, & Teams plans please see our Plans & Pricing page.

Free

The free tier of Sourcery gives you access to all basic refactorings in your IDE or for public GitHub repos. Private GitHub repos for individuals or organizations require a Sourcery Pro or Sourcery Teams plan. You can create a free account with your email address, GitHub account, or Google account.

Free Trial

When you create a free Sourcery account you get 30 days of free access to all of the Sourcery Pro features as a trial.

Pro

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.

Advanced Refactorings

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 students@sourcery.ai and we'll help you get set up.

Team

Sourcery Team includes features that allow full teams of developers to use Sourcery to analyse and refactor their code across their development process. Sourcery Team includes everything in Sourcery Pro plus allows you to use Sourcery in organization's GitHub repos, use the Sourcery CLI, and run Sourcery as part of your CI pipeline or as a pre-commit hook.

Sourcery for GitHub Organizations

Sourcery will review any new pull requests your team makes and you can triger a refactoring of an existing branch at any time. See our section on GitHub usage for full details on how to use Sourcery for GitHub.

You can try out Sourcery in an organization's GitHub repo for free for up to 3 team members. This trial is limited to new PRs (doesn't allow you to refactor the full repo).

CLI, CI, & Pre-Commit Hook

With a Sourcery Team plan you can use the Sourcery CLI to refactor a single file, multiple files, a folder, or a full project on demand.

You can also setup a script as part of your CI that will allow Sourcery to analyze and suggest refactorings for all new code. Alternatively you can set Sourcery to run as a pre-commit hook to automatically review all new commits..

To get started using the Sourcery CLI, see the instructions here.