{"id":1517,"library":"ipython-genutils","title":"IPython Generic Utilities","description":"ipython-genutils (version 0.2.0) is a collection of IPython-specific utility functions and modules that were extracted from the main IPython project. It served as a dependency for older IPython components and related projects during the Python 2 to 3 transition. It is considered vestigial, no longer actively developed, with its last release in 2017. New projects should avoid direct reliance on it.","status":"deprecated","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/ipython/ipython_genutils","tags":["ipython","utility","deprecated","jupyter"],"install":[{"cmd":"pip install ipython-genutils","lang":"bash","label":"Install stable version"}],"dependencies":[],"imports":[{"wrong":"from ipython_genutils.version import version_info","symbol":"version_info","correct":"from ipython_genutils import version_info"}],"quickstart":{"code":"from ipython_genutils.version import version_info\nfrom ipython_genutils.py3compat import PY3\nfrom ipython_genutils.path import get_ipython_dir\n\nprint(f\"ipython-genutils version: {'.'.join(map(str, version_info))}\")\nprint(f\"Running on Python 3: {PY3}\")\n\n# Note: This path utility is largely internal to IPython/Jupyter now.\n# For new projects, consider `jupyter_core.paths` or `pathlib`.\nipython_dir = get_ipython_dir()\nprint(f\"Detected IPython directory (if configured): {ipython_dir}\")\n","lang":"python","description":"This quickstart demonstrates importing and using a few common utilities from ipython-genutils, such as checking its version, verifying Python 3 compatibility, and retrieving the IPython directory path. It highlights that the library's functions are typically low-level or superseded."},"warnings":[{"fix":"New projects should avoid using `ipython-genutils` directly. Migrate to `pathlib`, `tempfile`, or `jupyter_core.paths` as appropriate for similar functionality.","message":"This library is considered vestigial and is no longer actively maintained. Its utilities have largely been superseded by modern Python standard library features (e.g., `pathlib`, `tempfile`) or integrated into other active projects (e.g., `jupyter_core.paths` for path utilities).","severity":"deprecated","affected_versions":"0.2.0 and prior"},{"fix":"Rely on standard library features or actively maintained third-party libraries for similar functionality to ensure long-term compatibility and security patches.","message":"Due to its lack of maintenance, `ipython-genutils` does not receive updates for new Python versions. While it currently works on recent Python 3, future Python versions may introduce incompatibilities that will not be addressed.","severity":"gotcha","affected_versions":"0.2.0 and prior, especially on Python 3.8+"},{"fix":"Review the source code of specific utilities before use to understand their purpose and limitations. Prefer higher-level abstractions or actively maintained libraries where available.","message":"The utilities within `ipython-genutils` were extracted from IPython's internal codebase and are generally low-level. They are not intended for direct end-user application development in most cases and may have unexpected edge cases or limited scope.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'0.2.0':8 '2':43 '2017':60 '3':45 'activ':53 'avoid':64 'collect':11 'compon':36 'consid':49 'depend':32 'deprec':71 'develop':54 'direct':65 'extract':22 'function':17 'generic':2 'genutil':6 'ipython':1,5,14,26,35,69 'ipython-genutil':4 'ipython-specif':13 'jupyt':72 'last':57 'longer':52 'main':25 'modul':19 'new':61 'older':34 'project':27,39,62 'python':42 'relat':38 'releas':58 'relianc':66 'serv':29 'specif':15 'transit':46 'util':3,16,70 'version':7 'vestigi':50","created_at":"2026-04-09T03:51:20.306789+00:00","updated_at":"2026-04-16T15:47:42.546989+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":0,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.2.0","cli_name":"","cli_version":null,"type":"library","homepage":"http://ipython.org","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/ipython-genutils/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":[],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-08-27","next_check":"2026-07-30","install_tag":"stale"}}