No project description provided
Project description
campus-cli
A command line utility to handle my files as a teacher.
Commands
strip-solutions
- Create a student version of a notebook in which the code cells containing the solutions are removed. A code cell will is identified as a solution if it contains the string
# Solution - Usage :
campus-cli ./notebooks/my-notebook.ipynbwill generate a student notebook file and save it under the name./notebooks/my-notebook-student.ipynb
strip-solutions -r
- Recursively apply
strip-solutionsto all notebooks within the folder passed as an argument. - Usage :
campus-cli -r ./my-folder/
strip-solutions --dry-run
- Usage :
campus-cli --dry-run ./notebooks/my-notebook.ipynbwill show you which file will be stripped from its solution.
check-links
- Extract all urls from the document and checks it is valid ( 200 <= http_status_code < 300 )
- Usage :
campus-cli check-links ./kit_apprenant.pdf
check-links -r
- Recursively extract all urls from documents within the folder passed as an argument. Will only check
.pdf,.doc,.doc,.docx,.mdand.ipynb. - Usage :
campus-cli check-links ./kit_apprenant.pdf
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
campus_cli-0.2.1.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file campus_cli-0.2.1.tar.gz.
File metadata
- Download URL: campus_cli-0.2.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.7 Linux/6.8.0-76060800daily20240311-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7b1ca0e8ca3fd7c89ec15fda6218932056c557a9b8777416f3dad04886393cd
|
|
| MD5 |
6fa5eab0cc17a776762ad4ee6746ed49
|
|
| BLAKE2b-256 |
8b4afc82c7c23253752c7e5081a205528bc8d838e3fea55c9208dfbd0338e194
|
File details
Details for the file campus_cli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: campus_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.7 Linux/6.8.0-76060800daily20240311-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
680f6831fd071bc5d202cc236372be436e2284733160554e39187891b9069868
|
|
| MD5 |
680d41c448fa29ebb0bb6a66433ae08f
|
|
| BLAKE2b-256 |
f6e38976de9900bfacae141abfd6be63d9fc6b6c8711553e7297d681cd5d85f8
|