TA Tooling
Various tools for teaching assistant who is working with Blackboard, a learning management system.
Installation
python -m pip install ta-tooling
Usage
Get list of students in the class
To get list of students in the class, run
ta-tooling get-student-list
The program will ask for course id, username, and password. It will login with the username password you provided
and produce a CSV file of students in the course. The course id can be the actual course id or a URL to your course.
The CSV file will have the following header.
emailHandle,firstName,lastName,userId,courseMembershipId
Group submission files
To group the submission files by email handle. Download and extract the ZIP file into a directory (call source-dir in the example).
ta-tooling categorize source-dir dest-dir
In version 0.3.x the support for categorizing directly from a ZIP file is added.
Download file submitted for a question in a quiz
Note: Currently, only Firefox is supported, and webdriver is needed.
To download file submitted as an answer to a question in a quiz, first get the links by injecting the extraction code. To get the extraction code (and start the server for the code to call back to).
ta-tooling serve-inject
and follow instruction show on the web page. Obtain the user list if have not done already.
ta-tooling get-student-list
Use the student list and the download links to download the files.
ta-tooling download-links users.json files.json
Some files will not be automatically downloaded, in that case, you need to confirm the download manually (within certain time limit; otherwise, you will miss the window of file moving).
TODO
- The
Accept-Originthat the submission download for a question in a quiz is relying on is expected to be tighten. The plan is to switch to the correct iframe, and execute javascript directly through selenium. - (serve-inject) The script injected to the page will get
Release files for ta-tooling 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ta-tooling-0.3.3.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ta_tooling-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.2 kB
Release files / ta-tooling-0.3.3.tar.gz
| Download URL | ta-tooling-0.3.3.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46cb2e4b669c9ce3e60ef9a46b74e4577998ecd866bfb0e84534b6766f018002
|
|
BLAKE2b-256 checksum How to use checksums |
a99faab69f51ac77bb8322b4128d0e2204639efbc6188a0f05383fee82634bd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / ta_tooling-0.3.3-py3-none-any.whl
| Download URL | ta_tooling-0.3.3-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8d50fe70441efe477ed7118072db5f631caa7784d3d0e84517e64d5071c0578
|
|
BLAKE2b-256 checksum How to use checksums |
f5e5fcb9c14dfa7610410004325460c2aefae69836ec47bea424dd2cdd6520fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|