UMS
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.
Contents
Getting Started
Install this package from pypi
$ pip install ums
$ python
>>> from ums import User
>>>
Methods
See All User Methods/Functions
User Profile
- To get User detail
- function Name :
user_profile() - This function takes no argument
- This function return a
DictionaryObjectdata: 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
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
profile = user.user_profile()
print(profile)
Announcements
- To get all recent annoucements
- Function name :
announcements() - This function takes no argument
- This function returns a
Dictionaryobjectdata: 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
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
announcements = user.annoucements()
print(annoucements)
Messages
- To get all the recent messages
- Function name :
messages() - This function takes no argument
- This function return a
Dictionaryobjectdata: 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
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
messages = user.messages()
print(messages)
Grades
- To get Termwise grade
- Function name :
grades() - This function takes no argument
- This function return a
DictionaryObjectdata: 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
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
grades = user.grades()
print(grades)
Marks
- To get Termwise Marks
- Function name :
marks() - This function takes no argument
- This functiom return a
DictionaryObjectdata: 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
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
marks = user.marks()
print(marks)
Classes
- To get all classes of current Day
- Function name :
classes() - This function takes no argument
- This function return a
DictionaryObjectdata: List of different Coursescourse: Course nametiming: class timingplatform: Class platformstatus: current class status of that course
datetime: timestamp when data is generated
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
classes = user.classes()
print(classes)
Datesheet
- To get Upcoming Exam Sheet ( if available )
- Function name :
datesheet() - This function takes no argument
- This function return a
DictionaryObjectdata: List of different coursesid: Idc_code: Course Codecourse: Course namereport: Reporting timingdate: Exam datetiming: Exam timing
datetime: timestamp when data is generated
Usage
from ums import User
regno = < REGISTRATION NUMBER >
password = < PASSWORD >
user = User(registration=regno, password=password)
datesheet = user.datesheet()
print(datesheet)
Contribute
- 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 featureand describe your feature you want in upcoming version
- Create a new Issue with tag
Made with 💜 in India
Metadata
Release files for ums 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ums-0.3.0.tar.gz | 10.8 kB | Without provenance | Details for ums-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ums-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for ums-0.3.0-py3-none-any.whl |
Total release size: 20.6 kB
Release files / ums-0.3.0.tar.gz
| Download URL | ums-0.3.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f900469123cca25918a143d4647428997517ddfc614f60a52ee6eed186ac6bd
|
|
BLAKE2b-256 checksum How to use checksums |
73a428b7443f8f144c14012219364bc1bffce8d8920cdf308c98fb0fa319fd3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / ums-0.3.0-py3-none-any.whl
| Download URL | ums-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd8346c67388fdde534faeca02677ed440e72e7e0916c639e3171ee629a3175d
|
|
BLAKE2b-256 checksum How to use checksums |
0f939686a689072795e3802b72106785559c0c9175244530c768f1c8c1f6e620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for ums 0.3.0
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.