Measuring the performance of Python chunks in different environments

A tiny context manager for timing specific chunks of Python code, and how to switch it on only in development and staging without touching the source.

Wonderful Python Libraries #2: secure secret storage in Python

Cloud secret managers and Hashicorp Vault are client-server. For local scripts you need something lighter: Python keyring stores your secrets in the operating system's own secure storage.

Wonderful Python libraries, no. 1: Prompt Toolkit

First post in a series about my favourite Python libraries. Prompt Toolkit gives you autocompletion, syntax highlighting, history and ncurses dialogs in the terminal without writing ncurses code.

Redis vs. KeyDB — My Performance Test and Conclusions

KeyDB is a fork of Redis. The KeyDB project claims that the Redis implementation approach is not correct and can be better, in terms of performance.

The butterfly effect on research

A talk at Navaja Negra 2023 taught me that WAF-Brain, a proof of concept we built at BBVA, had become the base of research papers written on the other side of the world.