mircoschoenfeld
  • publications
  • teaching
  • talks and workshops
  • community service
  • research projects
  • lab@ubt
  • blog

Johnny Decimal meets Python pathlib

Contents

  • Who is Johnny Decimal?
  • Why a Python library?
  • jdpathlib
    • JdPath
    • JdUncheckedPath

Who is Johnny Decimal?¶

Johnny.Decimal is designed to help you find things quickly, with more confidence, and less stress.

Johnny Decimal

Johnny Decimal is a system to organize yourself. At first glance, it is just classification scheme for the folders on your hard drive. But as you familiarize yourself with it, you'll find that it goes well beyond. As Johnny Decimals are unique IDs for specific things in your life, you can use them in emails, in your calendar, and even on sticky notes on your fridge. Looking at an ID in your scheme, you'll immediately know the context of the reference. And you'll immediately know where to look for corresponding files on your hard drive.

An example Johnny Decimal ID
You assign a unique ID to everything in your life: https://johnnydecimal.com/

I am pretty excited about the system. I am using this classification scheme on my own. And I use it in teaching like in this workshop on Personal Data Management.

Why a Python library?¶

Categorizing and classifying your life takes some time. I even doubt that you'll ever finish this task. So, your Johnny Decimal scheme will need some iterations until it really snaps.

Refining your scheme and restructuring its hierarchy will probably require you to move around files and folders. However, when you move a Johnny Decimal sub-tree from one, say, project to another, you have to rename all subdirectories. That's annoying.

In the spirit of Randall Munroe, there is only one logical consequence to cope with tedious tasks: you automate them.

A task worth automating
Automate it! https://xkcd.com/1319/

jdpathlib¶

The jdpathlib makes heavy use of the python pathlib. It offers two major classes: JdPath and JdUncheckedPath.

JdPath¶

JdUncheckedPath¶


  • « Seminar: Critical Data Studies (Summer 2025)
  • Software Technology and Applied Programming »

Published

30. Jun, 2025

Last Updated

Jun 23, 2025

Tags

  • johnny decimal 1
  • open source 16

Links

  • Johnny Decimal
  • Personal Data Management Lecture

Find me here

  • This website contains no ads, cookies, trackers or social media buttons.
  • Powered by Pelican and Elegant.