Python classes to work with Johnny.Decimal systems
| src/johnny | delete redundant __init__.py files | |
| tests | rename "tag" → "number" per word-of-Johnny ;) | |
| .gitignore | add dev dependency on pytest-cov | |
| .python-version | initial commit | |
| COPYING | add license and trove classifiers | |
| pdm.lock | add dev dependency on pytest-cov | |
| pyproject.toml | add license and trove classifiers | |
| README.md | add some text to README.md | |
jd-types - Johnny.Decimal for Python
Johnny.Decimal is a scheme to help you "assign a unique ID to everything in your life" and maintain a productive level of complexity in your (digital & physical) filing system.
This package provides a very simple set of classes for parsing and manipulating Johnny.Decimal system metadata, with validation. It's intended to be a reusable implementation of the formal Johnny.Decimal specification (currently a work in progress).
Motivation
I want to implement a few JD-related quality of life features in Xonsh (a cross-platform shell) and Ranger (a console file manager), both of which are implemented and extendable with Python. This is my attempt to provide a generic core library I can reuse in both contexts. Hopefully it will be usable more broadly!
Planned features
- Validation with pydantic
- Parsing and generating JD-style paths in both Unix & Windows styles