rayanht/paprika
Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.
This Python library helps developers write cleaner, more concise code by automating common, repetitive tasks like generating `__str__`, `__eq__`, and `__hash__` methods for classes. It takes your class definitions as input and outputs code that behaves identically but with significantly less manual typing. Python developers who are tired of writing the same boilerplate code for their object-oriented applications will find this useful.
No commits in the last 6 months. Available on PyPI.
Use this if you are a Python developer who frequently writes classes and wants to reduce the amount of repetitive boilerplate code for object equality, string representation, or basic constructors.
Not ideal if you prefer to explicitly define every method in your classes or are working in a language other than Python.
Stars
81
Forks
3
Language
Python
License
MIT
Category
Last pushed
Jun 25, 2021
Commits (30d)
0
Dependencies
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/rayanht/paprika"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
inducer/cgen
C/C++ source generation from an AST
vil02/puzzle_generator
Generates python code representing a puzzle
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
numen31337/copy_with_extension
Auto-generate `copyWith` methods for your Dart classes.
finsberg/gotranx
Next generation ODE translator