Skip to main content

컴시간알리미 시간표 파싱 라이브러리입니다.

Project description

pycomcigan

GitHub Workflow Status PyPI - Python Version PyPI PyPI - Downloads GitHub

컴시간알리미 에서 시간표 정보를 가져오는 Python 라이브러리입니다.

컴시간알리미 구조에 대한 설명은 comcigan.md를 참고하세요.

설치

$ pip install pycomcigan

기능

  • 시간표 가져오기
  • 학교 검색
  • 담임 정보

사용법

Docs

예제

from pycomcigan import TimeTable, get_school_code

# 학교 검색
# [학교명, 지역명, 학교 코드, 지역 코드] 리스트로 응답
get_school_code("경기")

# 시간표 가져오기
# week_num: 0이면 이번주, 1이면 다음주
timetable = TimeTable("경기북과학고", week_num=1)

# 3학년 1반 화요일 시간표
print(timetable.timetable[3][1][timetable.THURSDAY])

# 3학년 1반 담임선생님
print(timetable.homeroom(3, 1))

라이센스

MIT License

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

pycomcigan-1.2.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

pycomcigan-1.2.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pycomcigan-1.2.1.tar.gz.

File metadata

  • Download URL: pycomcigan-1.2.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pycomcigan-1.2.1.tar.gz
Algorithm Hash digest
SHA256 cf21a798695ea779dc57a45082f0e8326c5bd24715aad220f743ab409191d7de
MD5 b7ac22cfddbe0bb6103fa73859a4da6e
BLAKE2b-256 21a199736255c7e3644a43909722c6ceb7956d06fcea3d84db325745ee560560

See more details on using hashes here.

File details

Details for the file pycomcigan-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: pycomcigan-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pycomcigan-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c5e2159099125839bc549cf6ef50922f9d37a95530a5f15c590da6fa25ee99d
MD5 5cdd0e504bd4573f3907cf37c0eb11e5
BLAKE2b-256 5ebc9e500fae0b9ade86a8558bb34fe940a1cf44a44d0effb68f455443f9306f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page