Metadata-Version: 2.1
Name: onetrick
Version: 2.1.0
Summary: one module, one call
Home-page: UNKNOWN
Author: Perzan
Author-email: PerzanDevelopment@gmail.com
License: UNKNOWN
Description: If your project exposes a module 
        --------------------------------
        `mymodule.py`:
        ```python
        import onetrick
        
        @onetrick(__name__)
        def myfunction():
            print("Hello world!")
        ```
        Then it can be called from elsewhere:
        ```python
        import mymodule
        
        #Either like this
        mymodule() # (Hello world!)
        
        #Or like this
        mymodule.myfunction() # (Hello world!)
        ```
        
        If your project exposes a package
        ---------------------------------
        ```
        .
        +-- mypackage
        |   +-- __init__.py
        |   +-- mymodule.py
        ```
        `mymodule.py`:
        ```python
        import onetrick
        
        @onetrick
        def myfunction():
            print("Hello world!")
        ```
        `__init__.py`:
        ```python
        from .mymodule import myfunction
        
        myfunction.onetrick(__name__)
        ```
        Then it can be called from elsewhere:
        ```python
        import mypackage
        
        #Either like this
        mypackage() # (Hello world!)
        
        #Or like this
        mypackage.myfunction() # (Hello world!)```
Platform: UNKNOWN
Requires-Python: ~=3.5
Description-Content-Type: text/markdown
