Skip to content

Helper functions in python exploiting python internals

Notifications You must be signed in to change notification settings

tin-z/toolbox_python

Repository files navigation

toolbox python

Snippet of python to do interesting stuff

Base examples

  • generator.py : generators example
  • iterator.py : iterators example
  • property.py : properties example
  • magic.py : magic functions example
  • decorator.py : decorators example
  • function_decorator.py : function decorator example
  • class_decorator.py : class decorators
  • metaclass.py : metaclass example
  • factory.py : class method as factory method
  • abstract.py : abstract base classes

Advanced examples

  • dump_classes.py : print as json string all class-objects loaded by the class laoder (modules and classes)
    • a use case scenario is we have a thread taking snapshots and doing analysis

About

Helper functions in python exploiting python internals

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages