rssed

a collection of dev rss feeds - blogroll

Add a new feed

+

323 feeds


Adam Johnson

Posts

Python: join my optimization workshop in Lisbon, 10th October πŸ”—

I’m running a workshop in Lisbon next month, and you’re invited! It’s a small, in-person, hands-on session on optimizing Python code, with a Django fl [...]

Django: serve the change password well-known URL πŸ”—

When a password manager detects that a user’s password has been leaked or reused, it can prompt them to change it, but the password change URL varies [...]

Django: introducing django-mcpz, for making MCP servers πŸ”—

I made another package! Say hello to django-mcpz, for building Model Context Protocol (MCP) servers in your Django project. The package tagline is eas [...]

Zsh: manipulate filenames with modifiers like :r (root) and :e (extension) πŸ”—

Zsh modifiers are a family of suffixes that transform words as they’re expanded. Several of them are dedicated to slicing up filenames, replacing fidd [...]

Django: django-upgrade 1.32.0 out now, with 44 AI-assisted bug fixes πŸ”—

django-upgrade is my tool for automatically upgrading your project code for new Django versions. It rewrites your Python files to fix deprecations and [...]

Python: use re.prefixmatch() instead of re.match() from Python 3.15 πŸ”—

Take this validation function: import re TRAIN_NUMBER_RE = re.compile(r"\d{6}") # six digits def is_valid_train_number(value: str) -> bool: re [...]

Python: fix SyntaxWarning: invalid octal escape sequence πŸ”—

Take this code: path = "C:\477_data" If we run this with Python 3.11+ in development mode (to enable deprecation warnings), we will see: $ python3.11 [...]

Python: fix TypeError: NamedTuple() got an unexpected keyword argument πŸ”—

Take this code, defining a small NamedTuple with a keyword argument per field: from typing import NamedTuple Point = NamedTuple("Point", x=int, y=int [...]

Python: introducing emojet, a fast emoji lookup library πŸ”—

New package just landed! emojet is an emoji library for Python: it converts between emoji and their names, in both directions, plus the searching and [...]

Python: tprof 1.3.0: now with less overhead πŸ”—

Back in January, I introduced tprof, a targeting profiler for Python 3.12+ that measures the time spent in specific functions, rather than your whole [...]