Giter VIP home page Giter VIP logo

fabioragosta / lsst-tvssc.github.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lsst-tvssc/lsst-tvssc.github.io

0.0 0.0 0.0 97.72 MB

our science collaboration dedicated website https://lsst-tvssc.github.io/

License: Other

Shell 0.04% JavaScript 6.53% Python 0.24% PHP 67.86% TypeScript 0.11% CSS 1.30% Makefile 0.01% HTML 10.53% Jupyter Notebook 12.12% Cython 0.03% SCSS 1.23%

lsst-tvssc.github.io's Introduction

TVSaffiliations

These chunks of python code allow the user to collect emails of LSST TVS members based on affiliation. Two scripts are provided, one which uses the command line argument, and one which uses a gui, which ultimately is to be implemented on my website.

Change the value of tvsfile in conf.py to the correct GoogleDoc file link, which the TVS co-chairs Ashish and Federica can provide.

Without the GUI:

to obtain all contact info:

run as

python extractemailsW.py <subgroup>

this creates (overwrites if existing) 2 output files with the contact info: SubgroupNames_.dat which contains the Last-, First-Name, and email in a tsv file, and SubgroupEmails_.dat, which contains the emails only (for easier copy and paste in your email To field).

to see a list of the subgroups run as

python extractemailsW.py  -h

to just get the emails printed on standard output (i.e. dumped to your terminal - generally)

run as

python extractemails_nogui.py <subgroups>

to see a list of the subgroups run as

python extractemails_nogui.py  -h

GUI use:

run as

python extractemails.py

The GUI will ask you which affiliation you are interested in and a list of emails of member with that primary subgroup affiliation, and a list of emails of member with that secondary subgroup affiliation are printed.

Notice: depending on your python version and your system running the command may return an error related to screen access

This program needs access to the screen.
Please run with a Framework build of python, and only when you are
logged in on the main display of your Mac.

In this case use pythonw

pythonw exractemails.py

Required modules: for nogui version Pandas for gui version pandas, Gooey, wx

Additional code:

Visualizations

submitNewMember.py reads in the headerofa TVS applicationto submit the google form. OBSOLETE since now theform has a reCaptha anddoesnot allow robots anymore

mapTVS.ipny maps the TVS members. Download the LSST google doc to use as input

affiliations.html visualizes the connection between member subgroup applications

lsst-tvssc.github.io's People

Contributors

fedhere avatar bricmank avatar melissagraham avatar sjoertvv avatar markusrabus avatar fabioragosta avatar rickyegeland avatar xiaolng avatar kmhambleton avatar dependabot[bot] avatar rachel3834 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.