Skip to main content

ghc-utils

utilities for interacting with github classroom

Installation

pip install ghc-utils

Usage

grades

First, create a file named students.txt containing each student's github id, one per line.

To download all grades for an assignment named assignment-01 from an organization name myorg and save it to grades.csv:

ghc-utils grades -u <your_githubid> -t <your_github_token> -o <myorg> -a assignment-01 -s students.txt -g grades.csv

ghc-utils grades --help
Usage: ghc-utils grades [OPTIONS]

  Download all grades for an assignment.

Options:
  -u, --username TEXT           your github username  [required]
  -t, --token TEXT              your github personal access token
                                (https://docs.github.com/en/free-pro-
                                team@latest/github/authenticating-to-
                                github/creating-a-personal-access-token)
                                [required]
  -o, --organization TEXT       github organization name, e.g., tulane-
                                cmps2200  [required]
  -a, --assignment-prefix TEXT  assignment name prefix, e.g., assignment-01
                                [required]
  -s, --student-file PATH       text file with one student github id per line
                                [required]
  -g, --grade-file PATH         output csv file  [required]
  --help                        Show this message and exit.

Note that passwords are deprecated, so you'll have to create a Personal Access Token; only read access is required.

History

0.1.1 (2020-09-03)

  • First release on PyPI.

0.1.2 (2020-09-20)

  • Change password to personal access tokens.

Metadata

Release files for ghc-utils 0.1.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 ghc-utils 0.1.2
File Size Uploaded Provenance
ghc_utils-0.1.2.tar.gz 4.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ghc-utils 0.1.2
File Interpreter ABI Platform
ghc_utils-0.1.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.7 kB

Release files / ghc_utils-0.1.2.tar.gz

Download URL ghc_utils-0.1.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1a968a5073042c560161d4a0fe36591e7bab7a7598fa59b6010fd3812d69f22f
BLAKE2b-256 checksum
How to use checksums
ee62e5832665199d55adde73be8a56eda49eaa755b086cb399097220887eaa60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3

Release files / ghc_utils-0.1.2-py2.py3-none-any.whl

Download URL ghc_utils-0.1.2-py2.py3-none-any.whl
Size 4.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
89a92d27185c0a908e31b171b1de16b45d282f15b6b352a3ea2f90f489c16e55
BLAKE2b-256 checksum
How to use checksums
004791bc6f6bb34d3c238bb94670af3c62c7bb3b4803d208a12ab8b11fe4b9a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3

Security for ghc-utils 0.1.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.

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