$npx skillfedfor your agent

types-filelock

Typing stubs for filelock

SkipPyPI Software DevelopmentReleased Jun 2022506.2K downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_filelock-3.2.7-py3-none-any.whl
v3.2.7 · released 2022-06-09

No, unless you are locked into filelock < 3.3.0. For any recent filelock version, the package is redundant—filelock itself provides type stubs. The package has not been updated since June 2022, and the description explicitly recommends uninstalling it if you use filelock 3.3.0 or newer. Install only if you have a specific constraint on an older filelock version.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Only useful if you are type-checking code that uses filelock and your version of filelock is older than 3.3.0; newer filelock versions include their own type stubs, making this package unnecessary.
  • Low install friction with no runtime dependencies.
  • However, the package has not been updated since June 2022, and the description notes that filelock has included its own type annotations since version 3.3.0, making this package redundant for recent filelock users.

License · maintenance · safety

Apache-2.0 license (permissive) — Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or redistribution.

last release 2022-06-09 (1527 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 506,179 downloads/mo, #6,288 on PyPI

Verify before relying

pip install types-filelock

# Then use with a type checker like mypy on code that imports filelock
import filelock
lock = filelock.FileLock('/tmp/test.lock')
  • Whether the type stubs in this package remain accurate for current filelock versions given the package's last release was June 2022.
  • Current compatibility with modern type checkers (mypy, pyright, etc.) and their latest versions.
Same gist for agents: .md · .json

What it is and what it does

types-filelock is a PEP 561 type stub package that provides type hints for the filelock library. It allows static type checkers like mypy, PyCharm, and pytype to understand and validate code that uses filelock's locking primitives. The package is sourced from typeshed, the community repository of type stubs for the Python standard library and popular third-party packages.

However, this package is largely obsolete for current users: filelock has included its own type annotations since version 3.3.0, making separate type stubs unnecessary. The package has not been updated since June 2022 and exists primarily for users stuck on older filelock versions that predate built-in type support.

Use it for

  • Type-checking legacy code that uses filelock versions older than 3.3.0 when the filelock package itself did not include type stubs.
  • Ensuring type safety in projects using older filelock versions before migrating to a newer release with built-in type annotations.
  • Providing type information to IDEs and type checkers for filelock when working in environments where filelock cannot be upgraded.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are locked into filelock < 3.3.0.

For any recent filelock version, the package is redundant—filelock itself provides type stubs. The package has not been updated since June 2022, and the description explicitly recommends uninstalling it if you use filelock 3.3.0 or newer. Install only if you have a specific constraint on an older filelock version.

Install

types-filelock on PyPI

Before you install

Low install friction with no runtime dependencies. However, the package has not been updated since June 2022, and the description notes that filelock has included its own type annotations since version 3.3.0, making this package redundant for recent filelock users.

Only useful if you are type-checking code that uses filelock and your version of filelock is older than 3.3.0; newer filelock versions include their own type stubs, making this package unnecessary.

License in practice

Licensed under Apache-2.0 (permissive), imposing no significant restrictions on use or redistribution.

Quickstart

pip install types-filelock

# Then use with a type checker like mypy on code that imports filelock
import filelock
lock = filelock.FileLock('/tmp/test.lock')

Verify before relying

  • Whether the type stubs in this package remain accurate for current filelock versions given the package's last release was June 2022.
  • Current compatibility with modern type checkers (mypy, pyright, etc.) and their latest versions.

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 1,527 days since the last release
Last repo commit
First released
Downloads506,179 / month, #6,288 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_filelock-3.2.7-py3-none-any.whl

Tags

Capabilities
type stubs filelockmypy filelock typingstatic type checking file lockingpep 561 type stubsfilelock type annotations
Topics
type-stubsdeprecated

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 filelock”

  • types-filelockProvides type stubs for the filelock package to enable static type…
  • locketLocket provides file-based locks for inter-process synchronization on…
  • filelockProvides a platform-independent file locking mechanism to coordinate…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also types-Flask · types-freezegun · types-click · types-certifi · types-Werkzeug · types-pkg-resources · types-Flask-SQLAlchemy · types-backports · types-cryptography · types-tornado