Python package with convenience functions for accessing the PhotosynQ website API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

PhotosynQ | Python

Build Status

Truly Collaborative Plant Research

PhotosynQ helps you to make your plant research more efficient. For advanced analysis, this package allows you to pull data right into Python.

New python users should consider installing Anaconda which includes both the python interpreter and the Jupyter python editor.

For advanced users, we recommend using Spyder to edit and run python code.


Install using pip in the terminal.

pip install git+ --upgrade --no-cache-dir

Getting started

Standard usage

Retrieve project data and meta-data in a convenient DataFrame

import photosynq_py as ps

# use your photosynq account to login (you will be prompted for your password)
email = ""

# retrieve a dataframe with data from the given project ID
projectId = 1556
df = ps.get_project_dataframe(projectId)

# logout

Other Functions

Advanced users can retrieve project data and meta-data/info separately, as json strings.

getProjectInfo, getProjectData and buildProjectDataFrame (below) are components of getProjectDataFrame (above)

ps.login( "" )
projectId = 1556
info = ps.get_project_info(projectId)
data = ps.get_project_data(projectId, processed_data=False) # Use raw data
df = ps.build_project_dataframe(info, data)