Giter Club home page Giter Club logo

attendees-analyzer's Introduction

Attendees-analyzer (atta) is a command line tool for you to generate a basic report of attendees, e.g. a pie chart of fields according to job titles. Currently it only supports a csv file as raw data input.

Installation

Fetch The Source

Fetch the source

git clone https://github.com/tai271828/attendees-analyzer.git

Create a working folder to place your attendee raw data outside of the source folder so you won't commit your raw data accidentally.

mkdir attendees-analyzer-working

Create Your Own Python Virtual Environment

  • Create the working virtual environment with virtualenv

    virtualenv -p python3 ./attendees-analyzer/venv

    Activate your virtual environment by

    source ./attendees-analyzer/venv/bin/activate

  • Or create and activate with conda
    conda create -n {your_env_name} python=3.6 anaconda
    source activate {your_env_name}

Install The Prerequisite Modules

  • Go the source folder

    pip install -r requirements.txt

  • Or install with conda

    conda install --yes --file requirements.txt

Install Attendees Analyzer

If you want to develop it, please run:

python setup.py develop

If you just want to install it in your virtual environment lib, please run:

python setup.py install

Now you should be ready to go.

Test The Installation

Go to the test folder and execute the unit tests.

python -m unittest discover -s ./ -p 'test_*.py

Or you could just run one of them by

cd test
./test_title.py

If you get something like this, it means everything should work as expected.

.
----------------------------------------------------------------------
Ran 1 test in 0.014s

OK

Example

After launching your virtual environment, issue the following command:

atta --csv ./a.csv --csv ./b.csv --csv ./c.csv
--yaml ./atta/data/generic.yaml
--package-yaml ./examples/packages.yaml
--sponsor-yaml ./examples/sponsors.yaml

Follow the prompt instruction and you will get jpg images. So far it is well tested with the data of year 2017.

attendees-analyzer's People

Contributors

gtbcoding avatar stanlisu avatar tai271828 avatar ycmove avatar yingchen-lee avatar zztin 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.