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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file cloudmesh-piazza-0.0.7.tar.gz
.
File metadata
- Download URL: cloudmesh-piazza-0.0.7.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccdc21b97a7cc060c2f07f42af7813903b44a9bd937c633698ec11928dc6460f |
|
MD5 | 8b117fa7d490763ab508e889e943df0a |
|
BLAKE2b-256 | 80d929167dc8c60f50a0d31f0f253be490324967cbbffe87bc5ccb4063634ae0 |
File details
Details for the file cloudmesh_piazza-0.0.7-py2-none-any.whl
.
File metadata
- Download URL: cloudmesh_piazza-0.0.7-py2-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db67a7fb8a7004983a35a0dc552a546043f816e0de048e8143832c2424188d6 |
|
MD5 | b339b7176baea864a9314a3a76aa26fd |
|
BLAKE2b-256 | a2a9991c4f5c8a3595f9e49185b8776cf634a736c99a27a3422b15c1656d989f |
File details
Details for the file cloudmesh-piazza-0.0.7.macosx-10.6-intel.tar.gz
.
File metadata
- Download URL: cloudmesh-piazza-0.0.7.macosx-10.6-intel.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 790c4b5bf6e4c622a4c859b2ede3717635ba7ce4d55c27aed7d6b6b336fc5470 |
|
MD5 | 6df6ac6b34801cf1a2a2323421a70949 |
|
BLAKE2b-256 | a9e482633eff4014163a7dec85656a39911fd6f467b92c84dae2215b1b161f29 |