{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Filesystems","url":"https://skillfed.io/packages/category/system-filesystems"}],"enrichment":{"capability":"Watches a directory for file changes and triggers code reloads or custom callbacks when files are modified, with both synchronous and asynchronous APIs.","skillfed_tags":["file-watching","development-tools","deprecated"],"use_cases":["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."],"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.\n\nThe 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\u2014only critical security fixes.","worth_installing":"No\u2014the 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."},"id":"watchgod","links":{"html":"https://skillfed.io/packages/watchgod","md":"https://skillfed.io/packages/watchgod.md","pypi":"https://pypi.org/project/watchgod/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-04-01","license_spdx":null,"license_treatment":"permissive","name":"watchgod","python_support":"supports_current","summary":"Simple, modern file watching and code reload in python."},"popularity":{"monthly_downloads":790764,"position":5050,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.2"}
