Submit your work to JOJ via cli.
Project description
JOJ-Submitter
Getting Started
Setup venv (Optional)
python3 -m venv env
source env/Scripts/activate
Install
pip install joj-submitter
joj-submit --help
Usage
Usage: joj-submit [OPTIONS] PROBLEM_URL COMPRESSED_FILE_PATH
LANG:[c|cc|llvm-c|llvm-cc|cmake|make|ocaml|matlab|cs|pas|jav
a|py|py3|octave|php|rs|hs|js|go|rb|other] [SID]
Arguments:
PROBLEM_URL [required]
COMPRESSED_FILE_PATH [required]
LANG:[c|cc|llvm-c|llvm-cc|cmake|make|ocaml|matlab|cs|pas|java|py|py3|octave|php|rs|hs|js|go|rb|other]
other: other | c: C | cc: C++ | llvm-c: C
(Clang, with memory check) | llvm-cc: C++
(Clang++, with memory check) | cmake: CMake
| make: GNU Make | ocaml: OCaml | matlab:
MATLAB | cs: C# | pas: Pascal | java: Java |
py: Python | py3: Python 3 | octave: Octave
| php: PHP | rs: Rust | hs: Haskell | js:
JavaScript | go: Go | rb: Ruby [required]
[SID] [env var: JOJ_SID;default: ]
Options:
-w, --wait Wait to get the result of submission. [default: False]
--help Show this message and exit.
Example
export JOJ_SID=74cd5a48c680fc3616092a12d242aa3dac3780dd1f0ac709740fd5355ed8281c
joj-submit https://joj.sjtu.edu.cn/d/vg101_fall_2020_manuel/homework/5fb1f1379fedcc0006622a06/5fb1ee8b9fedcc00066229d9 ans.zip cc
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
joj-submitter-0.0.1.tar.gz
(7.3 kB
view details)
File details
Details for the file joj-submitter-0.0.1.tar.gz
.
File metadata
- Download URL: joj-submitter-0.0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8f6295064958ad039251d5e2749dfaf7566a5ca0d81ea9dbbe6cffe5797dcd95
|
|
MD5 |
21c6980665b25cf1fdc607fc8de774b0
|
|
BLAKE2b-256 |
5eaf9583dd1cb9745115b7b1b4a605549022eb36b2206bfa938c622b0c3608d6
|