B is for batteries included - Python A to Z Dark _ □ ✕
  • Posts
  • About
  • Debug
Post

B is for batteries included - Python A to Z

Published
2026-08-03 00:00 UTC (precision: second)
Source feed
Juha-Matti Santala - Community Builder. Dreamer. Adventurer. [exclude this blog]
Link
https://hamatti.org/posts/b-is-for-batteries-included-python-a-to-z/
Canonical
https://hamatti.org/posts/b-is-for-batteries-included-python-a-to-z
Length
1792 runes
Extracted text
Python A-Z is a blog series about Python. Each day, I share insights, ideas and examples for different parts of Python development that match with the letter of the day. Blaugust is an annual blogging festival in August where the goal is to write a blog post every day of the month. Python is often described as having batteries included The Python source distribution has long maintained the philosophy of “batteries included” – having a rich and versatile standard library which is immediately available, without making the user download separate packages. This gives the Python language a head start in many projects. - from withdrawn PEP 206 I love Python’s batteries included philosophy and its standard library so much that I dedicated an entire Blaugust in 2024 writing about it: Parsing nginx server logs with regular expressions Reading and writing CSV with Python Improve your code with namedtuples Count ‘em help() me Obi-Wan Kenobi, you’re my only hope Improved print readability with pprint Document intended usage through tests with doctest Debug with pdb and breakpoint Rotating turn order with deque Data classes in Python with dataclasses Combinatoric iterators from itertools Write more pythonic code with context managers Random number chosen by fair dice roll Combine iterables with zip map and filter with list comprehensions Memoize with functools.cache Keep track of happenings with logging Bring your custom toolkit to REPL sessions Serve local HTML and CSS files with http.server Branch out with pattern matching Test your codebase with unittest Pretty print and validate JSON on command line with json.tool Parse command line arguments with argparse Quick prototyping with sqlite3 At PyCon Finland 2025, we got this cool LEGO Python logo that had batteries included:
Stored topics

Every stored assignment is listed, including rows below the current cutoff (0.75), so a missing tag can be explained.

