Skip to main content

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 files for cloudmesh-piazza 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloudmesh-piazza 0.0.7
File Size Uploaded
cloudmesh-piazza-0.0.7.tar.gz 4.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for cloudmesh-piazza 0.0.7
File Interpreter ABI Platform
cloudmesh_piazza-0.0.7-py2-none-any.whl Python 2 none any Details
cloudmesh-piazza-0.0.7.macosx-10.6-intel.tar.gz Details

Total release size: 19.2 kB

Release files / cloudmesh-piazza-0.0.7.tar.gz

Download URL cloudmesh-piazza-0.0.7.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ccdc21b97a7cc060c2f07f42af7813903b44a9bd937c633698ec11928dc6460f
BLAKE2b-256 checksum
How to use checksums
80d929167dc8c60f50a0d31f0f253be490324967cbbffe87bc5ccb4063634ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cloudmesh_piazza-0.0.7-py2-none-any.whl

Download URL cloudmesh_piazza-0.0.7-py2-none-any.whl
Size 7.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5db67a7fb8a7004983a35a0dc552a546043f816e0de048e8143832c2424188d6
BLAKE2b-256 checksum
How to use checksums
a2a9991c4f5c8a3595f9e49185b8776cf634a736c99a27a3422b15c1656d989f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cloudmesh-piazza-0.0.7.macosx-10.6-intel.tar.gz

Download URL cloudmesh-piazza-0.0.7.macosx-10.6-intel.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
790c4b5bf6e4c622a4c859b2ede3717635ba7ce4d55c27aed7d6b6b336fc5470
BLAKE2b-256 checksum
How to use checksums
a9e482633eff4014163a7dec85656a39911fd6f467b92c84dae2215b1b161f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.7 This release

3 release files

0.0.6

3 release files

0.0.5

3 release files

0.0.4

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page