Skip to main content

Create PDF Graphs from Google Sheets Data

Project description

QETool_pip

Questions:

email: kpostlet@redhat.com

TODO:

  • Update example text file
  • Finish README
  • Installation with scl enable rh-python34 bash
  • Add check to make sure user is running Python 3.X

About

Along with the website netqe-infra01.knqe.lab.eng.bos.redhat.com:8009 this tool was made to view network test data for the Red Hat Network QE team. It uses matplotlib in order to create the graphs which are present in the output PDF. Uses website API calls to access and write to the mongodb.

This tool will create two new commands:

  • fileMaker [-o (<output file name>]
    • -o   --output   [default: out.txt]
  • graphGen -f <input file name>

Installation

This tool requires Python version 3.X

  1. First install tkinter on your system

    $ sudo yum install install (python34-tkinter|python36-tkinter)
    

    or

    $ sudo apt-get install python3-tk
    
  2. If you are using a virtualenv use the flag --system-site-packages so that system wide packages are available to the virtual environment.

  3. Finally:

    $ (pip|pip3) install qeGraphMaker
    

Input text file

The input text for the graph generator is a well structured file as defined in the example file.

Input file generator

For a user friendly process when creating the input file use the fileMaker command. This will walk you through the process of creating a file that can the be passed into graphGen. Use to autocomplete options. When inputting cards and labels, at least one option is required; no input is required for flags.

The graph generator

Once you have a text file that is of the correct form. You can run graphGen -f <file-name>. This will give you a PDF booklet as defined by the first line of the input file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qeGraphMaker-1.0.4.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

qeGraphMaker-1.0.4-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page