types-appdirs
Typing stubs for appdirs
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that uses appdirs and cannot migrate to platformdirs. The package is unmaintained and will not receive updates. New projects should use platformdirs directly, which provides native type support without requiring a separate stub package.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires appdirs to be installed separately; this package only provides type information for it.
- Low install friction with no runtime dependencies.
- However, the package is unmaintained and won't be updated; the description explicitly recommends migrating to platformdirs instead, which ships with native type support.
License · maintenance · safety
Apache-2.0 license (permissive) — Apache-2.0 license is permissive and poses no restrictions on use, modification, or distribution in most contexts.
last release 2023-03-14 (1249 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 228,916 downloads/mo, #9,142 on PyPI
Alternatives
Verify before relying
pip install types-appdirs
# Then use appdirs in your code; type checkers will now understand its types
import appdirs
config_dir = appdirs.user_config_dir('myapp')- Whether type coverage is complete for all appdirs APIs or if gaps remain.
- Compatibility with the latest versions of mypy, pyright, and other type checkers.
What it is and what it does
types-appdirs is a PEP 561 type stub package that adds static type information to the appdirs library. It allows type checkers like mypy, pyright, and pytype to understand and validate code that uses appdirs, catching type errors at development time rather than runtime.
The package is generated from typeshed and serves as a bridge for projects still using appdirs. However, the description explicitly states the package is unmaintained and won't be updated. The appdirs library itself has been deprecated in favor of platformdirs, which includes native type support via a py.typed file, making this stub package unnecessary for new projects.
Use it for
- Enable type checking in legacy codebases that still depend on appdirs without migrating to platformdirs.
- Satisfy type checker requirements in projects using appdirs while maintaining compatibility with existing code.
- Provide IDE autocomplete and type hints for appdirs calls in editors like PyCharm and VS Code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that uses appdirs and cannot migrate to platformdirs.
The package is unmaintained and will not receive updates. New projects should use platformdirs directly, which provides native type support without requiring a separate stub package.
Install
types-appdirs on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is unmaintained and won't be updated; the description explicitly recommends migrating to platformdirs instead, which ships with native type support.
Requires appdirs to be installed separately; this package only provides type information for it.
License in practice
Apache-2.0 license is permissive and poses no restrictions on use, modification, or distribution in most contexts.
Quickstart
pip install types-appdirs
# Then use appdirs in your code; type checkers will now understand its types
import appdirs
config_dir = appdirs.user_config_dir('myapp')
Verify before relying
- Whether type coverage is complete for all appdirs APIs or if gaps remain.
- Compatibility with the latest versions of mypy, pyright, and other type checkers.
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,249 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 228,916 / month, #9,142 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_appdirs-1.4.3.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs appdirs”
- types-appdirsProvides type stubs for the appdirs package to enable static type…
- appdirs-stubsProvides type stubs for the appdirs package, enabling static type…
- appdirsDetermines the correct platform-specific directory for storing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-typed-ast · appdirs-stubs · types-contextvars · types-Flask-SQLAlchemy · types-dataclasses · types-Flask · types-SQLAlchemy · types-enum34 · homeassistant-stubs · pystow