Skip to content

v0.4.0

Latest

Choose a tag to compare

@jamesabel jamesabel released this 24 Jun 20:08
· 7 commits to main since this release
4945b43

First tagged release of pref.

Highlights

PrefOrderedSet

  • exists() and get(default=...) distinguish "never set" from "set to empty"
  • add() / discard() and __contains__ / __len__ / __iter__ for incremental set mutation
  • clear() to reset

Lifecycle

  • close() and context-manager support on PrefOrderedSet and Pref (fixes a Windows open-handle leak)

Pref

  • reset() to drop a preference group; file_name defaults unified with PrefOrderedSet

Other

  • SQLitePath.tables(); new PrefStore factory
  • GitHub Actions CI running pytest on ubuntu/windows across Python 3.10–3.15