https://github.com/gersteinlab/peoplepage
https://github.com/gersteinlab/peoplepage
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gersteinlab/peoplepage
- Owner: gersteinlab
- Created: 2021-10-06T18:28:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-10T15:31:58.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T12:07:45.790Z (4 months ago)
- Language: HTML
- Size: 183 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# www.gersteinlab.org/people/
GitHub repository for people page scripts
For more information, please visit lab [private wiki](http://wiki.gersteinlab.org/labinfo/People_Page)## Requirement
#### for google sheet interaction
- google-api-python-client
- google-auth-httplib2
- google-auth-oauthlib
#### for data process
- numpy
- pandas## Directories
All files are hold on www.gersteinlab.org server
/Folder-In-This-Repo -> /Actual/Location/In/Server
* /cgi-bin -> /var/www/cgi-bin/people/
* /www -> /var/www/www/people/Credential and main gsheet are replaced by placeholder in this repo.
## Update
To manually rebuild, simply run `http://www.gersteinlab.org/cgi-bin/people/main.py`
## Files explained
* `main.py`: run all the following files
* `gsheet_download.py`: download the master Google spreadsheet as a CSV file
* `people_page_curr.py`: index page
* `people_page_curr_info.py`: curr_info.html page
* `people_page_alum.py`: alumni.html page
* `people_page_google_contact.py`: generate the two Google contact compatible csv files (could be found in wiki)
* `people_page_initials.py`: initial.html page
* `func.py`: helper functions for printing the html template