$npx skillfedfor your agent

session-info2

Print versions of imported packages.

Worth itPyPI UtilitiesReleased Aug 20261.1M downloads / moMPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — session_info2-0.4.2-py3-none-any.whl
v0.4.2 · released 2026-08-04 · Python >=3.12

Yes. Low install friction, no dependencies, active maintenance, and no known vulnerabilities. The copyleft license (MPL-2.0) is permissive for use and modification. Useful for anyone working in notebooks or scripts who needs to track or document their environment state.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.12 or later.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Active maintenance with last commit 2026-08-11.

License · maintenance · safety

MPL-2.0 (copyleft) — Licensed under MPL-2.0 (copyleft). You may use and modify the package freely, but any modifications must be released under the same license if distributed.

last release 2026-08-04 (10 days) · last repo commit 2026-08-11 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,055,275 downloads/mo, #4,433 on PyPI

Verify before relying

pip install session-info2

from session_info2 import session_info

session_info()
  • Whether the CLI tool (`session-info` command) works identically to the programmatic API or has different output modes.
  • How the package handles packages installed in editable mode or from non-standard sources.
  • Performance characteristics when run on environments with hundreds of installed packages.
Same gist for agents: .md · .json

What it is and what it does

session-info2 is a utility for capturing and printing the versions of all packages imported in your Python environment. It works both as a command-line tool and as a library you can call from scripts or notebooks. The core use case is documenting your environment's dependency state for reproducibility—particularly useful in Jupyter notebooks where you want to record what versions were active when you ran an analysis.

The package has no runtime dependencies and works by introspecting the imported modules in your current session. You can call it with options to include or exclude OS info, list indirect dependencies, or format the output in different ways. It supports Python 3.12 and later, including PyPy, and is actively maintained.

Use it for

  • Document the exact package versions used in a Jupyter notebook for reproducibility and sharing.
  • Generate a dependency snapshot at the start of a script to include in logs or reports.
  • Verify that a specific package version is loaded in your current session before running code.
  • Compare environment states across different machines or CI/CD runs by capturing session info at key points.
  • Include environment metadata in bug reports or issue discussions to help others reproduce problems.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low install friction, no dependencies, active maintenance, and no known vulnerabilities. The copyleft license (MPL-2.0) is permissive for use and modification. Useful for anyone working in notebooks or scripts who needs to track or document their environment state.

Install

session-info2 on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Active maintenance with last commit 2026-08-11. Requires Python 3.12 or later.

Requires Python 3.12 or later.

License in practice

Licensed under MPL-2.0 (copyleft). You may use and modify the package freely, but any modifications must be released under the same license if distributed.

Quickstart

pip install session-info2

from session_info2 import session_info

session_info()

Verify before relying

  • Whether the CLI tool (`session-info` command) works identically to the programmatic API or has different output modes.
  • How the package handles packages installed in editable mode or from non-standard sources.
  • Performance characteristics when run on environments with hundreds of installed packages.

Package facts

LicenseMPL-2.0 copyleft
Python supportSupports the current Python release >=3.12
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 10 days since the last release
Last repo commit
First released
Downloads1,055,275 / month, #4,433 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTyping :: Typed

Evidence: session_info2-0.4.2-py3-none-any.whl

Tags

Capabilities
package version reportingsession info jupyterenvironment reproducibilitydependency version trackingpython package versionsnotebook environment snapshotinstalled package list
Topics
reproducibilityjupyter-friendlyenvironment-inspection
PyPI keywords
jupytersession-info

Let your AI agent find packages like this

Example. Real query, live index.

An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also session-info · ipynb · importnb · jupytext · scooby · ipynbname · nb-clean · mkdocs-jupyter · semantic-version · jupyter