Source code for gryphon.lib

__version__ = '0.1'

[docs]def main(): """Entry point for the application script""" print("Call your main application code here")
[docs]def monkeypatch_decimal_to_cdecimal(): # monkeypatch the "decimal" library in. # this is a drop-in replacement for "decimal". try: import cdecimal import sys sys.modules['decimal'] = cdecimal except ImportError: pass
[docs]def prepare(): monkeypatch_decimal_to_cdecimal()