Code Monkey home page Code Monkey logo

networkmap-json's Introduction

Display Network Map's Node information using Python/Flask

A simple python script to display Network Map's nodes information in a web browser.

What does it do

It displays the content of JSON endpoint from Network Map: An example

Prerequisites

  • python 3

    plus python 3 packages:

    • flask
    • flask_table
    • configparser
    • json
    • os
    • requests

How to use

  • git clone https://github.com/przemolb/networkmap-json
  • cd networkmap-json
  • add nmapjson.ini file with definitions of endpoints in the following format:
[short_name_1]
url=https://URL1/network-map/json/node-infos
description=Full description of environment_1

[short_name_2]
url=https://URL2/network-map/json/node-infos
description=Full description of environment_2

  • run ./run.it
  • click one of the available environments at the top of web page

Notes

  • the nmapjson.ini file is being re-read every time you refresh a web page - no need to restart this application after adding new environments
  • it is supposed to be run locally on your workstation/laptop - Flask builtin web server is not recommended to run in production

networkmap-json's People

Contributors

przemolb avatar

Watchers

James Cloos avatar

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.