appdirs-stubs
Type stubs for appdirs
What it is and what it does
appdirs-stubs is a type-stub package that adds static type information to the appdirs library. It allows Python developers using appdirs—a utility for finding platform-specific application directories—to get type hints in their IDE and pass static type checkers without errors.
The package is a thin layer of metadata with no runtime behavior of its own and depends only on appdirs. It is intended for developers who want type safety when calling appdirs functions. The repository is archived and no longer maintained, so the stubs reflect the state of appdirs at the time the package was last updated on 2026-01-10.
Use it for:
- Add type hints to appdirs calls in a type-checked codebase without type: ignore comments.
- Enable IDE autocompletion and parameter hints when writing code that uses appdirs functions.
- Satisfy strict type checking in CI/CD pipelines that enforce type coverage for dependencies.
- Provide type information to downstream packages that depend on appdirs and need typed APIs.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for the appdirs package, enabling static type checking and IDE autocompletion when using appdirs in Python code.
Yes, if you use appdirs and enforce static type checking. The package is lightweight and permissively licensed. However, the abandoned status means the stubs will not be updated if appdirs evolves; verify that the stubs match your installed appdirs version before relying on them in production.
Install
appdirs-stubs on PyPI
pip
pip install appdirs-stubsuv
uv add appdirs-stubspoetry
poetry add appdirs-stubsInstalling appdirs-stubs
Before you install
The package has low install friction—a single pure-Python wheel with one runtime dependency (appdirs). However, the repository is archived and marked abandoned as of 2026-01-10, meaning no further maintenance or updates are expected.
License in practice
MIT license is permissive and imposes no significant restrictions on use, modification, or distribution.
Quickstart
pip install appdirs-stubs
import appdirs
config_dir = appdirs.user_config_dir('myapp')
Requires Python 3.9 or later.
Verify before relying
- Whether the type stubs remain accurate and complete for current versions of appdirs.
- Whether type coverage is comprehensive or partial for the appdirs API surface.
- Compatibility of stubs with appdirs versions released after 2026-01-10.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — appdirs |
| Maintenance | abandoned — 216 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 190,043/month — #9,915 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: appdirs_stubs-0.2.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
flake8-helperProvides utility functions and base classes to…
permissive · top 15,000 on PyPI
types-appdirsProvides type stubs for the appdirs package to…
permissive · top 15,000 on PyPI
shippinglabelProvides utilities for reading and working with…
permissive · top 5,000 on PyPI
consolekitConsolekit extends click with additional…
permissive · top 15,000 on PyPI
sphinx-toolboxSphinx-toolbox extends Sphinx with a collection…
permissive · top 15,000 on PyPI
dist-metaParse and create Python distribution metadata…
permissive · top 15,000 on PyPI
domdf-python-toolsA collection of utility functions and helpers…
permissive · top 5,000 on PyPI
handy-archivesProvides utility functions for working with…
permissive · top 15,000 on PyPI
appdirsDetermines the correct platform-specific…
permissive · top 1,000 on PyPI
kubernetes-stubs-elephant-forkProvides type stubs for the Kubernetes Python…
permissive · top 5,000 on PyPI