patch-json-float

patch builtins float class


Keywords
monkey-patch, patch, developer
Install
pip install patch-json-float==0.3

Documentation

Patch Python float

Convert to decimal.Decimal for every operations of Float, which will monkey patch builtins float.

Usage

from patch_float import patch_json_loads, test_json_loads
patch_json_loads()
test_json_loads()

# Or

from patch_float import patch_float_all
patch_float_all()