easyrepr
Python decorator to automatically generate repr strings
Example
>>> from easyrepr import easyrepr
...
>>> class UseEasyRepr:
... def __init__(self, foo, bar):
... self.foo = foo
... self.bar = bar
...
... @easyrepr
... def __repr__(self):
... ...
...
>>> x = UseEasyRepr(1, 2)
>>> repr(x)
'UseEasyRepr(foo=1, bar=2)'
Installation
Easyrepr is available on PyPI, so the easiest method of installation is via pip.
$ pip install easyrepr
For more installation options, see the Installation section in the User Guide.
Documentation
For full documentation, check out easyrepr on Read the Docs.
Contributing
If you’re interesting in contributing to easyrepr, or just want to learn more about how the project is built or structured, please read our CONTRIBUTING file.
License
The MIT license applies to all files in the easyrepr repository and source distribution. See the LICENSE file for more info.
Metadata
Release files for easyrepr 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| easyrepr-0.4.0.tar.gz | 7.1 kB | Without provenance | Details for easyrepr-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| easyrepr-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for easyrepr-0.4.0-py3-none-any.whl |
Total release size: 14.9 kB
Release files / easyrepr-0.4.0.tar.gz
| Download URL | easyrepr-0.4.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d593f6ac7918e67a183d8cf34570584916f670215464fb8a67f919baf9d32ab2
|
|
BLAKE2b-256 checksum How to use checksums |
0a2c6d079904e83b783231d63543d7c914b045295dc6f28894ea46833012db42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.8.12 Linux/5.11.0-1022-aws
|
Release files / easyrepr-0.4.0-py3-none-any.whl
| Download URL | easyrepr-0.4.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
185ecaa1cca20881856ffd066c6c0b5c600872c5f9ba7de2cbffd24acea965cb
|
|
BLAKE2b-256 checksum How to use checksums |
5d1d736d361a31dacf869ea425e53e687573fb41485bed23d7ec4bb132a4b390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.8.12 Linux/5.11.0-1022-aws
|
Security for easyrepr 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.