Skip to main content

pytypes-env

If PYTYPES env var is set when you import this module then pytypes.enable_global_typechecked_profiler() will be called to enable typechecking. Typechecking will be applied to any import or definition after the import statement.

Usage: Import pytypes_env in a script:

import pytypes_env

def test(foo: str) -> bool:
  return "hello"


test(1)

Then run:

 > python3 test.py
Traceback (most recent call last):
  File "test.py", line 7, in <module>
    test(1)
  File "test.py", line 3, in test
    def test(foo: str) -> bool:
pytypes.exceptions.InputTypeError:
  __main__.test
  called with incompatible types:
Expected: Tuple[str]
Received: Tuple[int]

Metadata

Release files for pytypes-env 0.0.5

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

Source distribution (sdist)

Source distribution for pytypes-env 0.0.5
File Size Uploaded Provenance Actions
pytypes-env-0.0.5.tar.gz 1.9 kB Without provenance Details for pytypes-env-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytypes-env 0.0.5
File Interpreter ABI Platform Actions
pytypes_env-0.0.5-py3-none-any.whl Python 3 none any Details for pytypes_env-0.0.5-py3-none-any.whl

Total release size: 3.8 kB

Release files / pytypes-env-0.0.5.tar.gz

Download URL pytypes-env-0.0.5.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dcad7d781d60f7e82ff9a8161b036175efdcadf390dd514785d94e5e0cdc2f07
BLAKE2b-256 checksum
How to use checksums
35f2ee67fe59475d7d9f589bd6eb2eaedeb4c58f0945be9532febd2ac73c4291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

Release files / pytypes_env-0.0.5-py3-none-any.whl

Download URL pytypes_env-0.0.5-py3-none-any.whl
Size 1.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13788f3941db4df97627f7347b0d25085e7785da12c7d18accf141f9787cebdf
BLAKE2b-256 checksum
How to use checksums
86cf28678827ea90d0ef4b7da05dac8d8938500f31d72c9d8c159e6151f9a830
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.9

Security for pytypes-env 0.0.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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