From eba48dbcc5a7699b6181eee39c6390a41b577098 Mon Sep 17 00:00:00 2001 From: Max Kapur Date: Fri, 5 Sep 2025 12:07:03 -0500 Subject: [PATCH] New draft: Python scripts --- _posts/2050-09-05-python-scripts.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 _posts/2050-09-05-python-scripts.md diff --git a/_posts/2050-09-05-python-scripts.md b/_posts/2050-09-05-python-scripts.md new file mode 100644 index 00000000..05607ff7 --- /dev/null +++ b/_posts/2050-09-05-python-scripts.md @@ -0,0 +1,20 @@ +--- +title: Python scripts +layout: post +--- + +I cleaned up a few utility Python scripts for the GitHub: + +- [fetch_python_docs.py](https://github.com/maxkapur/fetch_python_docs.py) sets + up a local mirror of [docs.python.org](https://docs.python.org/) on + `http://localhost:8004` for offline reference. It can also provide and enable + a systemd unit file, so you can run the script once, bookmark the local URL, + and forget about it. +- [typography.py](https://github.com/maxkapur/typography.py) (which I mentioned + [here]({% post_url 2025-07-02-tried-recently %})) checks for ASCII typography + that can be better rendered as Unicode. For example, it recommends changing + the hyphen in the page range `278-81` to an en dash. +- [dated.py](https://github.com/maxkapur/dated.py) applies my [obnoxious + filename convention]({% post_url 2024-04-26-iso-dates-filenames %}) to create + a dated working copy of a file—useful when collaborating with people who + aren’t comfortable with version control systems.