skillfed

pyjon.utils

Useful tools library with classes to do singletons, dynamic function pointers...

pyjon-utils v0.7 74.6K downloads/30d#14,814 on PyPI
Permissive license MIT Abandoned released

What it is and what it does

pyjon.utils is a small utility library providing design-pattern implementations for Python development. It offers classes for singletons and dynamic function pointers. The package has no runtime dependencies, making it lightweight to install.

The package was last updated in 2014 and is now abandoned. While it was ported to Python 3, the documentation explicitly warns that the Singleton metaclass does not work in Python 3, making it unsuitable for modern Python 3 projects that rely on that feature. For Python 2 codebases still in maintenance, it may serve as a lightweight utility, but for new projects or Python 3 development, its limitations and lack of maintenance are significant concerns.

Use it for:

  • Maintaining legacy Python 2 codebases where the package was already in use.
  • Adding dynamic function pointer support to older Python applications predating modern alternatives.
  • Educational reference for understanding how singleton metaclasses were implemented in early Python libraries.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides utility classes for Python development, including singleton pattern support and dynamic function pointers, though with known limitations in Python 3.

No, not for new projects. The package is abandoned (last release 2014-10-10), and its own documentation warns that the Singleton metaclass—a core feature—does not work in Python 3. For Python 2 legacy maintenance only, and only if already in use; modern Python 3 projects should seek maintained alternatives.

Install

pyjon-utils on PyPI

pip

pip install pyjon-utils

uv

uv add pyjon-utils

poetry

poetry add pyjon-utils

Installing pyjon.utils

Before you install

Low install friction with no runtime dependencies. Package is abandoned—last release was 2014-10-10, over 4326 days ago. Python 3 support was added but the Singleton metaclass does not work in Python 3 according to the package's own documentation.

License in practice

MIT license is permissive, imposing no restrictions on use, modification, or distribution.

Quickstart

pip install pyjon.utils==0.7

from pyjon.utils import Singleton
# Note: Singleton metaclass does not work in Python 3

Singleton metaclass does not work in Python 3; suitable only for Python 2 codebases.

Verify before relying

  • Whether the Singleton metaclass limitation in Python 3 has been worked around by users or remains a blocker.
  • Current state of the codebase and whether community forks or maintained alternatives exist.
  • Compatibility with modern Python versions beyond the stated Python 3 support caveat.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 4,326 days since the last release
First released
Downloads 74,589/month — #14,814 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyjon.utils-0.7-py2-none-any.whl; pyjon.utils-0.7-py3-none-any.whl

Programming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules

Tags

singleton pattern pythondynamic function pointersutility classes librarypython design patternsfunction pointer implementation
legacyabandoned

More Python Modules packages