No project description provided
Project description
type-info
Provide some oop api for typing
module.
Support python 3.6+, tested on 3.6
and 3.7
.
Usage
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
type_info-0.0.2.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for type_info-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a660da6ec78bdacdda06825780b77fea7f72caf0c24c37395649f4e413e1a345 |
|
MD5 | d0a83109d6ce5d7dbdd564db3ca3c418 |
|
BLAKE2b-256 | 4e50df47298b17e118a2041667858b83d4a8694e6649b50fca8bb8118f6ca600 |