Giter VIP home page Giter VIP logo

tau-tools's Introduction

๐ŸŽ“ 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:

tau-tools's People

Contributors

arazonim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.