{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/4"}],"enrichment":{"capability":"Provides type stubs for the tzlocal package, enabling static type checkers like mypy, pyright, and pytype to validate code that uses tzlocal for timezone operations.","skillfed_tags":["type-stubs","static-analysis"],"use_cases":["Enable mypy or pyright to type-check a codebase that imports and uses tzlocal for local timezone detection.","Provide IDE autocomplete and type hints for tzlocal functions in PyCharm or other type-aware editors.","Validate timezone-related code in a CI/CD pipeline using static type checking before runtime.","Ensure type safety when calling tzlocal functions in a strictly typed Python project."],"what_it_does":"types-tzlocal is a PEP 561 type stub package that supplies type annotations for the tzlocal library. It allows static type checkers (mypy, pyright, pytype, PyCharm) to understand and validate code that calls tzlocal functions, catching type errors before runtime. The stubs are maintained in the typeshed repository and are tested against mypy 1.6.1, pyright 1.1.332, and pytype 2023.10.17.\n\nThis package is specifically versioned for tzlocal 5.1. However, tzlocal has included its own type annotations since version 5.2, making this stub package unnecessary for newer versions. If you are using tzlocal 5.2 or later, you should uninstall types-tzlocal to avoid conflicts and use the built-in stubs instead.","worth_installing":"Yes, but only if you are locked to tzlocal 5.1 or earlier and need type checking support. If you are using tzlocal 5.2 or later, do not install this package\u2014uninstall it if present\u2014because tzlocal now includes its own type stubs. For tzlocal 5.1 users, this is a straightforward, low-friction addition to enable static type checking."},"id":"types-tzlocal","links":{"html":"https://skillfed.io/packages/types-tzlocal","md":"https://skillfed.io/packages/types-tzlocal.md","pypi":"https://pypi.org/project/types-tzlocal/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-10-24","license_spdx":null,"license_treatment":"permissive","name":"types-tzlocal","python_support":"supports_current","summary":"Typing stubs for tzlocal"},"popularity":{"monthly_downloads":2448155,"position":3060,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"5.1.0.1"}
