Bindings for WebUntis API
Project description
Bindings for WebUntis API
import webuntis
s = webuntis.Session(
username='api',
password='api',
server='webuntis.grupet.at:8080',
school='demo_inf'
).login()
for klasse in s.klassen():
print(klasse.name)
Installation
Latest version (this is the normal way)
pip install webuntis
From latest commit in master
git clone git://github.com/untitaker/python-webuntis.git cd python-webuntis python setup.py install
If you want to remove the -dev flag in the version for whatever reason, replace the last line with:
python setup.py release install
Unittests
The unittests need mock and nose installed.
You can run the default testsuites using:
$ nosetests
For the single testsuites and their descriptions, look at the docstrings of the modules in webuntis.tests.
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
webuntis-0.1.4.tar.gz
(21.9 kB
view details)
File details
Details for the file webuntis-0.1.4.tar.gz.
File metadata
- Download URL: webuntis-0.1.4.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f5e8af629166d6ddce4c30e8330b0c211fce81e7f387825644ba517f6648413
|
|
| MD5 |
0fc6da691c8380f55825c51beda5aa40
|
|
| BLAKE2b-256 |
6411fcb941169a24f015709311373f3c3d9448050378c71330361202b6beedc1
|