Skip to content

NSLS-II-BMM/switch-pretty-printer

Repository files navigation

switch-pretty-printer

Generate a useful HTML page showing how switch ports are configured at an NSLS-II beamline

Requires:

  • openpyxl
  • MAC Vendor Lookup
  • datetime and json
from xlsx2html import Ports
m = Ports()
m.spreadsheet = '06BM port info.xlsx'
m.html = 'test.html'
m.read_spreadsheet()  # read data from spreadsheet
m.make_html()         # write data to an html file

Here's a link to an example

Here's a picture of an example:

example output

About

Generate a useful HTML page showing how switch ports are configured at an NSLS-II beamline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published