Skip to content
New issue

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

add version information for non python packages #21

Merged
merged 6 commits into from
Dec 29, 2022

Conversation

iamashwin99
Copy link
Contributor

This PR tries to fix the issue mentioned in #20.
The PR assumes that the non python package ( say octopus ) takes a parameter --version to return the version information, which is true for a good number of such packages.
The new usage for version_information would be :

%version_information pandas, postopus, !octopus
In [1]: %load_ext version_information

In [2]: %version_information pandas, postopus, !octopus
Out[2]: 
Software versions
Python 3.8.13 64bit [GCC 10.3.0]
IPython 8.4.0
OS Linux 5.19.0 0.deb11.2 amd64 x86_64 with glibc2.10
pandas 1.5.1
postopus 0.0.1.post1.dev986+gbc1e29c
octopus octopus 12.0 (git commit )
Thu Nov 10 13:58:06 2022 CET

@iamashwin99
Copy link
Contributor Author

Any thoughts @jrjohansson?

@jrjohansson
Copy link
Owner

Hi @iamashwin99, very sorry for the late reply. I'm not using GitHub frequently recently, so I just now noticed your message and PR. I think this looks great, thanks a lot for using this package and finding a solution for this. I'll merge this PR.

@jrjohansson jrjohansson merged commit c8eca4d into jrjohansson:master Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants