The common module and its submodules probides varies functions ans classes which can be used in any context.
The main functions provided by this package are followings:
print_args
: Decorate a function so that print arguments before calling it.print_return
: Decorate a function so that print result after calling it.constant
: Decorate a function so that the result is a constant value.memoized
: Decorate a function to memoize results.
See documents for more information.
Use pip
to install this package.
pip install --upgrade rgmining-common
This software is released under The GNU General Public License Version 3, see COPYING for more detail.