Skip to main content

i created reprtools, because i was annoyed by how i have to write __repr__ in my simple classes

usage:

   from reprtools import FormatRepr

   class User(object):
       __repr__ = FormatRepr("<User {name}>")

       def __init__(self, name):
           self.name = name



>>> User('test')
<User test>

Release files for reprtools 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reprtools 0.1
File Size Uploaded
reprtools-0.1.tar.gz 1.5 kB Details

Release files / reprtools-0.1.tar.gz

Download URL reprtools-0.1.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
36af2a280521375d1715760f7175066d45a02d739776df35e5aa1741bbde6b2c
BLAKE2b-256 checksum
How to use checksums
9840188ca28ddaa99e26dfcf7f6ae88034732783162a3312c7ca3f76ab6887ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page