Aprender.unb.br
CLI interface to access the Moodle instance of the University of Brasilia (UnB). With a few modifications (or maybe even without any), it can be used to access other Moodle configurations.
Installation
Use pip or any standard Python tooling to install it:
$ pip install aprender
# or maybe you prefer uvx or pipx
$ uv tool install aprender
My prefered way is to install uv and create an alias in .bashrc (or the equivalent) for your shell:
alias aprender='uvx aprender'
Usage
Download the grades and/or submissions for an quiz in HTML. This is necessary because Moodle corrupts the output in other formats like CSV and JSON by striping whitespaces from essay submissions.
Save the HTML file in the current directory and run:
$ aprender load
This will create a few csv files in the current directory with the parsed data.
For more options, as usual, aprender --help flag is your friend.
Metadata
Release files for aprender 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aprender-0.1.0.tar.gz | 11.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aprender-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.8 kB
Release files / aprender-0.1.0.tar.gz
| Download URL | aprender-0.1.0.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
661b425a52fb7dc42e43983256191dd24a2be6ea8a44042c0f4a3948593f1dc8
|
|
BLAKE2b-256 checksum How to use checksums |
a4857cdcc51b557d14a2fb763756aa922314c4ca56c0a65a8a13af8fd8e6a121
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aprender-0.1.0-py3-none-any.whl
| Download URL | aprender-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c90de667d0cbf5e66731fbc2825c38354125cb984661eca30b008de89ce86726
|
|
BLAKE2b-256 checksum How to use checksums |
025d0989b6d7705dead5906908f263a6f61247dcf20319a6679ad7e2e90c2157
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|