Grade a solution using baekjoon online sample inputs and outputs.
Project description
bjgrader
bjgrader 는 백준 알고리즘 사이트의 문제 별 sample input & output 을 바탕으로 손쉽게 채점해주는 라이브러리 입니다.
원하는 곳에서 bjgrader를 이용하여 파일을 생성 후, 알고리즘 풀이를 작성한 뒤, bjgrader로 채점하시면 됩니다.
requests와 beautifulsoup4를 바탕으로 sample input과 sample output을 가져와 채점하기에, 공개되지 않은 입력에 대해서는 채점하지 않습니다.
Installation
pip install bjgrader
Usage
Create a solution file
python -m bjgrader -c file_name.py
Grade the solution file
python -m bjgrader -n file_name.py
Project details
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 bjgrader-0.0.3.tar.gz.
File metadata
- Download URL: bjgrader-0.0.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6d60977481addcab0e5e11694e0f92b01dccc124bbf21f62578ccec8aa0608d
|
|
| MD5 |
4796cbb783eb8f0d5fc20fd19cf03989
|
|
| BLAKE2b-256 |
6f9f339852f7c22ed1e9f582d7e4f77fe7b7c0fb82f1bed340ffe7feb7649acd
|
File details
Details for the file bjgrader-0.0.3-py3-none-any.whl.
File metadata
- Download URL: bjgrader-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f029e1993157eb32602b5b6d3c1506059f156270c2442882bbd88ea32ea74b68
|
|
| MD5 |
651d9642eb1910b5678b3dbf20ab9089
|
|
| BLAKE2b-256 |
e690946fec4696d089f8d0bd48bcd9564aba61d29b3af49df5368fa83520f7eb
|