Eric Matthes
@ehmatthes.bsky.social
Programmer, writer, teacher... I also like the outdoors. :)
I write a weekly Python newsletter, at www.mostlypython.com. I'm also the author of Python Crash Course, from No Starch Press.
I write a weekly Python newsletter, at www.mostlypython.com. I'm also the author of Python Crash Course, from No Starch Press.
The 1.2.1 release of django-simple-deploy allows plugins to extend the core CLI.
For example, the dsd-flyio plugin now supports a `--vm-size` option.
This is what was needed to make plugins much more powerful than simply "give me the smallest possible working deployment".
#Python #Django
For example, the dsd-flyio plugin now supports a `--vm-size` option.
This is what was needed to make plugins much more powerful than simply "give me the smallest possible working deployment".
#Python #Django
September 15, 2025 at 9:05 PM
Fun news! I just deployed a demo Wagtail site to Platform.sh using django-simple-deploy. Here's the steps, and a screenshot of a logged-in admin user.
#Django
#Django
August 14, 2025 at 9:45 PM
Fun news! I just deployed a demo Wagtail site to Platform.sh using django-simple-deploy. Here's the steps, and a screenshot of a logged-in admin user.
#Django
#Django
My favorite section focuses on trust. I fully agree with this take, and this mindset is changing how I build software.
People hyping AI for profit are spilling a bunch of s**t that the rest of us have to deal with. I'm enjoying building things that center trust, explicitly against all this AI slop.
People hyping AI for profit are spilling a bunch of s**t that the rest of us have to deal with. I'm enjoying building things that center trust, explicitly against all this AI slop.
August 14, 2025 at 1:53 PM
My favorite section focuses on trust. I fully agree with this take, and this mindset is changing how I build software.
People hyping AI for profit are spilling a bunch of s**t that the rest of us have to deal with. I'm enjoying building things that center trust, explicitly against all this AI slop.
People hyping AI for profit are spilling a bunch of s**t that the rest of us have to deal with. I'm enjoying building things that center trust, explicitly against all this AI slop.
py-bugger is up to 0.5.2 now.
Latest feature: you can introduce a bug into a specific block of lines, or even a single line in the target file.
It works for small teaching files, and you can target large files in library code as well.
#Python
Latest feature: you can introduce a bug into a specific block of lines, or even a single line in the target file.
It works for small teaching files, and you can target large files in library code as well.
#Python
July 14, 2025 at 2:11 PM
py-bugger is up to 0.5.2 now.
Latest feature: you can introduce a bug into a specific block of lines, or even a single line in the target file.
It works for small teaching files, and you can target large files in library code as well.
#Python
Latest feature: you can introduce a bug into a specific block of lines, or even a single line in the target file.
It works for small teaching files, and you can target large files in library code as well.
#Python
In the 0.4.1 release of py-bugger, the `-e` argument is optional. If you leave it off, it will randomly select what kind of bug to introduce in the target project.
It also suggests valid arguments for `-e` if you make a typo.
#Python
It also suggests valid arguments for `-e` if you make a typo.
#Python
June 25, 2025 at 6:52 PM
In the 0.4.1 release of py-bugger, the `-e` argument is optional. If you leave it off, it will randomly select what kind of bug to introduce in the target project.
It also suggests valid arguments for `-e` if you make a typo.
#Python
It also suggests valid arguments for `-e` if you make a typo.
#Python
I'll be signing books at the JetBrains booth at 10:05, right after Lynn's keynote. Bring your own copy if you have it, or come by to say hi! Grab some stickers too!
(Limited copies available at the booth as well.)
#PyConUS
(Limited copies available at the booth as well.)
#PyConUS
May 17, 2025 at 1:33 PM
I'll be signing books at the JetBrains booth at 10:05, right after Lynn's keynote. Bring your own copy if you have it, or come by to say hi! Grab some stickers too!
(Limited copies available at the booth as well.)
#PyConUS
(Limited copies available at the booth as well.)
#PyConUS
If you're at #PyConUS and you like birds, there's a lot to (try to) see at Point State Park. It's about a ten minute walk from the convention center.
May 15, 2025 at 2:47 PM
If you're at #PyConUS and you like birds, there's a lot to (try to) see at Point State Park. It's about a ten minute walk from the convention center.
I'll be signing books at the JetBrains/PyCharm booth on Saturday morning, right after the keynote. Bring a book and I'll sign it, buy one at the booth, or just stop by to say hi and grab a sticker!
#PyConUS
#PyConUS
May 14, 2025 at 9:44 PM
I'll be signing books at the JetBrains/PyCharm booth on Saturday morning, right after the keynote. Bring a book and I'll sign it, buy one at the booth, or just stop by to say hi and grab a sticker!
#PyConUS
#PyConUS
Leaving AVL for PIT via CLT. See you soon, #PyConUS people!
I have a pretty open day tomorrow, so if you’re around and want to say hello please reach out!
I have a pretty open day tomorrow, so if you’re around and want to say hello please reach out!
May 14, 2025 at 6:11 PM
Leaving AVL for PIT via CLT. See you soon, #PyConUS people!
I have a pretty open day tomorrow, so if you’re around and want to say hello please reach out!
I have a pretty open day tomorrow, so if you’re around and want to say hello please reach out!
py-bugger has a simple logo for now. :)
I have an idea for a logo for django-simple-deploy, but that will take a bit longer to do well.
github.com/ehmatthes/py...
#Python
I have an idea for a logo for django-simple-deploy, but that will take a bit longer to do well.
github.com/ehmatthes/py...
#Python
May 7, 2025 at 7:13 PM
py-bugger has a simple logo for now. :)
I have an idea for a logo for django-simple-deploy, but that will take a bit longer to do well.
github.com/ehmatthes/py...
#Python
I have an idea for a logo for django-simple-deploy, but that will take a bit longer to do well.
github.com/ehmatthes/py...
#Python
py-bugger 0.3.3 includes a --verbose (-v) flag. This means users don't see which file was modified unless they specifically request that information.
The goal is to replicate realistic bugs, and when new bugs appear we don't usually know which file is the problem.
#Python #Debugging
The goal is to replicate realistic bugs, and when new bugs appear we don't usually know which file is the problem.
#Python #Debugging
April 29, 2025 at 2:22 PM
py-bugger 0.3.3 includes a --verbose (-v) flag. This means users don't see which file was modified unless they specifically request that information.
The goal is to replicate realistic bugs, and when new bugs appear we don't usually know which file is the problem.
#Python #Debugging
The goal is to replicate realistic bugs, and when new bugs appear we don't usually know which file is the problem.
#Python #Debugging
April 28, 2025 at 8:57 PM
April 27, 2025 at 10:36 PM
When building config objects, I've gone back and forth between a simple dataclass with an external validate() function, and a regular class with a validate() method.
Do you have a strong preference for one of these approaches? What's the reasoning?
#Python
Do you have a strong preference for one of these approaches? What's the reasoning?
#Python
April 8, 2025 at 3:38 PM
When building config objects, I've gone back and forth between a simple dataclass with an external validate() function, and a regular class with a validate() method.
Do you have a strong preference for one of these approaches? What's the reasoning?
#Python
Do you have a strong preference for one of these approaches? What's the reasoning?
#Python
A small sign for today’s rallies, but this has been the refrain in my head for months now.
April 5, 2025 at 6:14 PM
A small sign for today’s rallies, but this has been the refrain in my head for months now.
March 31, 2025 at 9:10 PM
You can also target a specific file:
March 25, 2025 at 4:07 PM
You can also target a specific file:
`py-bugger` is steadily improving. You can install it from PyPI, as `python-bugger`. The command is still `py-bugger`.
You can run it against a large, established project like Pillow:
#Python
You can run it against a large, established project like Pillow:
#Python
March 25, 2025 at 4:06 PM
`py-bugger` is steadily improving. You can install it from PyPI, as `python-bugger`. The command is still `py-bugger`.
You can run it against a large, established project like Pillow:
#Python
You can run it against a large, established project like Pillow:
#Python
You're one of the people I was thinking of! I've done that as well when teaching, but it doesn't give students any way to practice on their own.
Here's a brief roadmap:
Here's a brief roadmap:
March 19, 2025 at 3:11 PM
You're one of the people I was thinking of! I've done that as well when teaching, but it doesn't give students any way to practice on their own.
Here's a brief roadmap:
Here's a brief roadmap:
I'd love to hear your thoughts! Be aware that it's in a really early state, and doesn't check for a clean git status or anything like that. It also doesn't walk the directory tree yet, it just looks at the first .py file it finds.
These notes should work though:
These notes should work though:
March 19, 2025 at 3:09 PM
I'd love to hear your thoughts! Be aware that it's in a really early state, and doesn't check for a clean git status or anything like that. It also doesn't walk the directory tree yet, it just looks at the first .py file it finds.
These notes should work though:
These notes should work though:
I've often thought we could help people learn debugging better if we had a tool that lets you intentionally introduce specific kinds of bugs into a known working project.
py-bugger aims to do exactly that:
#Python
py-bugger aims to do exactly that:
#Python
March 19, 2025 at 2:49 PM
I've often thought we could help people learn debugging better if we had a tool that lets you intentionally introduce specific kinds of bugs into a known working project.
py-bugger aims to do exactly that:
#Python
py-bugger aims to do exactly that:
#Python
I think it looks more like a goldfinch in winter plumage? Kinglets are small and plump, and have a thinner bill.
www.allaboutbirds.org/guide/Americ...
www.allaboutbirds.org/guide/Americ...
February 15, 2025 at 2:31 PM
I think it looks more like a goldfinch in winter plumage? Kinglets are small and plump, and have a thinner bill.
www.allaboutbirds.org/guide/Americ...
www.allaboutbirds.org/guide/Americ...
"Emperor-appointed board elects emperor as chair of board" would be quite a bit more representative of what's happening.
February 12, 2025 at 9:10 PM
"Emperor-appointed board elects emperor as chair of board" would be quite a bit more representative of what's happening.
To target a different platform, just install a different plugin:
December 9, 2024 at 3:40 PM
To target a different platform, just install a different plugin: