Skip to main content

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 files for py-lookingglass 1.01

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-lookingglass 1.01
File Size Uploaded
py-lookingglass-1.01.tar.gz 6.4 kB Details

Release files / py-lookingglass-1.01.tar.gz

Download URL py-lookingglass-1.01.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7bd05964d5179c36c74c1edf83f05b0c7789b2a756d92efca06950a1025dc3ca
BLAKE2b-256 checksum
How to use checksums
5fc9fc58571420eb3257d0fd93f195e7c7c27fa7f7268b546b95745caec35174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.01 This release

1 release file

1.0

1 release file

0.56

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page