style: re-tier File Manipulation

No removals. mimetypes and pathlib (standard library) lead
alphabetically under the stdlib-first rule; watchfiles (389.3M/mo,
partly uvicorn-transitive — the riser) completes the obvious choices;
watchdog (113.3M/mo, the demoted incumbent, Second Tier) and
python-magic (32.3M/mo) challengers.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-08-16 15:10:10 +08:00
co-authored by Claude
parent ad698c2876
commit 15cd51c04c
+2 -2
View File
@@ -924,9 +924,9 @@ _Libraries for file manipulation._
- [mimetypes](https://docs.python.org/3/library/mimetypes.html) - (Python standard library) Map filenames to MIME types.
- [pathlib](https://docs.python.org/3/library/pathlib.html) - (Python standard library) A cross-platform, object-oriented path library.
- [python-magic](https://github.com/ahupp/python-magic) - A Python interface to the libmagic file type identification library.
- [watchdog](https://github.com/gorakhargosh/watchdog) - API and shell utilities to monitor file system events.
- [watchfiles](https://github.com/samuelcolvin/watchfiles) - Simple, modern and fast file watching and code reload in python.
- [watchdog](https://github.com/gorakhargosh/watchdog) - API and shell utilities to monitor file system events.
- [python-magic](https://github.com/ahupp/python-magic) - A Python interface to the libmagic file type identification library.
**Media**