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
Metadata
Release files for campus-cli 0.2.2
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 |
|---|---|---|---|---|
| campus_cli-0.2.2.tar.gz | 3.0 kB | Without provenance | Details for campus_cli-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| campus_cli-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for campus_cli-0.2.2-py3-none-any.whl |
Total release size: 6.8 kB
Release files / campus_cli-0.2.2.tar.gz
| Download URL | campus_cli-0.2.2.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a77d972fe886c3c784aea72480f309f2db079e55520b71f2b73a32cc44d4b887
|
|
BLAKE2b-256 checksum How to use checksums |
bb6a834ca4a38540b425169cdf92c15e0dc82e5fcc22c4a96ab092111eea02ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.7 Linux/6.8.0-76060800daily20240311-generic
|
Release files / campus_cli-0.2.2-py3-none-any.whl
| Download URL | campus_cli-0.2.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0acc44773c5b81b329d4c9e60e072a5b6bf866aa3a62bc1a1f5d76c0c7b3d7de
|
|
BLAKE2b-256 checksum How to use checksums |
b85ff361c0729cce5af36f4a6febb058acb6f5db845d529b9d6c0961ce40aaca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.7 Linux/6.8.0-76060800daily20240311-generic
|
Security for campus-cli 0.2.2
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.