Dju intranet
This project gives you Api for Daejeon university intranet. Daejeon university’s web sites are sucks. So I made it.
Examples
Login
>>> import djuintra
>>> da = djuintra.DjuAgent()
>>> da.login('<User ID>', '<User PW>')
>>> # Nothing happen if logged in successfully, else raise an exception.
Get Time tables
>>> for timetable in da.get_timetables(2014, 2, 0, '00000', 0):
... print(u'{0.classname} by {0.profname} {0.score}/{0.time}'.format(timetable))
대학영어(1) by 제임스썸머필드 2/2
대학영어(1) by 페리 2/2
대학영어(1) by 네드콕스 2/2
대학영어(1) by 티머시롤랜드 2/2
대학영어(1) by 브라이언맥컬리 2/2
대학영어(1) by 제임스썸머필드 2/2
대학영어(1) by 페리 2/2
대학영어(1) by 네드콕스 2/2
대학영어(1) by 티머시롤랜드 2/2
대학영어(1) by 브라이언맥컬리 2/2
대학영어(1) by 아담드레슬러 2/2
대학영어(1) by 마이너 2/2
대학영어(1) by 로드리고버뮤즈 2/2
Get Schedules
>>> for schedule in da.get_schedules():
... print(u'{0.title}({0.depart}): {0.start}~{0.end}'.format(schedule))
...
수업일수1/3선(학사서비스팀): 2014-10-05 09:00:00~2014-10-05 23:59:59
전역복학마감일자(개강후3주내)(학사서비스팀): 2014-09-19 17:30:00~None
휴학신청기간(학사서비스팀): 2014-08-04 09:00:00~2014-08-14 17:30:00
복학신청기간(학사서비스팀): 2014-07-14 09:00:00~2014-07-25 17:30:00
부/복수전공신청기간(학사서비스팀): 2014-07-07 09:00:00~2014-07-11 17:30:00
모의토익원서접수신청기간(외국어교육센터): 2014-09-15 12:00:00~2014-09-19 17:00:00
Get personal scores
personal_scores = da.get_personal_scores()
for semester in personal_scores.semesters:
print(semester.title)
for score in semester.scores:
print(u'{0.title}: {0.score}'.format(score))
print(u'Average score: {0}'.format(personal_scores.averagescore))
Course registration
courses = [
('000000', '01'),
('000001', '02'),
('010101', '30'),
]
da.register_course(courses)
Documentation
http://dju-intranet.readthedocs.org/en/latest/
Metadata
Release files for dju-intranet 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dju_intranet-0.3.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / dju_intranet-0.3.2-py2.py3-none-any.whl
| Download URL | dju_intranet-0.3.2-py2.py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
276ab62d9aef2b2417fbf2154fdec5bac80e5881898416962226470f8bcb3b41
|
|
BLAKE2b-256 checksum How to use checksums |
53dab753045533dd3f26c485101f9fefa74bdc6b2114a53c4a184a3b345f09e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dju-intranet 0.3.2
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.