Skip to content

Some helpful utility functions that use some of Python's advanced features to reduce boilerplate code.

License

Notifications You must be signed in to change notification settings

rahulraj/Python-Utils

Repository files navigation

This repo contains some code that reduces boilerplate when writing Python.
Currently four utilities are implemented:

with_getters_for - a function that adds getter functions to objects
assign_injectables - a function to populate a constructor that uses dependency
                     injection
MethodMissing - a mixin class that implements Ruby's method_missing in Python
MethodForwarder - a mixin inheriting from MethodMissing that forwards methods

About

Some helpful utility functions that use some of Python's advanced features to reduce boilerplate code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages