Skip to content

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.

Explore Type Safety features

Refactoring

7 features. Populate arguments, introduce parameter objects, extract protocols, change visibility, and more code transformations.

Explore Refactoring features

Productivity

1 features. Copy actions, generate classes, introduce custom types, enhanced dataclass info, and documentation helpers.

Explore Productivity features

IDE Customization

4 features. Tweaks to IDE surfaces — navigation bar, Structure View, Go-to popups, and run console — without touching your source code.

Explore IDE Customization features


Quick Start

  1. Install the plugin from the JetBrains Marketplace — search for BetterPy.
  2. Open any Python file in PyCharm.
  3. Press Alt+Enter on a parameter with a default value to try Make Parameter Mandatory — your first BetterPy intention.

Installation guide


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.