skillfed

appdirs-stubs

Type stubs for appdirs

appdirs-stubs v0.2.0 190.0K downloads/30d#9,915 on PyPI2
Permissive license MIT Abandoned released

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-stubs

uv

uv add appdirs-stubs

poetry

poetry add appdirs-stubs

Installing 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

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython

Tags

type stubs appdirsappdirs type hintsstatic type checking appdirsappdirs IDE autocompleteappdirs type informationtyped appdirs
type-stubsstatic-typing

More Software Development packages