Closed phillipdwright closed 6 years ago
I'd be interested in helping with this, if you're open to outside contributions.
Is there any interest in this? I would like to use this API wrapper from within a project written to target Python 3.6.
Thank you for your contribution @phillipdwright ! I have approved your pull request!
I am having issues to run it on python3. I understand the issue is still open?
Traceback (most recent call last):
File "/usr/local/bin/openVulnQuery", line 11, in
@isidrov Did you install using pip? It looks like the version of this package on PyPI does not have the latest changes (note it was uploaded May 2017). You may need to download it directly from GitHub to use it with Python 3.
Does openVulnAPI work with Python 3.6.5? I haven't been able to get the module to load properly using pip.
@waukeerules If you just do pip install openVulnQuery
, you'll be installing from PyPI, which looks to be an old version before Python 3 compatibility was established. You could download the latest code directly from GitHub and install it as downloaded, if you needed Python 3 compatibility.
Thank you @phillipdwright. I was able to get the latest code installed by running python setup.py install
. I did this yesterday, but I didn't think it worked because the documentation I was following was outdated or misleading.
query_client = query_client.QueryClient(client_id="", client_secret="")
query_client = query_client.OpenVulnQueryClient(client_id="", client_secret="")
Thank you @waukeerules ! I just updated the query_client documentation in the README via https://github.com/CiscoPSIRT/openVulnAPI/commit/46b162de70183550572235db80f701b318fafcb2
This is a request for Python 3 support for this tool. There are a few incompatibilities, but they seem fairly minor.