Python has a webbrowser
module that allows scripts to open a webbrowser.
In the past, I have often used this for scripts that create some kind of new web resource, so that it will automatically open the page after creation.
While working on one of my headless servers, I became curious about how it works and how I might be able to tap into it.
Read More →
With Django 6.0
a new tasks framework
was added.
Instead of being a full framework like celery
, it provides the core interface for other tools to build off of.
I created django-inspect-tasks
to help me test.
Read More →
After finding the repo-review
, one of the first checks I wanted, was to check some of the justfiles
that I have started using across projects.
Read More →
Django
has a System check framework
that is useful for doing automatic checks.
I wanted something similar that I could use as I update some PyPI projects
.
Thanks to asking a question on Mastodon
, I was introduced to Scientific Python’s repo-review
tool.
Read More →
The default for Forgejo
is to use local storage but I wanted to migrate to Linode (Referral
) Object Storage for better scaling since I am using a lower spec VM for my instance.
I found the post Upgrading Forgejo with S3 Object Storage
which gave me a good starting point.
Read More →
Similar to how easy it is to run uv add <package> to our python
projects, I have recently been brainstorming (hallucinating?) about a workflow for django
with javascript
libraries.
Read More →
Python projects support a list of URLs when creating your pyproject.toml, however I often forget the specific categories.
Similar to my add-classifiers
project, I have created uvx add-url as a helper.
Read More →
mermaidjs
is a useful tool where one can turn text into diagrams easily.
I have used it on many projects, but have long wanted a way to click on an element and bring up additional information.
Using htmx
and the bootstrap5 modal api
, I have figured out a way to do it.
Read More →
While reading the release notes for a recent update of python-social-auth
I was thinking about how I handle User-Agent
headers in django
apps.
Read More →
Usually you can run an application without knowing what language it is written in.
Sometimes when debugging unexpected behavior, that becomes very important.
While debuging some headers changing, knowing that Caddy
was written in [golang] explained the bug.
Read More →