Baekjoon Online Judge CLI tools
Project description
BOJ(Baekjoon Online Judge) CLI tools
백준 & Solved.ac Command-line 도구
설치
pip3 install bojtools
사용법
초기화
boj init
로그인
boj login
...
Username: userid
Password:
- 자동 로그인에 자동으로 체크 됩니다.
문제 선택
boj pick <번호>
boj p <번호>
# 문제 상태 (AC/WA) 강제 갱신
boj p -f
랜덤 문제 선택
Solved.ac 에서 특정 난이도(Gold, Silver, ...) 문제를 랜덤으로 선택
boj random --silver
boj r -s
# Silver2 에서 Gold3 까지 1000명 이상 푼 문제만 list
boj r -s 1000 s2 g3
Answer 파일 생성
- 설정된 기본 template에서 복사됩니다.
boj generate <번호>
boj g
테스트
boj test <번호> -i <파일>
boj test <번호>
boj t
문제 제출
boj submit <번호> -i <파일>
boj submit <번호>
boj s
문제 풀이 보기
- 제출되어 통과(AC)한 문제여야 표시 됩니다.
boj solution <번호>
boj q
문제 정보
boj generate <번호>
boj g
환경설정
Linux
~/.boj/config.toml 파일 편집
TODO
- Solved.ac classes
- Random pick from Solved.ac
- Log in to Baekjoon and Solved.ac
- Baekjoon workbook
- Compile and test
- Submit a code
- Extract cookies
- Text width
- View other solution
- Support python
- Support multi-platform
- Improve guide documents
- Github action
- Init command
- Edit command
- Open command
- Template command
- Migrate tomli to tomllib
- Visual improvement
- Login expiration
- Add testcase command
- uv build (PEP-621)
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
bojtools-0.6.3.tar.gz
(16.0 kB
view details)
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
bojtools-0.6.3-py3-none-any.whl
(20.8 kB
view details)
File details
Details for the file bojtools-0.6.3.tar.gz.
File metadata
- Download URL: bojtools-0.6.3.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59201eefcf901f7f9395c753cccf031e20134b740cec432b71a4325e43e33df6
|
|
| MD5 |
de54a4230d6637258b02b483bddf790b
|
|
| BLAKE2b-256 |
ac43a677232cdd7d33fb76fc9544c0ebe6b85fea092c9bb11a8ea8b035962be2
|
File details
Details for the file bojtools-0.6.3-py3-none-any.whl.
File metadata
- Download URL: bojtools-0.6.3-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":null,"id":"forky","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a6bdf5eb742ae9e99bbce83e2b2c0a9c262231b5777ad1b4ad519ee854f2814
|
|
| MD5 |
c3e8c7dffc6de94699540dd74c5ae309
|
|
| BLAKE2b-256 |
eba7a33e29400a44379cf00237590115fac8c2af9fb5c2759bb18fded11b5f26
|