Metadata-Version: 1.0
Name: typed-envs
Version: 0.0.1.dev1
Summary: typed_envs is used to create specialized EnvironmentVariable objects that behave exactly the same as any other instance of the `typ` used to create them.

typed_envs is used for:
    - defining your envs in a readable, user friendly way
    - enhancing type hints for the returned instances
    - enhancing __repr__ of the returned instance with extra contextual information

Home-page: https://github.com/BobTheBuidler/typed-envs
Author: BobTheBuidler
Author-email: bobthebuidlerdefi@gmail.com
License: MIT
Description: typed_envs is used to create specialized EnvironmentVariable objects that behave exactly the same as any other instance of the `typ` used to create them.
        
        typed_envs is used for:
            - defining your envs in a readable, user friendly way
            - enhancing type hints for the returned instances
            - enhancing __repr__ of the returned instance with extra contextual information
        
        In the example below, `some_var` can be used just like as any other `int` object.
        
        ```
        import typed_envs
        some_var = typed_envs.create_env("SET_WITH_THIS_ENV", int, 10)
        >>> isinstance(some_var, int)
        True
        >>> isinstance(some_var, EnviromentVariable)
        True
        ```
        
        There are only 2 differences between `some_var` and `int(10)`:
            - `some_var` will properly type check as an instance of both `int` and `EnvironmentVariable`
            - `some_var.__repr__()` will include contextual information about the `EnvironmentVariable`.
        
        ```
        >>> some_var
        <EnvironmentVariable[name=`SET_WITH_THIS_ENV`, type=int, default_value=10, current_value=10, using_default=True]>
        >>> str(some_var)
        "10"
        >>> some_var + 5
        15
        >>> 20 / some_var
        2
        ```
        
        
Platform: UNKNOWN
