eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

226
active users

#python

213 posts194 participants36 posts today

Free online course: Introduction to Test-Driven Development
🕝 July 14, 14:30 → 18:30 CEST

Looking to write better, more reliable code? This workshop is a great opportunity to dive into Test-Driven Development — a method where you write tests before the code, helping you build clean, extensible, and bug-resistant software from the start.

Prerequisites: Basic Python Knowledge

Sign up today-
events.digital-research.academ

Is there enough reuse opportunities for a `catdog_typing` library?

A catdog being a union of types where the developer needs more control over the duck type interface, e.g. `str | list[str]` - by duck typing, iteration does what you probably don't want. So ideally these pairs get wrapped and the duck type interface is replaced with something sensible.

`str | Path | 'filelike'` seem like another common catdog.

Success! Completed a #Python #AIXM parser, based on xml.parsers.expat and a hierarchy of custom classes.

AIXM features and objects are declared as dictionairies, mapping tag names to AIXM value classes.

While expat traverses the document, features and objects are collected, and values are converted and attached.

In the end all features and objects generate their own SQL commands for creation and inserts.

It even got wait&space capacity for features I currently don't need.

💪

#DEVONthink's automatic Wiki-links connect notes, but these relationships often remain hidden without a visual layer. To address this, I built a local #Python tool that generates interactive #graph visualizations of #Markdown note connections, revealing #clusters and structural patterns for more intuitive navigation and insight. Feel free to play around with it. If you notice any issues, please let me know.

🌍 fabriziomusacchio.com/blog/202
🚀 github.com/FabrizioMusacchio/D

#PKM @devontechnologies