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

Uploaded Python 3

File details

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

File metadata

  • Download URL: session_info2-0.4.tar.gz
  • Upload date:
  • Size: 25.1 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.4.tar.gz
Algorithm Hash digest
SHA256 bb01bf7c320301d6cbcfad36b85cca7befe537ffd60269be38ae9e1a956f4aa4
MD5 782d9ec92bb4d2f0a3690e5edfcfdccf
BLAKE2b-256 f7f856469d9bd2cb09475cda54633660fbd2aa62f73079a1432835319f2b1a64

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: session_info2-0.4-py3-none-any.whl
  • Upload date:
  • Size: 17.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1c06604853acd43d8cdcc9e815efbdf5534d728234e8374dea1eef29496bb1df
MD5 53e04d44f271f7fd66e539606524ae90
BLAKE2b-256 447c64d18f2374e19ba9bee52dee885ec81f808a1863ed0995495b83319b88bc

See more details on using hashes here.

Provenance

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