Trying out Python packages with ipython and uvx
I figured out a really simple pattern for experimenting with new Python packages today:
272 words
|
1 minute
Understanding option names in Click
I hit [a bug today](https://github.com/simonw/datasette/issues/973) where I had defined a Click option called `open` but in doing so I replaced the...
133 words
|
1 minute
Working around the size limit for nodeValue in the DOM
TIL that `nodeValue` in the DOM has a size limit!
94 words
|
1 minute
Escaping strings in Bash using !:q
TIL this trick, [via Pascal Hirsch](https://twitter.com/phphys/status/1311727268398465029) on Twitter. Enter a line of Bash starting with a `#` com...
144 words
|
1 minute
Testing HTML tables with Playwright Python
I figured out this pattern today for testing an HTML table dynamically added to a page by JavaScript, using [Playwright Python](https://playwright....
163 words
|
1 minute
Searching for repositories by topic using the GitHub GraphQL API
I wanted to use the GitHub GraphQL API to return all of the repositories on the https://github.com/topics/git-scraping page.
114 words
|
1 minute
Registering the same Pluggy hook multiple times in a single file
I found myself wanting to register more than one instance of a [Pluggy](https://pluggy.readthedocs.io/) plugin hook inside a single module.
153 words
|
1 minute