A Python library for interacting with data from esprit-tn.com
Project description
esprit-py
[!NOTE]
Please note that this library is not an official API provided by Esprit and is intended for educational and personal use only.
Features
-
Get your exact timetable pdf not 300 pages pdf
-
Get your grades
-
Get your absences
-
Get your credits
Installation
pip install esprit-py
Example
from esprit import Esprit
# Create an Esprit object
esprit = Esprit()
# Replace with your actual ID and password
id = 'ID'
password = 'PASSWORD'
# Attempt to log in
if esprit.login(id, password):
print("Login successful.")
else:
print("Login failed.")
# Get absences
absences = esprit.get_absences()
if absences is not None:
for absence in absences:
print(absence)
else:
print("Failed to get absences.")
More examples can be found in the examples folder
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
esprit-py-0.3.2.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for esprit_py-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c900b07d64d5b15cffb211b2aa4fe527ce81304b20a2eff0a03561c2be916fe3 |
|
MD5 | 0c8477f4145605ec125c4aee2f6721db |
|
BLAKE2b-256 | 35bfc5599b724cb66d5b1a7e86749281cf260434bcdc713cdbe1c85008fe3124 |