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.3.tar.gz (24.7 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.3-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for session_info2-0.3.tar.gz
Algorithm Hash digest
SHA256 70500cf970d4eca3bc9e1e14a849a31a5bb626637d8e801d95ca51296c876100
MD5 3c3a868ab33ff20609889745433385ae
BLAKE2b-256 151069ce3918322efdef80decd989f983532306ad10e5c66c42c70dfdd564ab8

See more details on using hashes here.

Provenance

The following attestation bundles were made for session_info2-0.3.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.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for session_info2-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95cbacef200cd7ff84e6010fdc957007c8692bd9517dc57e91ad2c8831e87d61
MD5 15fda16a312f4dace60065708f8c4f95
BLAKE2b-256 366a04e51cb67eba95e0fc74b6d370ddf76cde8bcc4191398d43d30a339a9e44

See more details on using hashes here.

Provenance

The following attestation bundles were made for session_info2-0.3-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