Skip to main content

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)

read more…

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

As always, a virtualenv is recommended:

$ pip install mock nose

Now 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.

Documentation

As always, a virtualenv is recommended:

$ pip install sphinx
$ python setup.py develop

Now you can build, for example, the HTML documentation with:

$ cd docs
$ make html  # See make help for more.

Now the HTML documentation is available in docs/_build.

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

webuntis-0.1.5.tar.gz (24.5 kB view details)

Uploaded Source

File details

Details for the file webuntis-0.1.5.tar.gz.

File metadata

  • Download URL: webuntis-0.1.5.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for webuntis-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f69cc13c33bcde5c0eacafbbeb76ac03de585205602c0eac2335ac48bb63a9e6
MD5 58d21018500d4474f1c2145499c1ec41
BLAKE2b-256 bd862aa523d95e03300f4a0e4c96b66b7c5d9df0bd28a0ca182c813b0ccc498d

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