[go: up one dir, main page]

Simon Willison’s Weblog

Subscribe

Wednesday, 3rd November 2021

TIL Using VCR and pytest with pytest-recording — [pytest-recording](https://github.com/kiwicom/pytest-recording) is a neat pytest plugin that makes it easy to use the [VCR library](https://vcrpy.readthedocs.io/), which helps write tests against HTTP resources by automatically capturing responses and baking them into a YAML file to be replayed during the tests.
TIL Quick and dirty mock testing with mock_calls — I needed to write a test that checked for a really complex sequence of mock calls for [s3-credentials#3](https://github.com/simonw/s3-credentials/issues/3).
Release s3-credentials 0.1 — A tool for creating credentials for accessing S3 buckets
Release s3-credentials 0.2 — A tool for creating credentials for accessing S3 buckets

s3-credentials: a tool for creating credentials for S3 buckets

Visit s3-credentials: a tool for creating credentials for S3 buckets

I’ve built a command-line tool called s3-credentials to solve a problem that’s been frustrating me for ages: how to quickly and easily create AWS credentials (an access key and secret key) that have permission to read or write from just a single S3 bucket.

[... 1,618 words]

Release s3-credentials 0.3 — A tool for creating credentials for accessing S3 buckets
Tuesday, 2nd November 2021
Thursday, 4th November 2021