A python library to retrieve information about the various plans and courses at Tel Aviv University, and interact with the various servers.
๐ ๏ธ Installation ย ยทย ๐ก Features ย ยทย ๐ Roadmap
Installation
You can get the latest version of TAU Tools by running pip install tau-tools
!
Features
Moodle API
Here's an example of using the TAU Tools moodle package:
from tau_tools.moodle import Moodle
m = Moodle("username", "123456789", "password", "session.json")
courses = m.get_courses()
print(courses)
print(m.get_recordings(courses[0]))
Full documentation will be available soon!
Scrapers
You can get mostly up to date data from the following URLs:
- https://arazim-project.com/courses/2024a.json
- https://arazim-project.com/courses/2024b.json
- https://arazim-project.com/courses/plans.json
Get course details
You can get all details about a specific year's courses by running python3 -m tau_tools.courses
!
Example:
{
"03005031": {
"name": "ืืืื ืืืืืืืืื ืืืืืืื",
"faculty": "ืืืขืื ืืืืืงืื/ืคืงืืืื ืืืืขืื ืืืืืงืื",
"exams": [
{
"moed": "ื",
"date": "08/02/2024",
"hour": "",
"type": "ืืืื ื ืกืืคืืช"
},
...
],
"groups": [
{
"group": "01",
"lecturer": "ื\"ืจย ืืืืย ืืืืืจ",
"lessons": [
{
"day": "ื",
"time": "09:00-10:00",
"building": "ืงืคืืื",
"room": "118",
"type": "ืฉืืขืืจ"
},
...
]
},
...
]
},
...
}
Get the available plans
You can get all details about the current study plans in Tel Aviv University by running python3 -m tau_tools.plans
!
Example:
{
"ืืคืงืืืื ืืืืขื ืืืืจื ืข\"ืฉ ืืจืฉืื ืืืจืืื": {
"ืชืืื ืืช ืืชืืืจ ืฉื ื ืืชืงืฉืืจืช ืืืกืืื ืืืงืจื": {
"ืงืืจืกื ืชืืืจ ืฉื ื - ืงืืจืกื ืืืื": ["10854101", "10854102"],
"ืงืืจืกื ืชืืืจ ืฉื ื - ืงืืจืกื ืืชืืืืืืืื": ["10854203", "10464101"],
...
},
...
},
...
}
Roadmap
- Get courses
- Get plans
- Create a nicer interface to the IMS
- Create a nicer interface to the Moodle
- Make the scripts accept command-line parameters
- Add the package to PyPI for a simpler installation
Acknowledgements
This repository contains modified versions of the following tools: