Package for listing versions of python packages used in a Jupyter notebook.
Project description
print_versions
Package for listing versions of python packages used in a Jupyter notebook.
Installation
pip install print-versions
Usage
Print versions in requirements.txt format:
from print_versions import print_versions
import numpy as np
from pandas import DataFrame
print_versions(globals())
# numpy==1.25.2
# pandas==1.5.3
Get versions as a dict:
from print_versions import get_versions
import numpy as np
from pandas import DataFrame
get_versions(globals())
# {'numpy': '1.25.2', 'pandas': '1.5.3'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
print_versions-0.1.0.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file print_versions-0.1.0.tar.gz.
File metadata
- Download URL: print_versions-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59dc38572a704e6021642949ff40e82c5ee8d2946db49aaac29f989f7ebcdd8e
|
|
| MD5 |
9cd48551c8ca435f66eb44b45f5cdff9
|
|
| BLAKE2b-256 |
fe8934227a478827d4247aa1d437257e52ccd7cec9481efb6ebf278fd162254f
|
File details
Details for the file print_versions-0.1.0-py3-none-any.whl.
File metadata
- Download URL: print_versions-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fee2ea67b985c8ec4ce2cb2ebb49e0cc4646295c5d07e8dc9742a36e2ba189d
|
|
| MD5 |
df5a282a1af7ba4b3d317a7cf40a91c5
|
|
| BLAKE2b-256 |
31169ef02f154b5a4baf674a1014396f3420571207d17388267e62f188f0ef29
|