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.

๐Ÿ’ก Features ย ยทย  ๐Ÿšถโ€โ™‚๏ธ Getting Started ย ยทย  ๐Ÿš— Roadmap

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

Features

Get course details

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

Example:

{
    "ื”ืคืงื•ืœื˜ื” ืœืžื“ืขื™ ื”ื—ื‘ืจื” ืข\"ืฉ ื’ืจืฉื•ืŸ ื’ื•ืจื“ื•ืŸ": {
        "ืชื•ื›ื ื™ืช ืœืชื•ืืจ ืฉื ื™ ื‘ืชืงืฉื•ืจืช ื‘ืžืกืœื•ืœ ืžื—ืงืจื™": {
            "ืงื•ืจืกื™ ืชื•ืืจ ืฉื ื™ - ืงื•ืจืกื™ ืœื™ื‘ื”": ["10854101", "10854102"],
            "ืงื•ืจืกื™ ืชื•ืืจ ืฉื ื™ - ืงื•ืจืกื™ ืžืชื•ื“ื•ืœื•ื’ื™ื”": ["10854203", "10464101"],
            ...
        },
        ...
    },
    ...
}

Getting Started

Dependencies

You will need to install the following packages: pip install requests beautifulsoup4 colorama.

Afterwards, you can simply clone the repository (or download the code), then run the available scripts in tau_tools using Python 3, e.g. python3 courses.py.

This will create a JSON with the result in your current directory.

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.0.1.tar.gz (10.8 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.0.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tau_tools-1.0.1.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.6.4-arch1-1

File hashes

Hashes for tau_tools-1.0.1.tar.gz
Algorithm Hash digest
SHA256 723c2cddddafe6db4c7b5d7914cafe5d8a898acd18f3e20e415a502da8697f73
MD5 ca636464cd955737ecd91137480e81a1
BLAKE2b-256 68c2bf7e03f617697d5f207292dfb03e7d7adfcefad0878f29529c874f99b002

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tau_tools-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.6.4-arch1-1

File hashes

Hashes for tau_tools-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d3db345807db54c0c500dabe5e7429d2f125b330c9b4783319bf670f462c17
MD5 8db42795c50b7b5576c34e22b25be22c
BLAKE2b-256 98dd93514471c7e49b805d7db71ffbd2f6707b7d0936cee581233b75d7708254

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