Registry / ipython-genutils

ipython-genutils

JSON →
library0.2.0pypypi✓ verified 25d ago

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.

pip install ipython-genutils
INSTALL
IMPORT
SIG · IPYTHON-GENUTILS
I
ipython-genutils
pythonv0.2.0
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

version_info
from ipython_genutils import version_info
from ipython_genutils.version import version_info

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.

from ipython_genutils.version import version_info from ipython_genutils.py3compat import PY3 from ipython_genutils.path import get_ipython_dir print(f"ipython-genutils version: {'.'.join(map(str, version_info))}") print(f"Running on Python 3: {PY3}") # Note: This path utility is largely internal to IPython/Jupyter now. # For new projects, consider `jupyter_core.paths` or `pathlib`. ipython_dir = get_ipython_dir() print(f"Detected IPython directory (if configured): {ipython_dir}")
Debug
Known issues
deprecatedThis 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).
fix
New projects should avoid using `ipython-genutils` directly. Migrate to `pathlib`, `tempfile`, or `jupyter_core.paths` as appropriate for similar functionality.
affects: 0.2.0 and prior
gotchaDue 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.
fix
Rely on standard library features or actively maintained third-party libraries for similar functionality to ensure long-term compatibility and security patches.
affects: 0.2.0 and prior, especially on Python 3.8+
gotchaThe 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.
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.
affects: All versions
Upgrade
Version history
0.2.0latest on PyPI · released Mar 13, 2017
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
ipython-genutils — pip install ipython-genutils · libregistry