Skip to main content

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.ipynb will generate a student notebook file and save it under the name ./notebooks/my-notebook-student.ipynb

strip-solutions -r

  • Recursively apply strip-solutions to 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.ipynb will 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, .md and .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)

Source distribution for campus-cli 0.2.2
File Size Uploaded
campus_cli-0.2.2.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for campus-cli 0.2.2
File Interpreter ABI Platform
campus_cli-0.2.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page