--- id: session-info version: "1.0.1" license: BSD-3 license_treatment: permissive maintenance: aging --- # session-info — session_info outputs version information for modules loaded in the current session, Python, and the OS. License: permissive · Maintenance: aging · Downloads: 278.1K/mo ## What it is and what it does session_info captures and displays version metadata for all modules loaded in your current Python session, along with Python version, OS, and CPU details. It's designed as a lightweight reproducibility aid for exploratory work, particularly in Jupyter notebooks, where it can be called once after imports to document the exact environment state. The package distinguishes between standard library and third-party modules by default and can optionally include transitive dependencies. It depends only on stdlib_list to identify which modules are built-in. The tool outputs a formatted report showing module versions grouped by category (user imports, dependencies, environment info) and can write results to a requirements.txt file. In Jupyter, output is collapsible to save screen space. It complements but does not replace more robust reproducibility practices like frozen virtual environments or containers. Use it for: - Document the exact module versions used in a Jupyter notebook before sharing with colleagues or revisiting later. - Generate a requirements.txt snapshot from the current session's loaded modules for quick environment replication. - Include session metadata in exploratory data analysis notebooks to support debugging and reproducibility audits. - Verify which versions of dependencies were actually imported during a script run, including transitive dependencies. - Create a minimal environment report for bug reports or documentation without manual version tracking. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Outputs version information for all modules loaded in the current session, Python, the OS, and CPU to support reproducibility in data analysis and notebook work. Yes, if you work in Jupyter notebooks or exploratory scripts and want a zero-effort way to log environment state for reproducibility. The single dependency and low friction make it a safe addition. However, the aging maintenance status (490 days since last release) means it's stable but not actively developed—suitable for a utility that does one thing well, but not a signal of active support if issues arise. ## Install pip install session-info uv add session-info poetry add session-info ## Installing session-info Before you install: Low install friction with a single dependency (stdlib_list). Maintenance status is aging—last release was 490 days ago—so expect slower response to issues, though the package remains stable for its narrow use case. License in practice: BSD-3 permissive license allows free use, modification, and distribution with minimal restrictions, making it safe to incorporate into any project. Quickstart: pip install session-info import session_info session_info.show() Verify before relying: - Whether the package is actively maintained or in maintenance-only mode given the 490-day gap since last release. - Compatibility with recent versions of Jupyter and IPython beyond what the description examples show. ## Package facts - License: BSD-3 (permissive) - Python support: supports_current - Install friction: low - Maintenance: aging - Downloads: 278.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags session version information, module version tracking, jupyter notebook reproducibility, python environment snapshot, dependency version reporting, session info output, reproducibility logging, reproducibility, jupyter, environment-tracking [View on SkillFed](https://skillfed.io/packages/session-info) · [View on PyPI](https://pypi.org/project/session-info/)