Giter Site home page Giter Site logo

seatviewer's Introduction

SeatViewer

An application for reading and analyzing .csv files representing data from the RIT seat experiment


Usage

The file used with the program must match the expected format. If you don't have such a file, you may use generator.py to generate one (specify the output path of the random file as the first and only argument).

Include the path to the csv file as the first argument to the program. All other arguments are optional. Anything required to produce the graph will be asked in an interactive prompt. You can also use the -h flag to see the available command line options.

Running from source

Requirements:

  • Python 3
  • Tested on Debian Ubuntu and Windows 10

Setup:

  • Clone the repository
  • Install the required packages
    • pip3 install -r requirements.txt

You may run the program using Python or build it to a standalone executable.

To run with Python:

  • python3 main.py /path/to/file.csv

Or, to see command line options:

  • python3 main.py -h

You may also use PyInstaller to build the program to an executable. Note the following:

  • PyInstaller cannot cross-compile; it must be compiled for the same platform as the one it is running on
  • You must include the hidden import PIL._tkinter_finder or matplotlib will not work correctly
  • On Windows, your Python3 Scripts folder must be set correctly in your environment variables

Use this command to compile:

  • pyinstaller main.py --hidden-import='PIL._tkinter_finder' --onefile

This will generate the binary in the dist folder. Please do not commit this folder.

seatviewer's People

Contributors

mje10 avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

iamprakhargupta

seatviewer's Issues

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.