PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Singleton Pattern Python Packages

Python packages with the GitHub topic singleton-pattern. Sorted by monthly downloads, with stars and forks.
GalacticDynamics
oncequinox

micro-library for making Equinox singletons

5K 1 2
nickosh
nsingleton

Just another singleton pattern implementation. Thread-safe, with type casting.

2K 1 0
0xf104a
smalldi

Tiny, zero-dependency DI for Python. Decorators register singletons and interfaces, Provide[T] type hints inject them, overrides swap implementations, and scoped contexts give every test fresh instances. Thread-safe and tested on free-threaded CPython 3.14t/3.15t.

518 0 0
w2sv
monostate

Dependency-free python package, providing monostate owner base class through implementation of the borg pattern

184 1 0
sahilkhanna
mypubsub

A Python library implementing the publish-subscribe pattern.

169 0 0
Alchemy-Meister
design-pytterns

Python 3 Design Patterns

158 3 0
w2sv
unredoable

Dependency-free python package, providing monostate owner base class through implementation of the borg pattern

106 1 0
mounirmelzi
pydi-framework

Python Dependency Injection Framework

53 2 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology