{"id":27282,"library":"pyjon-utils","title":"Pyjon Utils","description":"A useful tools library providing singleton patterns, dynamic function pointers, and other Python utilities. Version 0.7 is outdated; the package appears unmaintained since 2010. No recent releases or activity.","status":"deprecated","version":"0.7","language":"python","source_language":"en","source_url":"https://github.com/gdamjan/pyjon-utils","tags":["utilities","singleton","deprecated"],"install":[{"cmd":"pip install pyjon-utils==0.7","lang":"bash","label":"Install specific version"}],"dependencies":[],"imports":[{"note":"Singleton is a class in pyjon.utils module, not top-level.","wrong":"import pyjon\npyjon.Singleton","symbol":"Singleton","correct":"from pyjon.utils import Singleton"}],"quickstart":{"code":"from pyjon.utils import Singleton\n\nclass MyClass(metaclass=Singleton):\n    pass\n\nobj = MyClass()\nprint(obj)","lang":"python","description":"Basic usage of the Singleton metaclass."},"warnings":[{"fix":"Consider alternatives like 'singledispatch' or custom metaclasses.","message":"The package is extremely outdated (last release 2010) and no longer maintained. It may not work with Python 3.x without modifications.","severity":"gotcha","affected_versions":"0.7 and earlier"},{"fix":"Use correct import path: from pyjon.utils import ClassName","message":"Import paths have changed between versions; always use `from pyjon.utils import ...`.","severity":"breaking","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"pip install pyjon-utils and use: from pyjon.utils import ...","cause":"The package name is 'pyjon-utils', but import uses 'pyjon.utils'.","error":"ModuleNotFoundError: No module named 'pyjon'"},{"fix":"Use: from pyjon.utils import Singleton","cause":"Perhaps you tried: import pyjon; pyjon.Singleton","error":"ImportError: cannot import name 'Singleton'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}