--- id: types-python-slugify version: "8.0.2.20240310" license: Apache-2.0 license license_treatment: permissive maintenance: active --- # types-python-slugify — Typing stubs for python-slugify License: permissive · Maintenance: active · Downloads: 9.2M/mo ## What it is and what it does types-python-slugify is a PEP 561 type stub package that provides type annotations for a URL slug generation library. It allows static type checkers—mypy, pyright, pytype, and IDE tools like PyCharm—to understand and validate the types of the target library's functions and classes when used in your code. The package is generated and maintained as part of typeshed, the community repository of type stubs for popular Python libraries. It targets version 8.0.2 of the underlying library and has been tested against mypy 1.9.0, pyright 1.1.350, and pytype 2024.2.27. The description notes that the target library has included its own type annotations since version 8.0.2, which may affect the relevance of this stub package for current users. Use it for: - Enable type checkers to validate code that uses the target slug library when working with older versions lacking built-in annotations. - Provide IDE autocompletion and inline type hints for the target library in editors that rely on stub files. - Enforce type safety in a codebase using strict type-checking policies with the target library. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for the python-slugify library, enabling static type checkers like mypy, pyright, and pytype to validate code that uses it. Yes-with-conditions. Install if you use the target library with a version older than 8.0.2 and need type-checking support. For version 8.0.2 and newer, the target library's own annotations make this stub package redundant. Verify your target library version before installing. ## Install pip install types-python-slugify uv add types-python-slugify poetry add types-python-slugify ## Installing types-python-slugify Before you install: Low friction installation with no runtime dependencies. Actively maintained as part of typeshed; however, the package notes that built-in type annotations have been available since version 8.0.2, potentially making this stub redundant for current users. License in practice: Licensed under Apache-2.0, a permissive license allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects. Quickstart: pip install types-python-slugify # Type checkers will now validate code using the target library: # mypy, pyright, pytype, and PyCharm will recognize types from the stubs Only provides value for type checking; requires a compatible type checker (mypy 1.9.0, pyright 1.1.350, pytype 2024.2.27, or similar) to be useful. Verify before relying: - Whether this stub package remains necessary or synchronized with the target library's own type annotations as of the current release. - Practical adoption: whether developers still rely on this stub or have migrated to the target library's built-in annotations. ## Package facts - License: Apache-2.0 license (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 9.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs for slugify, mypy type hints slugify, static type checking slugify, pyright type stubs, type annotations slugify, PEP 561 stubs, type-stubs, type-checking [View on SkillFed](https://skillfed.io/packages/types-python-slugify) · [View on PyPI](https://pypi.org/project/types-python-slugify/)