Skip to main content

boj-tool

Contributions Welcome Python 3 PyPI downloads GitHub license GitHub stars GitHub forks GitHub issues

tl;dr 설치/사용 방법

설치

PyPI에 올라와 있기 때문에 간단히 설치할 수 있다.

pip install boj-tool

사용법

로그인

boj login

제출

boj submit [문제 번호] [제출할 코드 경로]

전적 조회

  • 자신의 전적을 조회하는 경우
boj stats
  • 다른 사림의 전적을 조회하는 경우
boj stats --user [유저 이름]

무엇인가?

백준 온라인 저지에 코드를 자동으로 제출하는 도구이다. 하지만 이름이 boj-tool인 것은 그 외에도 더 많은 기능을 지원할 예정이기 때문이다.

BOJ API가 만들어지면 그것을 이용해 더 많은 기능을 추가할 예정이다.

왜 만들었는가?

  • 커맨드 라인을 많이 사용하는 내 workflow 특성상 CLI tool이 편하다.
  • 기존에 있던 도구들이 내가 원하는 것과 미세하게 달랐다.
  • 뭔가 코딩하고 싶었다.
  • 과고 떨어져서 스트레스를 풀고 싶었다.

지원 언어

참고: 이 리스트에 없는 언어가 없으면 Issue를 만들거나 PR을 보내면 지원 추가 예정이다.

  • C++ (Clang, C++14, C++17 등 모두 지원)
  • C (Clang, C11 등 모두 지원)
  • Python (2, 3, pypy 등 모두 지원)
  • Java (Oracle Java와 OpenJDK 모두 지원)
  • JavaScript
  • Text
  • 아희

기능

  • 쿠키를 이용한 로그인 정보 저장 (컴퓨터에 ID/Password가 저장되지 않는다.)
  • 설정 파일을 통한 언어의 컴파일러, 버전 지정
  • 디버깅을 위한 로깅 기능

Roadmap

  • 리팩터링
  • 전적 조회 기능
  • 모든 언어 지원 (꼭 할것은 아님)

라이선스

MIT 라이선스

Release files for boj-tool 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boj-tool 1.1.4
File Size Uploaded
boj-tool-1.1.4.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for boj-tool 1.1.4
File Interpreter ABI Platform
boj_tool-1.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 14.9 kB

Release files / boj-tool-1.1.4.tar.gz

Download URL boj-tool-1.1.4.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8362413bd01a372c544e38fc590674ef3868a7f54312b6432dc08b239ad92dad
BLAKE2b-256 checksum
How to use checksums
fc429cebb18b25605b3875ffee7100994070d7f0b2b8427cb110ecbfa2ca65fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release files / boj_tool-1.1.4-py2.py3-none-any.whl

Download URL boj_tool-1.1.4-py2.py3-none-any.whl
Size 8.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c97d4907fd007a23ce30bb382aba502a68cf6cd3623571453b59dbc05abc3363
BLAKE2b-256 checksum
How to use checksums
12427b9e6511fb71b2d028afceceb287f6e52c39973190399a861bafa13a248d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.0

2 release files

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