A basic Python-based API client library for registrar.nu.edu.kz
Project description
Nuregi
A basic Python-based API client library for registrar.nu.edu.kz
Requirements
- Python 3.8+
OPTIONALJava 8+ is required to usescraper.pdfpackage
Installation
Install with pip:
pip install nuregi
Usage
Refer to function docstrings for complete set of arguments
nuregi.api
from nuregi import api
"""
All get_object type functions have object_id and timeout arguments
"""
# Sample for semesters
fall2022_semester = api.get_semester(object_id=642, timeout=10)
all_semesters = api.get_semester(timeout=10)
# Other objects
schools = api.get_school()
academic_levels = api.get_academic_level()
departments = api.get_department()
subjects = api.get_subject()
instructors = api.get_instructor()
breadth = api.get_breadth() # likely deprecated
course_list = api.get_course_list(
limit=10,
offset=1,
semester_id=642,
school_id=13,
department_id=None,
level_id=1,
subject_id=None,
instructor_id=None,
breadth_id=None,
timeout=10,
)
nuregi.scraper.pdf
from nuregi.scraper.pdf import *
fall2022_ug_seds_schedule = get_schedule(
data_format="columns",
semester=642,
academic_level=1,
school=13,
timeout=15,
)
fall2022_ug_seds_course_requirements = get_requirements(
data_format="table",
semester=642,
academic_level=1,
school=13,
timeout=15,
)
spring2022_seds_finals = get_final_schedule(
data_format="columns",
semester=642,
school=13,
timeout=15
)
Dependencies
Notice
This project is for educational purposes only and should not be used to interfere with operation of https://registrar.nu.edu.kz/.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nuregi-0.2.0.dev3.tar.gz.
File metadata
- Download URL: nuregi-0.2.0.dev3.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a467f234bda0c8baacca03a03f80e67fe1d81c30e4fa3b9de5a058919442d224
|
|
| MD5 |
a2daea7723afab4a188a2cd51818b46d
|
|
| BLAKE2b-256 |
5a1885dc8515e90cc4584a4fa9552414f168b49885d381e9c6aa316b4c58ab2b
|
File details
Details for the file nuregi-0.2.0.dev3-py3-none-any.whl.
File metadata
- Download URL: nuregi-0.2.0.dev3-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d36df9da83844f29b3a7d2bb99cb80def270dbcc557fb9ac1383ae728651aa2b
|
|
| MD5 |
ea6170ac76b11f7a41b3bdf22c35bdd1
|
|
| BLAKE2b-256 |
d4193a08e5316f5ddd265454d05940f5a1570ac3ac92718daa161d6df1932a4a
|