We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New function .show_env() will show the environement, including covsirphy version, its dependencies' version, Python version, platform information.
.show_env()
covsirphy
Inspilation: pandas.show_versions()
pandas.show_versions()
CovsirPhy version I used: 2.27.0
The text was updated successfully, but these errors were encountered:
Show currently install versions of target library and its dependencies:
from importlib.metadata import distribution, requires from pprint import pprint target = "covsirphy" dependencies = [target] + [r[:r.find(" (")] for r in requires(target)] versions = [distribution(dep).version for dep in dependencies] pprint({k: v for (k, v) in zip(dependencies, versions)}, sort_dicts=False)
Sorry, something went wrong.
Python version and OS:
import platform platform.python_version() platform.platform()
After completion, this method will be explained in YAML issue templates. #1232
No branches or pull requests
Summary of this new feature
New function
.show_env()
will show the environement, includingcovsirphy
version, its dependencies' version, Python version, platform information.Inspilation:
pandas.show_versions()
CovsirPhy version I used: 2.27.0
The text was updated successfully, but these errors were encountered: