Skip to main content

Package for creating generic objects with transparent 'repr'

Project description

vyGeneric Library


from vyGeneric import vyGenericObjectRepr

  • vyGenericObjectRepr(object) will return nice printable 'repr' for your objects
  • If you inherit your class, say 'MyClass', from vyGeneric, then any object of MyClass, say 'myObject', prints all its hidden info when you call print(myObject)


from vyGeneric import vyGeneric

  • A generic class which uses vyGenericObjectRepr for repr


from vyGeneric import vyGenericDict

  • A descendant of vyGeneric which can store items like a dictionary


from vyGeneric import vyGenericArray

  • A descendant of vyGeneric which can store items like a list

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

vyGeneric-0.0.2.tar.gz (1.5 kB view hashes)

Uploaded source

Built Distribution

vyGeneric-0.0.2-py3-none-any.whl (2.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page