Python module for saint.ssu.ac.kr
Project description
# pysaint
saint.ssu.ac.kr 에서 수강신청 과목정보를 실시간으로 가져오는 라이브러리 입니다.
## setup (for library developer)
```sh
python ./setup.py build
python ./setup.py install
```
## setup (for end user)
```sh
pip install pysaint
```
## Usage
```python
import pysaint
res = pysaint.get('전공', ['2018'], ['2 학기'])
print(res)
res = pysaint.get('교양필수', range(2015, 2017), ('1 학기', '여름학기', '2 학기', '겨울학기'))
print(res)
res = pysaint.get('교양선택', (2016, ), ('1 학기', ))
print(res)
pysaint.save_json('./json/', '{}-{}-전공'.format('2016', '1 학기'), res)
```
saint.ssu.ac.kr 에서 수강신청 과목정보를 실시간으로 가져오는 라이브러리 입니다.
## setup (for library developer)
```sh
python ./setup.py build
python ./setup.py install
```
## setup (for end user)
```sh
pip install pysaint
```
## Usage
```python
import pysaint
res = pysaint.get('전공', ['2018'], ['2 학기'])
print(res)
res = pysaint.get('교양필수', range(2015, 2017), ('1 학기', '여름학기', '2 학기', '겨울학기'))
print(res)
res = pysaint.get('교양선택', (2016, ), ('1 학기', ))
print(res)
pysaint.save_json('./json/', '{}-{}-전공'.format('2016', '1 학기'), res)
```
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
pysaint-1.4.3.tar.gz
(13.0 kB
view details)
File details
Details for the file pysaint-1.4.3.tar.gz
.
File metadata
- Download URL: pysaint-1.4.3.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e751f524796b10f1a99cb74fcdf7407491c864ff367df81fabec181e518b4bb0 |
|
MD5 | 7a1dbc0a0f3dd780ca4b5ab1faa009cb |
|
BLAKE2b-256 | 1c9c5c0e33b3645d41d2ed7a0e210f5bd4f8c2a861d4b2af3abe78137b778a7b |