Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

None
TIL Convert a datetime object to UTC without using pytz — I wanted to convert a datetime object (from GitPython) to UTC without adding the `pytz` dependency.
None
TIL Set environment variables for all steps in a GitHub Action — From [this example](https://github.com/GoogleCloudPlatform/github-actions/blob/20c294aabd5331f9f7b8a26e6075d41c31ce5e0d/example-workflows/cloud-run/.github/workflows/cloud-run.yml) I learned that you can set environment variables such that they will be available in ALL jobs once at the top of a workflow:
None
TIL Dump out all GitHub Actions context — Useful for seeing what's available for `if: ` conditions (see [context and expression syntax](https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions)).
None
TIL Only run GitHub Action on push to master / main — Spotted in [this Cloud Run example](https://github.com/GoogleCloudPlatform/github-actions/blob/20c294aabd5331f9f7b8a26e6075d41c31ce5e0d/example-workflows/cloud-run/.github/workflows/cloud-run.yml):
Release datasette-publish-vercel 0.4.1a — Datasette plugin for publishing data using Vercel
Release github-to-sqlite 1.1 — Save data from GitHub to a SQLite database
Release twitter-to-sqlite 0.21 — Save data from Twitter to a SQLite database
Release github-to-sqlite 1.0.1 — Save data from GitHub to a SQLite database
Release sqlite-utils 2.6 — Python CLI utility and library for manipulating SQLite databases
Release datasette-auth-existing-cookies 0.7 — Datasette plugin that authenticates users based on existing domain cookies
Release paginate-json 0.3 — Command-line tool for fetching JSON from paginated APIs
Release datasette-clone 0.4.1 — Create a local copy of database files from a Datasette instance
Release datasette-clone 0.4 — Create a local copy of database files from a Datasette instance
Release datasette-mask-columns 0.2 — Datasette plugin that masks specified database columns
Release datasette-mask-columns 0.1 — Datasette plugin that masks specified database columns
Release datasette-clone 0.3 — Create a local copy of database files from a Datasette instance
Release datasette-clone 0.2 — Create a local copy of database files from a Datasette instance
Release datasette-clone 0.1 — Create a local copy of database files from a Datasette instance
Release sqlite-utils 2.5 — Python CLI utility and library for manipulating SQLite databases
Release datasette-auth-github 0.12 — Datasette plugin that authenticates users against GitHub
Release datasette-jq 0.2.1 — Datasette plugin that adds a custom SQL function for executing jq expressions against JSON values
Release datasette-publish-vercel 0.4a — Datasette plugin for publishing data using Vercel
Release datasette-publish-vercel 0.3a — Datasette plugin for publishing data using Vercel
Release datasette-cluster-map 0.9.1 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-publish-vercel 0.2a — Datasette plugin for publishing data using Vercel
Release datasette-publish-vercel 0.1a — Datasette plugin for publishing data using Vercel
Release twitter-to-sqlite 0.20.1 — Save data from Twitter to a SQLite database
Release twitter-to-sqlite 0.20 — Save data from Twitter to a SQLite database
Release swarm-to-sqlite 0.3.1 — Create a SQLite database containing your checkin history from Foursquare Swarm
Release swarm-to-sqlite 0.3 — Create a SQLite database containing your checkin history from Foursquare Swarm