$npx skillfedfor your agent

watchgod

Simple, modern file watching and code reload in python.

SkipPyPI Python ModulesReleased Apr 2022790.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — watchgod-0.8.2-py3-none-any.whl
v0.8.2 · released 2022-04-01 · Python >=3.7 · 1 runtime deps: anyio

No—the package is no longer actively developed and has been renamed. Unless you have an existing dependency or a specific reason to avoid migration, use the successor package instead. If you are already using watchgod, plan a migration; the package will only receive critical security fixes.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (anyio).
  • However, the package is no longer actively developed—it was renamed and will only receive critical security fixes going forward.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2022-04-01 (1596 days) · last repo commit 2026-08-09 · 2,522 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 790,764 downloads/mo, #5,050 on PyPI

Verify before relying

pip install watchgod

from watchgod import watch

for changes in watch('./path/to/dir'):
    print(changes)
  • Whether the package's polling-based approach meets performance requirements for your specific use case.
  • Current state of the migration path and compatibility with the successor package.
Same gist for agents: .md · .json

What it is and what it does

watchgod is a file-watching library that monitors a directory tree for changes and can either report those changes to your code or automatically restart a process when files are modified. It provides both synchronous (watch, run_process) and asynchronous (awatch, arun_process) APIs, plus a CLI tool for reloading Python applications during development. The library uses polling rather than OS-level file notifications, which trades some latency for simplicity and cross-platform consistency.

The package depends only on anyio for async support and works across Python 3.7+. However, it has been superseded by a newer package with the same author that uses a different backend for better performance. watchgod is now in maintenance mode and will not receive new features—only critical security fixes.

Use it for

  • Auto-reloading a development web server when Python source files change in the project directory.
  • Triggering test runs or linting checks whenever code is modified during active development.
  • Building custom file-monitoring tools that need to react to filesystem changes with custom callbacks.
  • Watching for changes to configuration or data files and reloading an application in response.
  • Implementing a CLI tool that restarts a subprocess when any file in a directory tree is modified.

Worth the install?

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

Skip

No—the package is no longer actively developed and has been renamed.

Unless you have an existing dependency or a specific reason to avoid migration, use the successor package instead. If you are already using watchgod, plan a migration; the package will only receive critical security fixes.

Install

watchgod on PyPI

Before you install

Low install friction with a single runtime dependency (anyio). However, the package is no longer actively developed—it was renamed and will only receive critical security fixes going forward.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install watchgod

from watchgod import watch

for changes in watch('./path/to/dir'):
    print(changes)

Verify before relying

  • Whether the package's polling-based approach meets performance requirements for your specific use case.
  • Current state of the migration path and compatibility with the successor package.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
anyio
MaintenanceActively maintained 1,596 days since the last release
Last repo commit
First released
Downloads790,764 / month, #5,050 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - InactiveEnvironment :: ConsoleEnvironment :: MacOS XFramework :: AnyIOIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Filesystems

Evidence: watchgod-0.8.2-py3-none-any.whl

Tags

Capabilities
file watching and reloaddirectory change detectioncode reload on file changefilesystem monitoring pythonwatch files for changesauto-restart on file modificationdev server file watcher
Topics
file-watchingdevelopment-toolsdeprecated

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 › “file watching and reload”

  • watchgodWatches a directory for file changes and triggers code reloads or…
  • django-watchfilesReplaces Django's default file-change watcher with watchfiles, a…
  • django-browser-reloadAutomatically reloads your browser when you modify Python code,…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also hupper · watchfiles · jurigged · pywatchman · django-watchfiles · httpwatcher · asyncinotify · pyinotify · inotify · pytest-watcher