You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -92,21 +92,21 @@ uv run http://tools.simonwillison.net/python/gguf_inspect.py \
92
92
Given a text file that includes JSON syntax but is not valid JSON - a Markdown README file for example - this tool finds all valid JSON objects within that text and returns the largest, or all of them if you specify `-a`.
93
93
94
94
```bash
95
-
uv run http://tools.simonwillison.net/python/json_extractor.py \
95
+
uv run https://tools.simonwillison.net/python/json_extractor.py \
@@ -115,7 +115,7 @@ uv run http://tools.simonwillison.net/python/http_check.py \
115
115
Replace any lines that are entirely whitespace with blank lines in specified files or folders:
116
116
117
117
```bash
118
-
uv run http://tools.simonwillison.net/python/whitespace_cleaner.py \
118
+
uv run https://tools.simonwillison.net/python/whitespace_cleaner.py \
119
119
my-file.txt my-folder
120
120
```
121
121
Has a `--dry-run` option for seeing how many files it would modify.
@@ -125,7 +125,7 @@ Has a `--dry-run` option for seeing how many files it would modify.
125
125
View the size of the files in all of your Google Cloud buckets. You'll need to have [gcloud installed](https://cloud.google.com/sdk/docs/install) and do the `gcloud auth` dance first.
126
126
127
127
```bash
128
-
uv run http://tools.simonwillison.net/python/all_gcp_buckets.py
128
+
uv run https://tools.simonwillison.net/python/all_gcp_buckets.py
129
129
```
130
130
This will leave `.txt` files for each bucket containing a file listing, in a directory called `bucket_listings_DATE`.
131
131
@@ -134,19 +134,19 @@ This will leave `.txt` files for each bucket containing a file listing, in a dir
134
134
Run PDF files through the [Mistral OCR](https://mistral.ai/fr/news/mistral-ocr) API:
135
135
136
136
```bash
137
-
uv run http://tools.simonwillison.net/python/mistral_ocr.py \
137
+
uv run https://tools.simonwillison.net/python/mistral_ocr.py \
138
138
my-file.pdf > output.md
139
139
```
140
140
Or to generate HTML and save images and HTML to a directory:
141
141
```bash
142
-
uv run http://tools.simonwillison.net/python/mistral_ocr.py \
142
+
uv run https://tools.simonwillison.net/python/mistral_ocr.py \
143
143
my-file.pdf -d output-dir -he
144
144
```
145
145
`-he` is short for `--html --extract-images`.
146
146
147
147
Or to create HTML with images inlined as base64 URIs:
148
148
```bash
149
-
uv run http://tools.simonwillison.net/python/mistral_ocr.py \
149
+
uv run https://tools.simonwillison.net/python/mistral_ocr.py \
150
150
my-file.pdf -hi > output.html
151
151
```
152
152
`-hi` is short for `--html --inline-images`.
@@ -202,7 +202,7 @@ Given input text to stdin and search/highlight terms, outputs matches plus conte
202
202
203
203
Example usage:
204
204
```bash
205
-
cat myfile.py | uv run http://tools.simonwillison.net/python/highlight.py re search
205
+
cat myfile.py | uv run https://tools.simonwillison.net/python/highlight.py re search
206
206
```
207
207
208
208
## debug_s3_access.py
@@ -212,7 +212,7 @@ Use this with a URL to an object in an S3 bucket to try and debug why that objec
212
212
Example usage:
213
213
214
214
```bash
215
-
uv run http://tools.simonwillison.net/python/debug_s3_access.py \
215
+
uv run https://tools.simonwillison.net/python/debug_s3_access.py \
0 commit comments