FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

python-webuntis/python-webuntis at 3e2c9bec3b72076e4b86a5d260d062e5b2e76f61 · GitHub

Repository navigation

About

Bindings for WebUntis

Resources

Stars

81 stars

Watchers

9 watching

Forks

Latest commit

 

History

140 Commits

Folders and files

Repository files navigation

python-webuntis

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.

About

Bindings for WebUntis

Resources

Stars

81 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL