Skip to main content

Print versions of imported packages.

Project description

session-info2

PyPI - Version PyPI - Python Version Docs

Installation

pip install session-info2

Usage

See https://session-info2.readthedocs.io/ In short:

Use the session-info CLI program (see session-info -h) or use it programmatically:

Import whayever your script/notebook relies on, as well as session_info.

>>> httpx
>>> from session_info2 import session_info

Some usage examples (see links above for more). Minimal output:

>>> session_info(os=False)
httpx	0.28.1
----	----
Python	3.12.5 (main, Aug  6 2024, 19:08:49) [Clang 16.0.6 ]
Updated	2024-12-20 14:22

With indirect dependencies:

>>> session_info(dependencies=True)
httpx	0.28.1
----	----
anyio	4.7.0
h11	0.14.0
sniffio	1.3.1
session-info2	0.1.2
certifi	2024.12.14
httpcore	1.0.7
appdirs	1.4.4
----	----
Python	3.12.5 (main, Aug  6 2024, 19:08:49) [Clang 16.0.6 ]
OS	macOS-15.1.1-arm64-arm-64bit
Updated	2024-12-20 14:24

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

session_info2-0.4.1.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

session_info2-0.4.1-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file session_info2-0.4.1.tar.gz.

File metadata

  • Download URL: session_info2-0.4.1.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for session_info2-0.4.1.tar.gz
Algorithm Hash digest
SHA256 3bb2bf7b73b2e13a1737e9aa91a6dae55e2c49e83bee973f24245f31ae264a1f
MD5 e9cd3953855f4710c08ed81a46bdfe3d
BLAKE2b-256 5017c6a81d91781734bd10d7842c32de665f34395b4db234abdc80dac271632b

See more details on using hashes here.

Provenance

The following attestation bundles were made for session_info2-0.4.1.tar.gz:

Publisher: publish.yml on scverse/session-info2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file session_info2-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: session_info2-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for session_info2-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 423b3f6bb7023433cfc3f791a6fdbb6a2cfbe226770ae6c127c3b2c4cf5a9d56
MD5 781b4243169b16becb33b58f8c6fda26
BLAKE2b-256 5ed76893c9c2a52e4bcbeca2a2bf2aee970a686cc7bf555f97db13b00f35250e

See more details on using hashes here.

Provenance

The following attestation bundles were made for session_info2-0.4.1-py3-none-any.whl:

Publisher: publish.yml on scverse/session-info2

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page