Skip to content
Advertisement

puffadder (Lombok’s alternative for Python) not maintained?

I am looking for some Python library similar to Java’s Lombok. I found puffadder 0.1, from 2016, but now that I tried to install it with pip, it does not work.

Links:

Shell output:

JavaScript

So, is it not compatible anymore with modern versions of Python? Why is not in pip anymore, was it discontinued, or just lack of integration in pip (so, I could maybe clone it from GitHub).

Also, does someone know some supported alternative, apart from using @property?

Advertisement

Answer

Python 3.7 added dataclasses Which reminds me of the Lombok in Java. It generates _init_, _repr_ and some more.

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement