Simple annotations to automatically generate __str__ and __repr__ methods
Project description
simplestr
A python package with annotations to automatically generate __str__(self)
and __repr__(self)
methods in classes
Description
This package provides only two annotations:
@gen_str
to generate__str__(self)
method@gen_repr
to generate__repr__(self)
method
Installation
Normal installation
pip install simplestr
Development installation
git clone https://github.com/jpleorx/simplestr.git
cd simplestr
pip install --editable .
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simplestr-0.1.tar.gz
(1.8 kB
view hashes)