Skip to main content

Tools for accessing and using Tel Aviv University websites

Project description

๐ŸŽ“ TAU Tools

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!

IMS API

Here's an example of using the TAU Tools ims package:

from tau_tools.ims import IMS

ims = IMS("username", "123456789", "password")
grades = ims.get_all_grades([2023, 2024])
print(grades)

Scrapers

You can get mostly up to date data from the following URLs:

You can also get rolled-up information about all of the courses in https://arazim-project.com/courses/courses.json, using the TAU Tools collect script.

Get course details

You can get all details about a specific year's courses by running python3 -m tau_tools.courses or python3 -m tau_tools.courses 2025!

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 (and past) study plans in Tel Aviv University by running python3 -m tau_tools.plans or python3 -m tau_tools.plans 2025!

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
  • Show progress bars during scraping

Acknowledgements

This repository contains modified versions of the following tools:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tau_tools-1.1.6.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tau_tools-1.1.6-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file tau_tools-1.1.6.tar.gz.

File metadata

  • Download URL: tau_tools-1.1.6.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for tau_tools-1.1.6.tar.gz
Algorithm Hash digest
SHA256 76117cb6941b5fa2b6fd628ef4a1ad6ff813267b2f0e95fbfc31f7eca92a5b27
MD5 62fe9a1ed3a37aaa24cb12f8a2673417
BLAKE2b-256 155a85e5fa05175c715428634345ac4d231c809ed807e6f65ec81095f99f3dcf

See more details on using hashes here.

File details

Details for the file tau_tools-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: tau_tools-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for tau_tools-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 93914486780e87988a7ff98568b65b8d4b144fb00b59051af1c1a366768ed1c5
MD5 438f16e5e6572d6a724f9db7523cfcd3
BLAKE2b-256 604408cb9b56acbe1e28365351ece3a8215cedb7f6d3ae6ca583f4ac6a294269

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page