The first post of a new python blog I started if anyone is interested.

You are viewing a single thread.
View all comments
1 point

If it’s worth sharing it’s worth to accompany the blog post with a repo containing unittests and tox.ini and pre-commit

If that had been done, tox would give feedback that match switch support is py310+

functools.singledispatch might be helpful to test multiple implementations

Complaint about sharing code within a blog post is the quality is ALWAYS suspect.

Lets leave crapoverflow.com style code examples in the past. Instead share tested code.

permalink
report
reply

Python

!python@programming.dev

Create post

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events
Past

November 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
  • Pythörhead: a Python library for interacting with Lemmy
  • Plemmy: a Python package for accessing the Lemmy API
  • pylemmy pylemmy enables simple access to Lemmy’s API with Python
  • mastodon.py, a Python wrapper for the Mastodon API
Feeds

Community stats

  • 215

    Monthly active users

  • 199

    Posts

  • 836

    Comments