censys / censys-python

An easy-to-use and lightweight API wrapper for Censys APIs.
https://censys-python.rtfd.io/
Apache License 2.0
395 stars 89 forks source link

Upload latest 0.0.4 version to PyPI #5

Closed sbgoodm closed 8 years ago

sbgoodm commented 8 years ago

Hi, Looks like the package on PyPI for 0.0.4 (https://pypi.python.org/pypi/censys) was uploaded on 2015-11-26, but there are a number of new commits for 0.0.4 in this repo look to resolve some install issues. Would you update the package on PyPI to the current HEAD?

Here's the stack I received when installing via pip:

root@vagrant-ubuntu-trusty-64:~# pip3 install censys==0.0.4
Downloading/unpacking censys==0.0.4
  Downloading censys-0.0.4.tar.gz
  Running setup.py (path:/tmp/pip_build_root/censys/setup.py) egg_info for package censys

Requirement already satisfied (use --upgrade to upgrade): requests in /usr/local/lib/python3.4/dist-packages (from censys==0.0.4)
Downloading/unpacking netaddr (from censys==0.0.4)
  Downloading netaddr-0.7.18-py2.py3-none-any.whl (1.5MB): 1.5MB downloaded
Installing collected packages: censys, netaddr
  Running setup.py install for censys

    Installing censys script to /usr/local/bin
      File "/usr/local/lib/python3.4/dist-packages/censys/ipv4.py", line 41
        print json.dumps(self._api.view("84.206.102.184"))
                 ^
    SyntaxError: invalid syntax

      File "/usr/local/lib/python3.4/dist-packages/censys/websites.py", line 32
        print self._api.view("google.com")
                 ^
    SyntaxError: invalid syntax

      File "/usr/local/lib/python3.4/dist-packages/censys/admin/maxmind.py", line 73
        print rec
                ^
    SyntaxError: Missing parentheses in call to 'print'

      File "/usr/local/lib/python3.4/dist-packages/censys/query.py", line 53
        print self._api.get_series()
                 ^
    SyntaxError: invalid syntax

      File "/usr/local/lib/python3.4/dist-packages/censys/export.py", line 47
        print j
              ^
    SyntaxError: Missing parentheses in call to 'print'

Successfully installed censys netaddr
Cleaning up...
zakird commented 8 years ago

I just uploaded censys-0.0.5, which is current master.

sbgoodm commented 8 years ago

Thanks! I'll check it out now.