util_magic#
docstring style#
Show supported docstring header. |
|
Show google docstring style. |
|
Show numpy docstring style. |
password_generator#
|
Generate a random password with given length and character types. |
decorator - requires#
|
Wrap a function with extra dependency checks. |
decorator - func running time#
|
A decorator to measure the time of a function or class method. |
|
A decorator to measure the time of a function or class method. |
decorator - run parallel#
|
Run a function in parallel with multiple processors. |
decorator - end of life#
|
A decorator to mark the end of life of a function or class method. |
module import#
|
Import a python package and optionally install it when it is missing. |
Return active Python environment information. |
|
|
List all user-defined functions in a module. |
|
Get only defined members. |
Get import members. |
|
|
Check if a function is user-defined. |
|
Check whether a module is importable in the current Python environment. |
count code lines#
|
Counts the number of lines of code in a Python package. |
time out function#
|
A decorator to set the timeout for the function. |
|
A decorator to set the timeout for the function on linux system. |
Convert python file to dynamic linked library#
|
Convert a Python file to a DLL using Cython and setuptools. |