Skip to main content
Help us improve Python packaging – donate today!

Command line client for Piazza

Project Description

Piazza provides a free Q&A platform that is often used in class settings. It is superior to other systems, but has at this time one major flaw. There is no official mechanism to access piazza through python or an API. Thus we have started a small project that simplifies access for us.

This is a prototype and needs many improvements. If you like to work with us let us know your improvements via pull requests and we add them. At present this is hosted at gitlab, but we may move soon to github.

Setup from Development

git clone git@gitlab.com:cloudmesh/piazza.git

or

git clone https://gitlab.com/cloudmesh/piazza.git

Then

cd piazza python setup.py install piazza

Setup

Place a .piazza file in the directory where you like to do that piazza analysis. It is a yaml file of the following format

piazza:
email: <PUT YOUR EMAIL YOU USE IN PIAZZA HERE> password: <PUT YOUR PASSWORD THAT YOU USE IN PIAZZA HERE> id: <PUT THE ID OF THE PIAZZA PROJECT HERE, NOT YET SUPPORTD CHANGE FOR NOW IN CODE>

Usage

Download all main post (not responses) from a folder where d1 is the folder name

piazza list d1

This will create a file called d1.json. Next print the post in html

piazza convert d1 –html

This will produce a file called d1.html. Next view it with your browser, on OSX you can say simply

open d1.html

TODO

Lots of things have to be done.

  • [ ] update the format to eiminate non ascii characters
  • [ ] replace user ids with names
  • [ ] add user management
  • [ ] consider using piazza_api
  • [ ] statistics for posts
  • [ ] integrate responses with flag
  • [ ] export to latex
  • [ ] implement find/search

Release history Release notifications

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

This version
History Node

0.0.4

History Node

0.0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cloudmesh-piazza-0.0.4.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Sep 12, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page