Skip to main content

Interact with ULB in python

Project description

libulb

Python lib for ULB (ulb.ac.be)

libulb is Python3 only.

Install

pip install libulb

Example

# -*- coding: utf-8 -*-
from __future__ import print_function, unicode_literals

from libulb.smileye_app import api
from datetime import datetime

c = api.Client.auth('adelcha', 'pAssW0r!')

info = c.info()
print(info['name']) # Alain

inscriptions = c.inscriptions()
notes_first_year = c.notes(inscriptions[0])

c.note_detail(c.notes(c.inscriptions()[-1])[-1]) # Details of the last course of your last year

c.gehol(datetime(2015, 5, 5, 0, 0, 0), datetime(2015, 5, 6, 0, 0, 0)) # All of your courses of the day

Dev

git clone then pip install -e . and pip install -r requirements-dev.txt

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

libulb-0.1.3.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

libulb-0.1.3-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file libulb-0.1.3.tar.gz.

File metadata

  • Download URL: libulb-0.1.3.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for libulb-0.1.3.tar.gz
Algorithm Hash digest
SHA256 22cc96dcebb80993f62a10b05f3bd184598cc8b9c1acab0d3e66ea2a6de04eb0
MD5 226932e99efed6ee663b1547f8f03104
BLAKE2b-256 59450fb052c36d7fd222f5777e427ffb38f6400e4941d951e0f318f1376c05f7

See more details on using hashes here.

File details

Details for the file libulb-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for libulb-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2bf70215557a9cdedc41d69c6df7f25641b980c7b100823220c1a0fd279a025d
MD5 89f45876f047e0d528621fc06bd0b868
BLAKE2b-256 5302e4c4edc4d1d8b86a950e0aac2a145be6d64f1c2443de8148b4b09cf16cc4

See more details on using hashes here.

Supported by

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