Haxagon Grades CLI is a command-line tool designed to manage and generate reports for Haxagon classes. The tool allows you to fetch and export class reports in different formats.
Project description
Hexagon Grades
Haxagon Grades CLI is a command-line tool designed to manage and generate reports for Haxagon classes. The tool allows you to fetch and export class reports in different formats.
Features
- Generate class reports in CSV or JSON format.
- Specify output directory for the generated reports.
- Supports headless mode for automated environments.
Installation
Install the CLI using pipx to keep it isolated from your system Python packages:
pipx install haxagongrades
Make sure you have pipx installed. If not, you can install it via pip:
pip install pipx
pipx ensurepath
Usage
After installing, you can use the haxagongrades command to interact with the CLI.
Commands
report
Generate a report for a specific class.
haxagongrades report <class_name> [OPTIONS]
Options
-f, --format [csv|json](Required): Choose the output format.-o, --output PATH: The path to the output folder (default is/tmp).-l, --login TEXT: The username to login with.-p, --password TEXT: The password to login with.--headless: Run in headless mode (default isFalse).
Examples
Generate a report in CSV format for class 3.A and save it to the /reports directory:
haxagongrades report "3.A" --format csv --output /reports
Generate a JSON report for class 3.A using headless mode:
haxagongrades report "3.A" --format json --headless
Development
To contribute to this project, clone the repository and install the dependencies:
git clone https://github.com/yourusername/haxagon-grades-cli.git
cd haxagon-grades-cli
pip install -e .
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 haxagongrades-1.0.0a1.tar.gz.
File metadata
- Download URL: haxagongrades-1.0.0a1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-41-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
598b39eb098d711cf1a2b9a32d7018b300af0941f4b18a519cbaf337cb6c747b
|
|
| MD5 |
12e9686cae7d3cd4035a8014fc0800bf
|
|
| BLAKE2b-256 |
016bab8a7ca61cbe7746dddb35aafdc87e7957e6c190f731c1132c7e13850f65
|
File details
Details for the file haxagongrades-1.0.0a1-py3-none-any.whl.
File metadata
- Download URL: haxagongrades-1.0.0a1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-41-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d11b223a9ca6a205ea4659b2d1f08feb2b7557c4736e4d188d1719ecc2bcc4f9
|
|
| MD5 |
018047fdabd1d26f8669ebeab51c1eb0
|
|
| BLAKE2b-256 |
87fd674df13eaa5b140304c8ad21a7f0d40b48e89ade04aed124369d4e595a3b
|