BetterPy – Supercharge Your Python Development in PyCharm¶
BetterPy is a PyCharm plugin built to make everyday Python development faster and less repetitive. It hooks into PyCharm's native intentions and inspections engine to add thoughtful actions around type annotations, parameter refactoring, and code transformations - things like extracting parameter objects, toggling Optional hints, or copying annotations from parent methods.
The plugin is under active development, with a growing set of features targeting pytest tests and fixtures, generics, Protocol workflows, and deeper AI/MCP integrations.
GitHub: https://github.com/chbndrhnns/pycharm-plugin-betterpy
18 production-ready intentions, inspections, refactorings, and actions that make PyCharm even smarter for Python developers.
Type Safety¶
6 features. Wrap and unwrap expressions to match expected types, toggle type aliases, strip annotations, and get smarter completions.
Refactoring¶
7 features. Populate arguments, introduce parameter objects, extract protocols, change visibility, and more code transformations.
Productivity¶
1 features. Copy actions, generate classes, introduce custom types, enhanced dataclass info, and documentation helpers.
IDE Customization¶
4 features. Tweaks to IDE surfaces — navigation bar, Structure View, Go-to popups, and run console — without touching your source code.
Quick Start¶
- Install the plugin from the JetBrains Marketplace — search for BetterPy.
- Open any Python file in PyCharm.
- Press Alt+Enter on a parameter with a default value to try Make Parameter Mandatory — your first BetterPy intention.
Compatibility¶
| Requirement | Version |
|---|---|
| PyCharm / IntelliJ IDEA | 2026.1 or later |
| Python plugin | Must be installed and enabled |
All features are toggleable
Every BetterPy feature can be individually enabled or disabled in Settings → Tools → BetterPy. Incubating features are clearly marked so you know what's stable and what's experimental.