Giter Club home page Giter Club logo

python-hwinfo's People

Contributors

hemna avatar rdobson avatar srgblnch avatar vivekkumac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-hwinfo's Issues

python3 not supported

build successfully with python2.7
progress bellow:

pip3 install setuptools
cp -R /usr/local/lib/python3.6/site-packages/setuptools* /usr/lib/python2.7/site-packages/
python setup.py install
cp dist/python_hwinfo* /usr/lib/python2.7/site-packages/
echo "main()" >> ./hwinfo/tools/tests/test_inspector.py
sudo mv inspector.py /usr/bin/hwinfo
chmod 777 /usr/bin/hwinfo

Adding support for ssh private key file to fetch remote host hardware information

The current approach of fetching hardware info for remote host only uses password authentication mode in paramiko client. In addition to that, supporting the usage of ssh private key to login remote host to fetch info would be more ideal in the case of cloud bases instances.

It can be achieved through the following ways:

  1. add another option [-k KEYFILE] to get the private key file as separate input
  2. Adding a conditional logic to distinguish the input for password ** @(it should be either password or private key file with absolute path)** and call the client method with appropriate keyword arguments.

This is a good to have feature would help lot to DevOps people.

@rdobson Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.