Deploying Python web apps as AWS Lambda functions
I've been wanting to figure out how to do this for years. Today I finally put all of the pieces together for it.
1568 words
|
8 minutes
Upgrading a pipx application to an alpha version
I wanted to upgrade my [git-history](https://datasette.io/tools/git-history) installation to a new alpha version.
96 words
|
1 minute
Using namedtuple for pytest parameterized tests
I'm writing some quite complex [pytest]() parameterized tests this morning, and I was finding it a little bit hard to read the test cases as the nu...
327 words
|
2 minutes
Pausing traffic and retrying in Caddy
A pattern I really like for zero-downtime deploys is the ability to "pause" HTTP traffic at the load balancer, such that incoming requests from bro...
428 words
|
2 minutes
Handling CSV files with wide columns in Python
Users [were reporting](https://github.com/simonw/sqlite-utils/issues/229) the following error using `sqlite-utils` to import some CSV files:
229 words
|
1 minute
Geocoding from Python on macOS using pyobjc-framework-CoreLocation
Rhet Turnbull [shared](https://twitter.com/RhetTurnbull/status/1883559820541956605) this [short script](https://gist.github.com/RhetTbull/db70c113e...
542 words
|
3 minutes
Finding the SQLite version used by Web SQL in Chrome
Google Chrome still includes support for [Web SQL](https://www.w3.org/TR/webdatabase/), the long since abandoned proposed standard for shipping a S...
248 words
|
1 minute
Building a Secure DNS Sinkhole with CoreDNS and Smallstep Certificates
A comprehensive guide to building a secure DNS sinkhole using CoreDNS and Smallstep certificates, providing DNS-level blocking and serving custom HTTPS block pages.
225 words
|
1 minute