Skip to main content

Package for creating generic objects with transparent 'repr'

Project description

vyGeneric Library

vyGenericObjectRepr

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)

vyGeneric

from vyGeneric import vyGeneric

  • A generic class which uses vyGenericObjectRepr for repr

vyGenericDict

from vyGeneric import vyGenericDict

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

vyGenericObjectRepr

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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page