Python scripts to interact with the CakeCMS API.
Installation of the python module
Prerequisites (in both below cases)
The cakecms module has to be installed first.
From PyPi
pip install cakecmsutils
From source
Install the PyPI package build:
pip install build
Then (from the root of the repo):
pip install dist/*.whl
Example scripts
For obtaining the right values for HOST, TOKEN and COURSE refer to CakeCMS API.
Download course materials (examples/download_course_materials.py)
This script may be used to download course materials by category. The example script also shows how a negative filter may be used to skip some of the files. Note that ExtendedCakeCMS writes data to a hidden cache file in your PWD. This cache file makes sure that no files need to be redownloaded.
This script should probably be copied to a separate directory for each of your courses and then adjusted to match the categories. The category titles are the ones visible in the headers on the webpage.
Metadata
Release files for cakecmsutils 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cakecmsutils-0.0.1.tar.gz | 3.5 kB | Without provenance | Details for cakecmsutils-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cakecmsutils-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for cakecmsutils-0.0.1-py3-none-any.whl |
Total release size: 7.5 kB
Release files / cakecmsutils-0.0.1.tar.gz
| Download URL | cakecmsutils-0.0.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aaf6b878bdb4185a82837613828d8e3eb22ae839696bd2523fa9ebcab16d9cc2
|
|
BLAKE2b-256 checksum How to use checksums |
90b7121b18c1af62d3f7481cb19984b21cf4dbe4e3cb9f24f2bde7a437247065
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
|
Release files / cakecmsutils-0.0.1-py3-none-any.whl
| Download URL | cakecmsutils-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e28930ede92f67712390a1a6f1d58af6971918ca28dcbb907c85c7c8147ebd4c
|
|
BLAKE2b-256 checksum How to use checksums |
ee366bdef50eafb9dd1342f9a5dfa878df823838a8e429257952150f83f85b6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
|
Security for cakecmsutils 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.