Interact UMS programmatically using a simple Python Library. Allows User to View User profile, Annoucement, Messages, Datesheet, grades, marks termwise etc.
Do fork and star ⭐ this repository if you like it.
Install this package from pypi
$ pip install ums
$ python
>>> from ums import User
>>>
- To get User detail
- function Name :
user_profile()
- This function takes no argument
- This function return a
Dictionary
Objectdata
: user detailName
: Name of the User ( dict object )Full Name
: Fullname of UserFirst Name
: First nameMiddle Name
: Middle name ( if available )Last Name
: Last Name ( if available )
RegNo
: Registration Number of userRollno
: Roll Number of UserTerm
: Current TermGroup
: Class GroupSection
: Class sectionProgramme
: User Programme NameBook Issued
: Number of Book user issued from University Library
datetime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
profile = user.user_profile()
print(profile)
- To get all recent annoucements
- Function name :
announcements()
- This function takes no argument
- This function returns a
Dictionary
objectdata
: list of all announcementid
: Annoucement Idtitle
: Title of the announcementbody
: Main body of the annoucementmedia
: list of media attached to the announcement ( if any )
datatime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
announcements = user.annoucements()
print(annoucements)
- To get all the recent messages
- Function name :
messages()
- This function takes no argument
- This function return a
Dictionary
objectdata
: list of all messagesid
: Message Idsubject
: Subject of messagebody
: Main body of the messagedate
: date of message when published
datetime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
messages = user.messages()
print(messages)
- To get Termwise grade
- Function name :
grades()
- This function takes no argument
- This function return a
Dictionary
Objectdata
: List of Different termterm
: term / semester numbertgpa
: term / semester tgpagrades
: List of grades of all subject of that termcourse
: Course namegrade
: grade in that course
datetime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
grades = user.grades()
print(grades)
- To get Termwise Marks
- Function name :
marks()
- This function takes no argument
- This functiom return a
Dictionary
Objectdata
: List of different termtermid
: term idcourses
: list of diffeent courses of that termcourse
: Name of the coursemarks
: list of different marks of that course- t`ype : type of mark
marks
: list of marks out of different scheme
datetime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
marks = user.marks()
print(marks)
- To get all classes of current Day
- Function name :
classes()
- This function takes no argument
- This function return a
Dictionary
Objectdata
: List of different Coursescourse
: Course nametiming
: class timingplatform
: Class platformstatus
: current class status of that course
datetime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
classes = user.classes()
print(classes)
- To get Upcoming Exam Sheet ( if available )
- Function name :
datesheet()
- This function takes no argument
- This function return a
Dictionary
Objectdata
: List of different coursesid
: Idc_code
: Course Codecourse
: Course namereport
: Reporting timingdate
: Exam datetiming
: Exam timing
datetime
: timestamp when data is generated
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
datesheet = user.datesheet()
print(datesheet)
- This Project is open for contibution, feel free to contibute new feature, requests and bug fixes
- To contibute fork this repository
- Bug fix / new feature / Optimization :
- Create a new branch
- Makes changes to that branch, create a new Pull request and describe your fixes or addition of new feature
- Feature request :
- Create a new Issue with tag
new feature
and describe your feature you want in upcoming version
- Create a new Issue with tag
Made with 💜 in India