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!

Scrapers

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

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:

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.2.tar.gz (12.1 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.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tau_tools-1.1.2.tar.gz
  • Upload date:
  • Size: 12.1 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.2.tar.gz
Algorithm Hash digest
SHA256 3ba6fa81b095b38d9cdde2ac44d109de848552fa598a628b377c2413eb4468eb
MD5 46cbe0f39d2d501c032f29446430fb52
BLAKE2b-256 102fdae956e92278113e64328b63e1733a69dad9836487cbefd803b7cbc0048f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tau_tools-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c19e4ea154abb8f3ce540134c0785bc3a2982f06a5beed7b0dfe4fdf7395ec20
MD5 bd646e71e628b56cedc71fba696db4b3
BLAKE2b-256 7208ef3a9b52103fb92fa2a81cebc7a8b333acdd70d2e42e67e0b70f81135e29

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