P

Python Getters and Setters

JetBrains

636eda27-5ebb-4661-82f7-ccc15fd1ba5b · v—

Adds getter/setter/deleter generation options to for Python. When you generate getters and setters, you will be prompted asking for which instance variables you want to generate properties for, and also which methods you want. To change the template of the generated methods, you can find the template in the "Live Templates > Python" section. Usage is easy: alt+insert > Generate > Getters and Setters

Completion
Open in store ↗ id: 20946
Downloads
6K
5 713
Rating
4.1 ★
4 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 4 ratings
5★ 75.0%
4★ 25.0%

Reviews 3

★★★★★ kernel 2023-07-27

thank you for your contribution. I found that the current version is currently unavailable in Pycharm 2023.2 . And I have a class with 100+attributes, the plugin dont show all.

★★★★★ Gerard Weatherby 2023-04-08

A great start. I don't get the default behavior. If I have a field named _thing def __init__(self): self._thing = 7 it generates a property with the same name. This causes a recursive stack overflow when I use the property. @property def _thing(self): return self._thing

★★★★★ MustBeAL 2023-07-31

please update

Similar in “Completion”