Skip to main content

Python package to parse menues from www.my-stuwe.de

Project description

https://travis-ci.org/Trybnetic/stuweparser.svg?branch=master https://landscape.io/github/Trybnetic/stuweparser/master/landscape.svg?style=flat https://coveralls.io/repos/github/Trybnetic/stuweparser/badge.svg?branch=master https://img.shields.io/github/license/trybnetic/stuweparser.svg

This package contains a collection of functions to crawl and parse the website of the Studierendenwerk Tübingen-Hohenheim.

Getting Started

These instructions will get you a copy of the stuweparser package on your local machine. If you only want to use stuweparser as a python package use pip3 in order to install it into your python3 environment. If you want to inspect and change the code download and install it via git clone and python3 setup.py. For details see below.

Prerequisites

You need python 3.4 or newer and git installed on your machine. We recommend to install Minicoda (https://conda.io/miniconda.html) before installing stuweparser or to create a virtualenv within your personal folder.

Development

If you want to develop stuweparser you should additionally install:

pip3 install --user tox pylint pytest pycodestyle sphinx

Installing

If you want to use the package you can install the package by running

git clone https://github.com/trybnetic/stuweparser.git
cd stuweparser
python3 setup.py install

Documentation and Examples

Documentation and examples can be found in the doc/ folder after cloning the repository.

If you have installed sphinx you should be able to build the documentation with:

cd doc/
make html

The entry point for the html documentation is doc/build/html/index.html.

Running the tests

If you have cloned stuweparser from github, you can start the tests by executing the following within the outer stuweparser folder:

py.test

For full tests you can run:

tox -e test

For manually checking coding guidelines run:

pycodestyle stuweparser tests
pylint --ignore-patterns='.*\.so' --rcfile=setup.cfg -j 2 stuweparser tests

For more details on which tests run in the continuous testing environment look at the file tox.ini.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Acknowledgments

This package originates from python scripts written by Steffen Lindner in his repository Mensa Tübingen App.

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

stuweparser-0.1.1.tar.gz (12.3 kB view details)

Uploaded Source

File details

Details for the file stuweparser-0.1.1.tar.gz.

File metadata

  • Download URL: stuweparser-0.1.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stuweparser-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0406bcf87932ff14a416a25bfac429fe24ac6b8baca7d2f45c7e68fd9789add6
MD5 96708785a513efbd3d730954dd902741
BLAKE2b-256 5a635b8c211a0f899dfe1b16dba4259c6ffb263a207cb2fd9e67e9feaccc162d

See more details on using hashes here.

Supported by

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