Skip to main content

No project description provided

Project description

type-info

GitHub Build Status PyPI

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


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 details)

Uploaded Source

Built Distribution

type_info-0.0.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file type_info-0.0.2.tar.gz.

File metadata

  • Download URL: type_info-0.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for type_info-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f259be3ac8f8337ab939b4f8b60070dba14a76a35b06e1655a029a277924364f
MD5 ddfeda78383dd9f9f1b4698506efdd1f
BLAKE2b-256 6afd600b9e358c5d121326212644c9fab2486a1a5f7444f99fc491ff11adc536

See more details on using hashes here.

File details

Details for the file type_info-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: type_info-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for type_info-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a660da6ec78bdacdda06825780b77fea7f72caf0c24c37395649f4e413e1a345
MD5 d0a83109d6ce5d7dbdd564db3ca3c418
BLAKE2b-256 4e50df47298b17e118a2041667858b83d4a8694e6649b50fca8bb8118f6ca600

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page