Source code for csharpyml

Module *csharpyml*,
:epkg:`Python`, :epkg:`C#` and :epkg:``.


__version__ = "0.1"
__author__ = "sdpython"
__github__ = ""
__url__ = ""
__downloadUrl__ = ""
__license__ = "MIT License"
__blog__ = """
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
        <outline text="csharpyml"
            htmlUrl="" />

[docs]def check(log=False): """ Checks the library is working. It raises an exception. If you want to disable the logs: :param log: if True, display information, otherwise :return: 0 or exception :githublink:`%|py|38` """ return True
[docs]def _setup_hook(use_print=False): """ if this function is added to the module, the help automation and unit tests call it first before anything goes on as an initialization step. :githublink:`%|py|47` """ # we can check many things, needed module # any others things before unit tests are started if use_print: print("Success: _setup_hook")
[docs]def load_ipython_extension(ip): """ to allow the call ``%load_ext csharpy`` :param ip: from ``get_ipython()`` :githublink:`%|py|59` """ from .notebook import register_magics register_magics(ip)