Skip to main content

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.

Metadata

Release files for type-info 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for type-info 0.0.2
File Size Uploaded Provenance
type_info-0.0.2.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for type-info 0.0.2
File Interpreter ABI Platform
type_info-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / type_info-0.0.2.tar.gz

Download URL type_info-0.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f259be3ac8f8337ab939b4f8b60070dba14a76a35b06e1655a029a277924364f
BLAKE2b-256 checksum
How to use checksums
6afd600b9e358c5d121326212644c9fab2486a1a5f7444f99fc491ff11adc536
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / type_info-0.0.2-py3-none-any.whl

Download URL type_info-0.0.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a660da6ec78bdacdda06825780b77fea7f72caf0c24c37395649f4e413e1a345
BLAKE2b-256 checksum
How to use checksums
4e50df47298b17e118a2041667858b83d4a8694e6649b50fca8bb8118f6ca600
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for type-info 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page