CLI tools hidden in the Python standard library
Seth Michael Larson pointed out that the Python gzip module can be used as a CLI tool like this:
Browse by topic: ab 1 · amplitude 1 · asgi 1 · auth0 2 · aws 9 · awslambda 1 · azure 1 · bash 11 · caddy 1 · chrome 1 · claude-code 2 · clickhouse 2 · cloudflare 10 · cloudrun 8 · cocktails 3 · cookiecutter 2 · cooking 1 · cosmopolitan 1 · css 3 · datasette 19 · deno 3 · digitalocean 1 · discord 1 · django 19 · docker…
Visit til.simonwillison.net → RSS feedOn Hacker News Oct 2020 – Nov 2023
Tools & Productivity 10Software Engineering 8Databases & Data 3Web & Frontend 2Programming Languages 2AI & Machine Learning 1
Seth Michael Larson pointed out that the Python gzip module can be used as a CLI tool like this:
TIL this trick, via Pascal Hirsch on Twitter. Enter a line of Bash starting with a # comment, then run !:q on the next line to see what that would be with proper Bash escaping applied.
The Algolia-powered Hacker News API returns nested comment threads that look like this: https://hn.algolia.com/api/v1/items/27941108
We launched the Datasette Cloud blog today. The Datasette Cloud site itself is a Django app - it uses Django and PostgreSQL to manage accounts, teams and soon billing and payments, then launches dedicated containers running Datasette for each customer.
David Beazley on Twitter said:
I wanted to convert some .webp images to .png on my Mac. I asked ChatGPT:
For sqlite-utils issue 250 I needed to locate some test CSV files that start with a UTF-8 BOM.
David Beazley on Twitter :