python Posts 📝
There are 9 Posts in this tag
Below is a list of my blog posts in the python tag.
-
Using Keybow to build custom keyboard functions
Published on under the Keyboards category.
A few weeks ago I came across the Keybow, a small mechanical keyboard developed by Pimoroni that is powered by the Raspberry Pi Zero. After doing some digging, I realised that the Keybow was designed to be coded, meaning I could create my own custom keyboard functions using this device. I let the keyboard sit in the back of my mind for a few weeks until earlier this week when I decided that I was going to take the leap and give the Keybow a try.
-
Separating I/O and logic
Published on under the Programming category.
Earlier this week I watched Alex Chan's Sans I/O programming talk. In the talk, Alex argues the importance of separating I/O and program logic, with reference to a situation where his team was unable to use already-available parsing libraries for BagIt data because said libraries depended on local access to a file. This talk resonated with me because it made me realise I tend to couple I/O and logic in my code without realising it. I'd highly recommend watching the talk in full, or at least reading Alex's accompanying summary on their blog.
-
-
-
Announcing getsitemap, a Python library for sitemap URL retrieval
Published on under the Coding category.
I have worked on numerous projects that involve finding all of the URLs in the sitemaps associated with a website. For example, one of the first steps the IndieWeb Search crawler takes when it starts crawling a website is to find all of the URLs in all of the sitemaps. Separately, I have written scripts that validate the status codes of all the URLs in a sitemap.
-
Adding hovercards to my website
Published on under the IndieWeb category.
I love how Wikipedia shows you a preview of a page when you hover over a link to another page in a wiki entry. This makes Wikipedia more navigable for me, particularly if I am only looking for a definition of a term (text that appears in the preview) to help me better understand the contents on a page. This got me thinking about adding a hover feature to my website that would show you a preview of links that appear in my blog posts.
-
Send a Webmention in 10 (or fewer) lines of Python code
Published on under the IndieWeb category.
Webmentions enable distributed social interactions over the web. Using webmentions, you can send replies, likes, and other interactions that were published on your site to respond to another web page. For example, I send Webmentions for all of the bookmarks I create on my website. If a site can receive Webmentions, they will be notified that I bookmarked their post for later.
-
Announcing IndieWeb Utils v0.4.0 (with reflections on the library)
Published on under the IndieWeb category.
The goal of IndieWeb Utils is to make it easier for you to add IndieWeb features to your application in Python. In v0.3.0, released earlier this week, we added a lot of new features to the library. But, there were some features that were almost ready that did not make their way into the release. Today, we are releasing those features as part of v0.4.0, in addition to a few minor bug fixes that I discovered since the launch of the last version.
-
Announcing IndieWeb Utils v0.3.1
Published on under the IndieWeb category.
I am excited to announce that IndieWeb Utils is now in v0.3.1. This update is the culmination of months of work from project contributors. Before I get any further, I want to note a special thank you to James, Tantek and Angelo for their collaboration in this project. Their contributions, code reviews, and suggestions have greatly enhanced this library.
Viewing page 1 of 1.