A helpers for getting all courses available in Jamia Millia Islamia.
Project description
All Courses in Jamia
This repo contains index of courses available in Jamia Millia Islamia.
Installation
pip install jamia-all-courses
Usages
from jamia_all_courses import all_courses
for category in all_courses:
print('-', category['name'])
for course in category['courses']:
print(' -', course['name'])
for specialization in course['specializations']:
print(' -', specialization['name'], specialization['code'])
Or import specific programme:
doctoral_programmes
masters_programmes
postgraduate_diploma_programmes
undergraduate_programmes
advanced_diploma_programmes
diploma_programmes
from jamia_all_courses import undergraduate_programmes
for course in undergraduate_programmes['courses']:
print(' -', course['name'])
for specialization in course['specializations']:
print(' -', specialization['name'], specialization['code'])
-
getCourse(hash)
: [category, course, specialization]- Returns array of 3 with their respective labels
-
getCourseName(hash)
: Returns string of course and specialisation
import get_course, get_course_name from jamia_all_courses
print(get_course_name('3fc6d'))
# B.Tech. Computer Engineering
print(get_course('3fc6d'))
# ['Undergraduate Programmes', 'B.Tech.','Computer Engineering']
Structure
[{
name: 'category',
courses: [{
name: 'course',
specializations: [{
name: 'specialization',
code: 'hash'
}]
}]
}]
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
File details
Details for the file jamia-all-courses-1.2.0.tar.gz
.
File metadata
- Download URL: jamia-all-courses-1.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34dfe920473cabf9c4784368d99baafd1b9902471256f7ece1bc669e98015992 |
|
MD5 | 92345f9b62ef3ce40a4ba97e74080701 |
|
BLAKE2b-256 | 794a7b2d2e49222756cf77903b21a7de09c026305ff293cbf84f27ace6478f45 |