print-versions 0.1.0

Last updated:

0 purchases

print-versions 0.1.0 Image
print-versions 0.1.0 Images
Add to Cart

Description:

printversions 0.1.0

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'}

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.