This commit is contained in:
macbook_max
2026-10-15 20:36:59 +08:00
commit 6bf949949c
7923 changed files with 1369582 additions and 0 deletions
@@ -0,0 +1,148 @@
Metadata-Version: 2.4
Name: watchfiles
Version: 1.3.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 <s@muelcolvin.com>
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
```
@@ -0,0 +1,25 @@
../../../bin/watchfiles,sha256=TZrenaEh5D0h5UTayiZF2LwAHGudVMTzTtiCsqzDnGE,194
watchfiles-1.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
watchfiles-1.3.0.dist-info/METADATA,sha256=H7qH0I1m8Q91FeSBer1Kx_J6vzMAyzO3rT95dimHpQI,4877
watchfiles-1.3.0.dist-info/RECORD,,
watchfiles-1.3.0.dist-info/WHEEL,sha256=JflO_ku8SEuD8LVNyooqSp9SCSJln1ncACwXLaC_RyQ,106
watchfiles-1.3.0.dist-info/entry_points.txt,sha256=s1Dpa2d_KKBy-jKREWW60Z3GoRZ3JpCEo_9iYDt6hOQ,48
watchfiles-1.3.0.dist-info/licenses/LICENSE,sha256=T9eDVbZ84md-3p-29jolDzd7t-IgiBNqX0aZrbS8Bp8,1091
watchfiles-1.3.0.dist-info/sboms/watchfiles_rust_notify.cyclonedx.json,sha256=BO_Oj-zyAQN6CN0G7_WzdD4fLi1dXn-ESnndqsFfiHQ,29604
watchfiles/__init__.py,sha256=IRlM9KOSedMzF1fvLr7yEHPVS-UFERNThlB-tmWI8yU,364
watchfiles/__main__.py,sha256=JgErYkiskih8Y6oRwowALtR-rwQhAAdqOYWjQraRIPI,59
watchfiles/__pycache__/__init__.cpython-311.pyc,,
watchfiles/__pycache__/__main__.cpython-311.pyc,,
watchfiles/__pycache__/cli.cpython-311.pyc,,
watchfiles/__pycache__/filters.cpython-311.pyc,,
watchfiles/__pycache__/main.cpython-311.pyc,,
watchfiles/__pycache__/run.cpython-311.pyc,,
watchfiles/__pycache__/version.cpython-311.pyc,,
watchfiles/_rust_notify.abi3.so,sha256=nhH03KYJE_lNHchlVGMB2kSdgLBtvCKDw_KCZHQPX5Y,944096
watchfiles/_rust_notify.pyi,sha256=q5FQkXgBJEFPt9RCf7my4wP5RM1FwSVpqf221csyebg,4753
watchfiles/cli.py,sha256=IODctc3cBwv0NjtrctwN1xL9ThMCdJoM0-TskC-wvUQ,7696
watchfiles/filters.py,sha256=bSK9sP7_AJ-e1xqU_yHULaiNPpYYj-UJT4Gh0u_OQ1g,5119
watchfiles/main.py,sha256=UgtztGehPcMfLCHYbQ2mgRJlTWEVEbPegtGFNLQ8M5s,15165
watchfiles/py.typed,sha256=MS4Na3to9VTGPy_8wBQM_6mNKaX4qIpi5-w7_LZB-8I,69
watchfiles/run.py,sha256=7P42FUCGr4X_lfJQ0iI5jFV8EbtKIxEuRXGx2D-NTd0,15244
watchfiles/version.py,sha256=NRWUnkZ32DamsNKV20EetagIGTLDMMUnqDWVGFFA2WQ,85
@@ -0,0 +1,4 @@
Wheel-Version: 1.0
Generator: maturin (1.15.0)
Root-Is-Purelib: false
Tag: cp310-abi3-macosx_10_12_x86_64
@@ -0,0 +1,2 @@
[console_scripts]
watchfiles=watchfiles.cli:cli
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2017 to present Samuel Colvin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,974 @@
{
"bomFormat": "CycloneDX",
"specVersion": "1.5",
"version": 1,
"serialNumber": "urn:uuid:c1e9afef-d53a-46cc-a197-2fcaaab508ab",
"metadata": {
"timestamp": "2026-09-21T09:06:19.055025000Z",
"tools": [
{
"vendor": "CycloneDX",
"name": "cargo-cyclonedx",
"version": "0.5.9"
}
],
"component": {
"type": "library",
"bom-ref": "path+file:///Users/runner/work/watchfiles/watchfiles#watchfiles_rust_notify@1.3.0",
"name": "watchfiles_rust_notify",
"version": "1.3.0",
"scope": "required",
"licenses": [
{
"expression": "MIT"
}
],
"purl": "pkg:cargo/watchfiles_rust_notify@1.3.0?download_url=file://.",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/samuelcolvin/watchfiles"
},
{
"type": "vcs",
"url": "https://github.com/samuelcolvin/watchfiles/watchfiles.git"
}
],
"components": [
{
"type": "library",
"bom-ref": "path+file:///Users/runner/work/watchfiles/watchfiles#watchfiles_rust_notify@1.3.0 bin-target-0",
"name": "_rust_notify",
"version": "1.3.0",
"purl": "pkg:cargo/watchfiles_rust_notify@1.3.0?download_url=file://.#src/lib.rs"
}
]
},
"properties": [
{
"name": "cdx:rustc:sbom:target:all_targets",
"value": "true"
}
]
},
"components": [
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#bitflags@2.7.0",
"author": "The Rust Project Developers",
"name": "bitflags",
"version": "2.7.0",
"description": "A macro to generate structures which behave like bitflags. ",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "1be3f42a67d6d345ecd59f675f3f012d6974981560836e938c22b424b85ce1be"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/bitflags@2.7.0",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/bitflags"
},
{
"type": "website",
"url": "https://github.com/bitflags/bitflags"
},
{
"type": "vcs",
"url": "https://github.com/bitflags/bitflags"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#cfg-if@1.0.0",
"author": "Alex Crichton <alex@alexcrichton.com>",
"name": "cfg-if",
"version": "1.0.0",
"description": "A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the item that gets emitted. ",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/cfg-if@1.0.0",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/cfg-if"
},
{
"type": "website",
"url": "https://github.com/alexcrichton/cfg-if"
},
{
"type": "vcs",
"url": "https://github.com/alexcrichton/cfg-if"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#crossbeam-channel@0.5.15",
"name": "crossbeam-channel",
"version": "0.5.15",
"description": "Multi-producer multi-consumer channels for message passing",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/crossbeam-channel@0.5.15",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-channel"
},
{
"type": "vcs",
"url": "https://github.com/crossbeam-rs/crossbeam"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#crossbeam-utils@0.8.19",
"name": "crossbeam-utils",
"version": "0.8.19",
"description": "Utilities for concurrent programming",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/crossbeam-utils@0.8.19",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/crossbeam-rs/crossbeam/tree/master/crossbeam-utils"
},
{
"type": "vcs",
"url": "https://github.com/crossbeam-rs/crossbeam"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#filetime@0.2.24",
"author": "Alex Crichton <alex@alexcrichton.com>",
"name": "filetime",
"version": "0.2.24",
"description": "Platform-agnostic accessors of timestamps in File metadata ",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "bf401df4a4e3872c4fe8151134cf483738e74b67fc934d6532c882b3d24a4550"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/filetime@0.2.24",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/filetime"
},
{
"type": "website",
"url": "https://github.com/alexcrichton/filetime"
},
{
"type": "vcs",
"url": "https://github.com/alexcrichton/filetime"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#fsevent-sys@4.1.0",
"author": "Pierre Baillet <pierre@baillet.name>",
"name": "fsevent-sys",
"version": "4.1.0",
"description": "Rust bindings to the fsevent macOS API for file changes notifications",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2"
}
],
"licenses": [
{
"expression": "MIT"
}
],
"purl": "pkg:cargo/fsevent-sys@4.1.0",
"externalReferences": [
{
"type": "vcs",
"url": "https://github.com/octplane/fsevent-rust/tree/master/fsevent-sys"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
"name": "heck",
"version": "0.5.0",
"description": "heck is a case conversion library.",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/heck@0.5.0",
"externalReferences": [
{
"type": "vcs",
"url": "https://github.com/withoutboats/heck"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169",
"author": "The Rust Project Developers",
"name": "libc",
"version": "0.2.169",
"description": "Raw FFI bindings to platform libraries like libc. ",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/libc@0.2.169",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/libc/"
},
{
"type": "website",
"url": "https://github.com/rust-lang/libc"
},
{
"type": "vcs",
"url": "https://github.com/rust-lang/libc"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#log@0.4.22",
"author": "The Rust Project Developers",
"name": "log",
"version": "0.4.22",
"description": "A lightweight logging facade for Rust ",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/log@0.4.22",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/log"
},
{
"type": "vcs",
"url": "https://github.com/rust-lang/log"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#notify-types@2.0.0",
"author": "Daniel Faust <hessijames@gmail.com>",
"name": "notify-types",
"version": "2.0.0",
"description": "Types used by the notify crate",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "5e0826a989adedc2a244799e823aece04662b66609d96af8dff7ac6df9a8925d"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/notify-types@2.0.0",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/notify-types"
},
{
"type": "website",
"url": "https://github.com/notify-rs/notify"
},
{
"type": "vcs",
"url": "https://github.com/notify-rs/notify.git"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#notify@8.0.0",
"author": "Félix Saparelli <me@passcod.name>, Daniel Faust <hessijames@gmail.com>, Aron Heinecke <Ox0p54r36@t-online.de>",
"name": "notify",
"version": "8.0.0",
"description": "Cross-platform filesystem notification library",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "2fee8403b3d66ac7b26aee6e40a897d85dc5ce26f44da36b8b73e987cc52e943"
}
],
"licenses": [
{
"expression": "CC0-1.0"
}
],
"purl": "pkg:cargo/notify@8.0.0",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/notify"
},
{
"type": "website",
"url": "https://github.com/notify-rs/notify"
},
{
"type": "vcs",
"url": "https://github.com/notify-rs/notify.git"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.3",
"author": "Aleksey Kladov <aleksey.kladov@gmail.com>",
"name": "once_cell",
"version": "1.21.3",
"description": "Single assignment cells and lazy values.",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/once_cell@1.21.3",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/once_cell"
},
{
"type": "vcs",
"url": "https://github.com/matklad/once_cell"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.81",
"author": "David Tolnay <dtolnay@gmail.com>, Alex Crichton <alex@alexcrichton.com>",
"name": "proc-macro2",
"version": "1.0.81",
"description": "A substitute implementation of the compiler's `proc_macro` API to decouple token-based libraries from the procedural macro use case.",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/proc-macro2@1.0.81",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/proc-macro2"
},
{
"type": "vcs",
"url": "https://github.com/dtolnay/proc-macro2"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.29.0",
"author": "PyO3 Project and Contributors <https://github.com/PyO3>",
"name": "pyo3-build-config",
"version": "0.29.0",
"description": "Build configuration for the PyO3 ecosystem",
"scope": "excluded",
"hashes": [
{
"alg": "SHA-256",
"content": "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/pyo3-build-config@0.29.0",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/pyo3/pyo3"
},
{
"type": "vcs",
"url": "https://github.com/pyo3/pyo3"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.29.0",
"author": "PyO3 Project and Contributors <https://github.com/PyO3>",
"name": "pyo3-ffi",
"version": "0.29.0",
"description": "Python-API bindings for the PyO3 ecosystem",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/pyo3-ffi@0.29.0",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/pyo3/pyo3"
},
{
"type": "other",
"url": "python"
},
{
"type": "vcs",
"url": "https://github.com/pyo3/pyo3"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.29.0",
"author": "PyO3 Project and Contributors <https://github.com/PyO3>",
"name": "pyo3-macros-backend",
"version": "0.29.0",
"description": "Code generation for PyO3 package",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/pyo3-macros-backend@0.29.0",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/pyo3/pyo3"
},
{
"type": "vcs",
"url": "https://github.com/pyo3/pyo3"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.29.0",
"author": "PyO3 Project and Contributors <https://github.com/PyO3>",
"name": "pyo3-macros",
"version": "0.29.0",
"description": "Proc macros for PyO3 package",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/pyo3-macros@0.29.0",
"externalReferences": [
{
"type": "website",
"url": "https://github.com/pyo3/pyo3"
},
{
"type": "vcs",
"url": "https://github.com/pyo3/pyo3"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.29.0",
"author": "PyO3 Project and Contributors <https://github.com/PyO3>",
"name": "pyo3",
"version": "0.29.0",
"description": "Bindings to Python interpreter",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/pyo3@0.29.0",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/crate/pyo3/"
},
{
"type": "website",
"url": "https://github.com/pyo3/pyo3"
},
{
"type": "other",
"url": "pyo3-python"
},
{
"type": "vcs",
"url": "https://github.com/pyo3/pyo3"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
"author": "David Tolnay <dtolnay@gmail.com>",
"name": "quote",
"version": "1.0.45",
"description": "Quasi-quoting macro quote!(...)",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/quote@1.0.45",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/quote/"
},
{
"type": "vcs",
"url": "https://github.com/dtolnay/quote"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#same-file@1.0.6",
"author": "Andrew Gallant <jamslam@gmail.com>",
"name": "same-file",
"version": "1.0.6",
"description": "A simple crate for determining whether two file paths point to the same file. ",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
}
],
"licenses": [
{
"expression": "Unlicense OR MIT"
}
],
"purl": "pkg:cargo/same-file@1.0.6",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/same-file"
},
{
"type": "website",
"url": "https://github.com/BurntSushi/same-file"
},
{
"type": "vcs",
"url": "https://github.com/BurntSushi/same-file"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.60",
"author": "David Tolnay <dtolnay@gmail.com>",
"name": "syn",
"version": "2.0.60",
"description": "Parser for Rust source code",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3"
}
],
"licenses": [
{
"expression": "MIT OR Apache-2.0"
}
],
"purl": "pkg:cargo/syn@2.0.60",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/syn"
},
{
"type": "vcs",
"url": "https://github.com/dtolnay/syn"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.5",
"author": "Dan Gohman <sunfish@mozilla.com>",
"name": "target-lexicon",
"version": "0.13.5",
"description": "LLVM target triple types",
"scope": "excluded",
"hashes": [
{
"alg": "SHA-256",
"content": "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
}
],
"licenses": [
{
"expression": "Apache-2.0 WITH LLVM-exception"
}
],
"purl": "pkg:cargo/target-lexicon@0.13.5",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/target-lexicon/"
},
{
"type": "vcs",
"url": "https://github.com/bytecodealliance/target-lexicon"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.12",
"author": "David Tolnay <dtolnay@gmail.com>",
"name": "unicode-ident",
"version": "1.0.12",
"description": "Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
}
],
"licenses": [
{
"expression": "(MIT OR Apache-2.0) AND Unicode-DFS-2016"
}
],
"purl": "pkg:cargo/unicode-ident@1.0.12",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/unicode-ident"
},
{
"type": "vcs",
"url": "https://github.com/dtolnay/unicode-ident"
}
]
},
{
"type": "library",
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#walkdir@2.5.0",
"author": "Andrew Gallant <jamslam@gmail.com>",
"name": "walkdir",
"version": "2.5.0",
"description": "Recursively walk a directory.",
"scope": "required",
"hashes": [
{
"alg": "SHA-256",
"content": "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
}
],
"licenses": [
{
"expression": "Unlicense OR MIT"
}
],
"purl": "pkg:cargo/walkdir@2.5.0",
"externalReferences": [
{
"type": "documentation",
"url": "https://docs.rs/walkdir/"
},
{
"type": "website",
"url": "https://github.com/BurntSushi/walkdir"
},
{
"type": "vcs",
"url": "https://github.com/BurntSushi/walkdir"
}
]
}
],
"dependencies": [
{
"ref": "path+file:///Users/runner/work/watchfiles/watchfiles#watchfiles_rust_notify@1.3.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#crossbeam-channel@0.5.15",
"registry+https://github.com/rust-lang/crates.io-index#notify@8.0.0",
"registry+https://github.com/rust-lang/crates.io-index#pyo3@0.29.0"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#bitflags@2.7.0"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#cfg-if@1.0.0"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#crossbeam-channel@0.5.15",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#crossbeam-utils@0.8.19"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#crossbeam-utils@0.8.19"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#filetime@0.2.24",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#cfg-if@1.0.0",
"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#fsevent-sys@4.1.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#log@0.4.22"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#notify-types@2.0.0"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#notify@8.0.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#bitflags@2.7.0",
"registry+https://github.com/rust-lang/crates.io-index#filetime@0.2.24",
"registry+https://github.com/rust-lang/crates.io-index#fsevent-sys@4.1.0",
"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169",
"registry+https://github.com/rust-lang/crates.io-index#log@0.4.22",
"registry+https://github.com/rust-lang/crates.io-index#notify-types@2.0.0",
"registry+https://github.com/rust-lang/crates.io-index#walkdir@2.5.0"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.3"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.81",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.12"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.29.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.5"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.29.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169",
"registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.29.0"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.29.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#heck@0.5.0",
"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.81",
"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
"registry+https://github.com/rust-lang/crates.io-index#syn@2.0.60"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.29.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.81",
"registry+https://github.com/rust-lang/crates.io-index#pyo3-macros-backend@0.29.0",
"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
"registry+https://github.com/rust-lang/crates.io-index#syn@2.0.60"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#pyo3@0.29.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#libc@0.2.169",
"registry+https://github.com/rust-lang/crates.io-index#once_cell@1.21.3",
"registry+https://github.com/rust-lang/crates.io-index#pyo3-build-config@0.29.0",
"registry+https://github.com/rust-lang/crates.io-index#pyo3-ffi@0.29.0",
"registry+https://github.com/rust-lang/crates.io-index#pyo3-macros@0.29.0"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.81"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#same-file@1.0.6"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#syn@2.0.60",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.81",
"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.45",
"registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.12"
]
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#target-lexicon@0.13.5"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.12"
},
{
"ref": "registry+https://github.com/rust-lang/crates.io-index#walkdir@2.5.0",
"dependsOn": [
"registry+https://github.com/rust-lang/crates.io-index#same-file@1.0.6"
]
}
]
}