Skip to main content

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)

# 시간표 출력
for day in timetable.timetable[3][1]:
    for time in day:
        print(time, end=" ")
    print()

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

print(timetable)

라이센스

MIT License

Metadata

Release files for pycomcigan 1.4.1

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

Source distribution (sdist)

Source distribution for pycomcigan 1.4.1
File Size Uploaded Provenance
pycomcigan-1.4.1.tar.gz 7.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pycomcigan 1.4.1
File Interpreter ABI Platform
pycomcigan-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / pycomcigan-1.4.1.tar.gz

Download URL pycomcigan-1.4.1.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7d02b41679583fa85ed4f23eb9111ec4694837fbdffebbd5d3ab5cf50b52e5b6
BLAKE2b-256 checksum
How to use checksums
11f84b2e49bc5a8fd91e102af30b357ed24e837c9f9770f60aa58b69b609f4df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.13 Linux/6.17.0-1018-azure

Release files / pycomcigan-1.4.1-py3-none-any.whl

Download URL pycomcigan-1.4.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16e028e601b02ff0d7938d8ca366c44921294b1786e9f81cab1f77a04a458969
BLAKE2b-256 checksum
How to use checksums
89d8a53403c6b64334860513cb1068f25dff5cc16c33e412ff676d98852af2f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.12.13 Linux/6.17.0-1018-azure

Security for pycomcigan 1.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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