Metadata-Version: 2.1
Name: type-info
Version: 0.0.2
Summary: UNKNOWN
Home-page: https://github.com/Cologler/type-info-python
Author: Cologler
Author-email: skyoflw@gmail.com
License: MIT License
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/markdown

# type-info

![GitHub](https://img.shields.io/github/license/Cologler/type-info-python.svg)
[![Build Status](https://travis-ci.com/Cologler/type-info-python.svg?branch=master)](https://travis-ci.com/Cologler/type-info-python)
[![PyPI](https://img.shields.io/pypi/v/type-info.svg)](https://pypi.org/project/type-info/)

Provide some oop api for `typing` module.

Support python 3.6+, tested on `3.6` and `3.7`.

## Usage

``` py
from type_info import get_type_info

type_info = get_type_info(typing.Dict[str, int])
assert type_info.generic_type is typing.Dict
assert type_info.generic_args == (str, int)
assert type_info.dynamic_type is dict
```

read unittests for more examples.