Concept Code Score Meter Margin Origin Path
science and technology science-and-technology 0.99 4.51 direct science and technology
technology and engineering technology-and-engineering 0.99 4.24 ↑derived from 20000763 science and technology > technology and engineering
information technology and computer science information-technology-and-computer 0.99 4.24 direct science and technology > technology and engineering > information technology and computer science
economy, business and finance economy-business-and-finance 0.98 4.03 ↑derived from local:software-development economy, business and finance
products and services products-and-services 0.98 4.03 ↑derived from local:software-development economy, business and finance > products and services
computing and information technology computing-and-information-technology 0.98 4.03 ↑derived from local:software-development economy, business and finance > products and services > computing and information technology
software and applications software-and-applications 0.98 4.03 ↑derived from local:software-development economy, business and finance > products and services > computing and information technology > software and applications
Software development software-development 0.98 4.03 direct economy, business and finance > products and services > computing and information technology > software and applications > Software development
Open source open-source 0.88 1.99 direct economy, business and finance > products and services > computing and information technology > software and applications > Open source
arts, culture, entertainment and media arts-culture-entertainment-and-media 0.86 1.79 ↑derived from local:blogging arts, culture, entertainment and media
mass media mass-media 0.86 1.79 ↑derived from local:blogging arts, culture, entertainment and media > mass media
social media social-media 0.86 1.79 ↑derived from local:blogging arts, culture, entertainment and media > mass media > social media
Blogging blogging 0.86 1.79 direct arts, culture, entertainment and media > mass media > social media > Blogging
Information security information-security 0.41 -0.35 direct science and technology > technology and engineering > information technology and computer science > Information security
lifestyle and leisure lifestyle-and-leisure 0.20 -1.40 ↑derived from 20000550 lifestyle and leisure
leisure leisure 0.20 -1.40 ↑derived from 20000550 lifestyle and leisure > leisure
hobby hobby 0.20 -1.40 direct lifestyle and leisure > leisure > hobby
media and entertainment industry media-and-entertainment-industry 0.14 -1.81 ↑derived from 20000306 economy, business and finance > products and services > media and entertainment industry
books and publishing books-and-publishing 0.14 -1.81 direct economy, business and finance > products and services > media and entertainment industry > books and publishing
artificial intelligence artificial-intelligence 0.10 -2.16 direct science and technology > technology and engineering > information technology and computer science > artificial intelligence
human interest human-interest 0.07 -2.51 ↑derived from 20000498 human interest
award and prize award-and-prize 0.07 -2.51 direct human interest > award and prize
arts and entertainment arts-and-entertainment 0.04 -3.23 ↑derived from 20000013 arts, culture, entertainment and media > arts and entertainment
literature literature 0.04 -3.23 direct arts, culture, entertainment and media > arts and entertainment > literature
game game 0.03 -3.50 ↑derived from 20000548 lifestyle and leisure > leisure > game
video game video-game 0.03 -3.50 direct lifestyle and leisure > leisure > game > video game
Self-hosting self-hosting 0.02 -3.70 direct economy, business and finance > products and services > computing and information technology > Self-hosting
sport sport 0.02 -3.79 ↑derived from 20001183 sport
competition discipline competition-discipline 0.02 -3.79 ↑derived from 20001183 sport > competition discipline
eSports esports 0.02 -3.79 direct sport > competition discipline > eSports
crime, law and justice crime-law-and-justice 0.02 -3.89 ↑derived from 20000086 crime, law and justice
crime crime 0.02 -3.89 ↑derived from 20000086 crime, law and justice > crime
cyber crime cyber-crime 0.02 -3.89 direct crime, law and justice > crime > cyber crime
scientific research scientific-research 0.02 -3.96 ↑derived from 20000739 science and technology > scientific research
scientific exploration scientific-exploration 0.02 -3.96 ↑derived from 20000739 science and technology > scientific research > scientific exploration
space exploration space-exploration 0.02 -3.96 direct science and technology > scientific research > scientific exploration > space exploration
animation animation 0.02 -4.06 direct arts, culture, entertainment and media > arts and entertainment > animation
social sciences social-sciences 0.02 -4.10 direct science and technology > social sciences
film industry film-industry 0.02 -4.12 direct economy, business and finance > products and services > media and entertainment industry > film industry
history history 0.01 -4.21 direct science and technology > social sciences > history
environment environment 0.01 -4.24 direct environment
Tabletop gaming tabletop-gaming 0.01 -4.26 direct lifestyle and leisure > leisure > game > Tabletop gaming
education education 0.01 -4.35 direct education
culture culture 0.01 -4.36 direct arts, culture, entertainment and media > culture
MMORPG mmorpg 0.01 -4.45 direct lifestyle and leisure > leisure > game > video game > MMORPG
natural science natural-science 0.01 -4.48 ↑derived from 20000719 science and technology > natural science
biology biology 0.01 -4.48 direct science and technology > natural science > biology
disaster, accident and emergency incident disaster-accident-and-emergency-incident 0.01 -4.56 direct disaster, accident and emergency incident
labour labour 0.01 -4.68 direct labour
society society 0.01 -4.71 ↑derived from 20000780 society
family family 0.01 -4.71 direct society > family
streaming service streaming-service 0.01 -4.75 direct economy, business and finance > products and services > media and entertainment industry > streaming service
podcast podcast 0.01 -4.75 direct economy, business and finance > products and services > media and entertainment industry > podcast
health health 0.01 -4.87 ↑derived from 20000458 health
disease and condition disease-and-condition 0.01 -4.87 ↑derived from 20000458 health > disease and condition
mental health and disorder mental-health-and-disorder 0.01 -4.87 direct health > disease and condition > mental health and disorder
politics and government politics-and-government 0.01 -4.96 direct politics and government
Cryptography cryptography 0.01 -5.00 direct science and technology > technology and engineering > information technology and computer science > Cryptography
card game card-game 0.01 -5.02 direct lifestyle and leisure > leisure > game > card game
fundamental rights fundamental-rights 0.01 -5.28 ↑derived from 20001300 society > fundamental rights
privacy privacy 0.01 -5.28 direct society > fundamental rights > privacy
health treatment and procedure health-treatment-and-procedure 0.01 -5.28 direct health > health treatment and procedure
exercise and fitness exercise-and-fitness 0.00 -5.36 direct lifestyle and leisure > wellness > exercise and fitness
wellness wellness 0.00 -5.36 ↑derived from 20001239 lifestyle and leisure > wellness
board game board-game 0.00 -5.51 direct lifestyle and leisure > leisure > game > board game
travel and tourism travel-and-tourism 0.00 -5.74 direct lifestyle and leisure > leisure > travel and tourism
visual arts visual-arts 0.00 -5.75 ↑derived from 20000036 arts, culture, entertainment and media > arts and entertainment > visual arts
photography photography 0.00 -5.75 direct arts, culture, entertainment and media > arts and entertainment > visual arts > photography
diet diet 0.00 -5.83 direct health > health treatment and procedure > diet
television television 0.00 -5.95 direct arts, culture, entertainment and media > mass media > television
consumer goods consumer-goods 0.00 -6.03 ↑derived from 20001160 economy, business and finance > products and services > consumer goods
handicrafts handicrafts 0.00 -6.03 direct economy, business and finance > products and services > consumer goods > handicrafts
conflict, war and peace conflict-war-and-peace 0.00 -6.17 direct conflict, war and peace
religion religion 0.00 -6.20 direct religion
weather weather 0.00 -6.23 direct weather
climate change climate-change 0.00 -6.29 direct environment > climate change
music music 0.00 -6.41 direct arts, culture, entertainment and media > arts and entertainment > music
public health public-health 0.00 -6.47 direct health > public health
weather forecast weather-forecast 0.00 -6.50 direct weather > weather forecast
food and drink enthusiasm food-and-drink-enthusiasm 0.00 -7.18 direct lifestyle and leisure > leisure > hobby > food and drink enthusiasm
lifestyle lifestyle 0.00 -7.83 ↑derived from 20001257 lifestyle and leisure > lifestyle
house and home house-and-home 0.00 -7.83 ↑derived from 20001257 lifestyle and leisure > lifestyle > house and home
gardening gardening 0.00 -7.83 direct lifestyle and leisure > lifestyle > house and home > gardening

← Back to posts

feedtagger 0.1.0-dev model: modernbert-base-zeroshot-v2.0/int8@all-s256 660 posts 0 unclassified min score 0.75