Git Product home page Git Product logo

ramvt3test's Introduction

License Usage Dashboard

Overview

This Flask application provides a dashboard for managing and viewing software license usage. It includes features to display data about license utilization per feature and daemon, enabling users to see total licenses, licenses in use, and licenses utilized by individual users.

Features

  • Web Interface: A user-friendly web interface to view and filter license usage data dynamically.
  • Database Interaction: Utilizes SQLAlchemy for ORM-based interactions with a MySQL database, ensuring efficient data handling.
  • Data Visualization: Displays data in a tabular format that can be filtered based on user inputs.
  • Dynamic Data Loading: Supports loading data dynamically based on user interactions without the need to reload the page.

Installation

Follow these steps to set up and run the application locally:

Prerequisites

  • Python 3.6+
  • Flask
  • Flask-SQLAlchemy
  • Pandas
  • MySQL Database

Setup

  1. Clone the repository:

    git clone https://github.com/ia-usgs/ramvt3test.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Configure the database connection:

    • Modify the SQLALCHEMY_DATABASE_URI in your application to point to your MySQL instance.
  4. Initialize the database:

    • Ensure your MySQL server is running and the database schema is set up.
  5. Run the application:

    python app.py

Usage

Once the application is running, navigate to http://localhost:8080 to access the dashboard. You can interact with the data through the provided web interface.

API Endpoints

  • GET /table_data/ramt_license_usage: Fetches all license usage data.
  • POST /: Allows uploading and processing CSV data files to view data in the dashboard.

Contributing

Contributions are welcome! Feel free to open pull requests with new features, fixes, or improvements.

License

Distributed under the Apache License 2.0. See LICENSE for more information.

ramvt3test's People

Contributors

ia-usgs avatar

Watchers

 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.