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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file py-lookingglass-1.01.tar.gz
.
File metadata
- Download URL: py-lookingglass-1.01.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd05964d5179c36c74c1edf83f05b0c7789b2a756d92efca06950a1025dc3ca |
|
MD5 | f2744fcbae59cdd7e0f7eb2b3a430e73 |
|
BLAKE2b-256 | 5fc9fc58571420eb3257d0fd93f195e7c7c27fa7f7268b546b95745caec35174 |