From 5ff80f37af125f7d6c286513ad47c5c053b62d3a Mon Sep 17 00:00:00 2001 From: Polina Date: Thu, 2 Jul 2026 20:58:24 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?venv/Lib/site-packages/watchfiles-1.2.0.dist-info=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../watchfiles-1.2.0.dist-info/INSTALLER | 1 + .../watchfiles-1.2.0.dist-info/METADATA | 148 ++++++++++++++++++ .../watchfiles-1.2.0.dist-info/RECORD | 25 +++ .../watchfiles-1.2.0.dist-info/WHEEL | 4 + .../entry_points.txt | 2 + 5 files changed, 180 insertions(+) create mode 100644 venv/Lib/site-packages/watchfiles-1.2.0.dist-info/INSTALLER create mode 100644 venv/Lib/site-packages/watchfiles-1.2.0.dist-info/METADATA create mode 100644 venv/Lib/site-packages/watchfiles-1.2.0.dist-info/RECORD create mode 100644 venv/Lib/site-packages/watchfiles-1.2.0.dist-info/WHEEL create mode 100644 venv/Lib/site-packages/watchfiles-1.2.0.dist-info/entry_points.txt diff --git a/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/INSTALLER b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/METADATA b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/METADATA new file mode 100644 index 0000000..e8a4c30 --- /dev/null +++ b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/METADATA @@ -0,0 +1,148 @@ +Metadata-Version: 2.4 +Name: watchfiles +Version: 1.2.0 +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3.14 +Classifier: Programming Language :: Python :: 3.15 +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Information Technology +Classifier: Intended Audience :: System Administrators +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: POSIX :: Linux +Classifier: Operating System :: Microsoft :: Windows +Classifier: Operating System :: MacOS +Classifier: Environment :: MacOS X +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: System :: Filesystems +Classifier: Framework :: AnyIO +Requires-Dist: anyio>=3.0.0 +License-File: LICENSE +Summary: Simple, modern and high performance file watching and code reload in python. +Home-Page: https://github.com/samuelcolvin/watchfiles +Author-email: Samuel Colvin +License: MIT +Requires-Python: >=3.10 +Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM +Project-URL: Changelog, https://github.com/samuelcolvin/watchfiles/releases +Project-URL: Documentation, https://watchfiles.helpmanual.io +Project-URL: Funding, https://github.com/sponsors/samuelcolvin +Project-URL: Homepage, https://github.com/samuelcolvin/watchfiles +Project-URL: Source, https://github.com/samuelcolvin/watchfiles + +# watchfiles + +[![CI](https://github.com/samuelcolvin/watchfiles/actions/workflows/ci.yml/badge.svg)](https://github.com/samuelcolvin/watchfiles/actions/workflows/ci.yml?query=branch%3Amain) +[![Coverage](https://codecov.io/gh/samuelcolvin/watchfiles/branch/main/graph/badge.svg)](https://codecov.io/gh/samuelcolvin/watchfiles) +[![pypi](https://img.shields.io/pypi/v/watchfiles.svg)](https://pypi.python.org/pypi/watchfiles) +[![CondaForge](https://img.shields.io/conda/v/conda-forge/watchfiles.svg)](https://anaconda.org/conda-forge/watchfiles) +[![license](https://img.shields.io/github/license/samuelcolvin/watchfiles.svg)](https://github.com/samuelcolvin/watchfiles/blob/main/LICENSE) + +Simple, modern and high performance file watching and code reload in python. + +--- + +**Documentation**: [watchfiles.helpmanual.io](https://watchfiles.helpmanual.io) + +**Source Code**: [github.com/samuelcolvin/watchfiles](https://github.com/samuelcolvin/watchfiles) + +--- + +Underlying file system notifications are handled by the [Notify](https://github.com/notify-rs/notify) rust library. + +This package was previously named "watchgod", +see [the migration guide](https://watchfiles.helpmanual.io/migrating/) for more information. + +## Installation + +**watchfiles** requires Python 3.10 - 3.15. + +```bash +pip install watchfiles +``` + +Binaries are available for most architectures on Linux, MacOS and Windows ([learn more](https://watchfiles.helpmanual.io/#installation)). + +Otherwise, you can install from source which requires Rust stable to be installed. + +## Usage + +Here are some examples of what **watchfiles** can do: + +### `watch` Usage + +```py +from watchfiles import watch + +for changes in watch('./path/to/dir'): + print(changes) +``` +See [`watch` docs](https://watchfiles.helpmanual.io/api/watch/#watchfiles.watch) for more details. + +### `awatch` Usage + +```py +import asyncio +from watchfiles import awatch + +async def main(): + async for changes in awatch('/path/to/dir'): + print(changes) + +asyncio.run(main()) +``` +See [`awatch` docs](https://watchfiles.helpmanual.io/api/watch/#watchfiles.awatch) for more details. + +### `run_process` Usage + +```py +from watchfiles import run_process + +def foobar(a, b, c): + ... + +if __name__ == '__main__': + run_process('./path/to/dir', target=foobar, args=(1, 2, 3)) +``` +See [`run_process` docs](https://watchfiles.helpmanual.io/api/run_process/#watchfiles.run_process) for more details. + +### `arun_process` Usage + +```py +import asyncio +from watchfiles import arun_process + +def foobar(a, b, c): + ... + +async def main(): + await arun_process('./path/to/dir', target=foobar, args=(1, 2, 3)) + +if __name__ == '__main__': + asyncio.run(main()) +``` +See [`arun_process` docs](https://watchfiles.helpmanual.io/api/run_process/#watchfiles.arun_process) for more details. + +## CLI + +**watchfiles** also comes with a CLI for running and reloading code. To run `some command` when files in `src` change: + +``` +watchfiles "some command" src +``` + +For more information, see [the CLI docs](https://watchfiles.helpmanual.io/cli/). + +Or run + +```bash +watchfiles --help +``` + diff --git a/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/RECORD b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/RECORD new file mode 100644 index 0000000..0fa4f53 --- /dev/null +++ b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/RECORD @@ -0,0 +1,25 @@ +../../Scripts/watchfiles.exe,sha256=UvtCCA8wcoZFHntxTnLrSicHHU_hGfkG0tAXt7EU3-4,108369 +watchfiles-1.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +watchfiles-1.2.0.dist-info/METADATA,sha256=ExAlgsyrRiK-NhkvcW6QeHCGCs0761KLVy1v3HZIg9I,4985 +watchfiles-1.2.0.dist-info/RECORD,, +watchfiles-1.2.0.dist-info/WHEEL,sha256=eBGhi3OBjShfkato4dop_2MU-x5MJXrOBEBOPEFTPyw,97 +watchfiles-1.2.0.dist-info/entry_points.txt,sha256=s1Dpa2d_KKBy-jKREWW60Z3GoRZ3JpCEo_9iYDt6hOQ,48 +watchfiles-1.2.0.dist-info/licenses/LICENSE,sha256=LUCgM0a97Y2qS9ItI4JabyVooIIPvvdqwFuuU0Qh4Yk,1112 +watchfiles-1.2.0.dist-info/sboms/watchfiles_rust_notify.cyclonedx.json,sha256=d3fL6VGDfVnp3RWzv3x1atk5oygfG69ruuC0whzERWs,33926 +watchfiles/__init__.py,sha256=LKmDAbDbm78xfyhVQ-W_6TWfT1Cg53NUaHqNhwu2plo,381 +watchfiles/__main__.py,sha256=g9iBs8xxX6Yik7cmgllQkpBN8C4JNoZVsEOyCCLCyFU,63 +watchfiles/__pycache__/__init__.cpython-314.pyc,, +watchfiles/__pycache__/__main__.cpython-314.pyc,, +watchfiles/__pycache__/cli.cpython-314.pyc,, +watchfiles/__pycache__/filters.cpython-314.pyc,, +watchfiles/__pycache__/main.cpython-314.pyc,, +watchfiles/__pycache__/run.cpython-314.pyc,, +watchfiles/__pycache__/version.cpython-314.pyc,, +watchfiles/_rust_notify.cp314-win_amd64.pyd,sha256=jhJLF0_lJWxAW8EVCSFWYPR4R10r-mLF8J8QcFqL4qs,634880 +watchfiles/_rust_notify.pyi,sha256=NRGJHTTyIUrUOLxdB-xOMlxpJqKw9dl9XgZ7-ZDI9ro,4864 +watchfiles/cli.py,sha256=uhjdisNdfjR2VVJ1liHBdD8mx4zNjc4YEojjphbDF_o,7921 +watchfiles/filters.py,sha256=DNW7uqXHVdh6WXA8IZPp2EeRrsKmmYf7s4a26ccxMIA,5269 +watchfiles/main.py,sha256=tRSOL22HBnyTbN5G_dAuId3SMQTB2vOjRYYG9q2DqqE,15539 +watchfiles/py.typed,sha256=5_E2MNyI4Mzg8TH53HFdXg0iSevlmHpdZSNnJVUYbMg,70 +watchfiles/run.py,sha256=PxjaOqBGdgMsxtQvyO7zyDMzi-U8FGU5LIktT34OxrM,15683 +watchfiles/version.py,sha256=dbZJrjIgVt2QedB7aWTu41SUWaPDjUCabWBao2Ow1SU,90 diff --git a/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/WHEEL b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/WHEEL new file mode 100644 index 0000000..01abd20 --- /dev/null +++ b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/WHEEL @@ -0,0 +1,4 @@ +Wheel-Version: 1.0 +Generator: maturin (1.13.3) +Root-Is-Purelib: false +Tag: cp314-cp314-win_amd64 diff --git a/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/entry_points.txt b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/entry_points.txt new file mode 100644 index 0000000..5164296 --- /dev/null +++ b/venv/Lib/site-packages/watchfiles-1.2.0.dist-info/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +watchfiles=watchfiles.cli:cli