Skip to main content

Python looking glass WSGI implementation

Project description

Python looking glass wsgi implementation

Requires:

Python 2.6+

Standard python modules:

  • telnetlib
  • os
  • socket
  • cgi
  • wsgi_ref
  • traceback
  • random
  • argparse
  • json

External:

  • paramiko

Setup:

To run out of the box just clone the repo or install using pip install py-lookingglass or easy_install py-lookingglass, then:

# python -m lg -h

Or you can use it as WSGI callback

lg.lookingglass(name="Looking Glass", cmds={'profile':{'command_name','actual command'}}, hosts=[('password','ip',int(port),int(connection_type),'name','profile')])

Any additional hacks can be applied before init of class

Check help(lg.lookingglass) for more info

Should also install executable py-lookingglass

Release history Release notifications

This version
History Node

1.01

History Node

1.0

History Node

0.56

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
py-lookingglass-1.01.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None Sep 2, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page