# PyWPS
PyWPS is an implementation of the Web Processing Service standard from
the Open Geospatial Consortium. PyWPS is written in Python.
[](https://pywps.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/geopython/pywps/actions/workflows/main.yml)
[](https://coveralls.io/github/geopython/pywps?branch=main)
[](https://pypi.org/project/pywps/)
[]()
[](https://gitter.im/geopython/pywps?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
# License
As of PyWPS 4.0.0, PyWPS is released under an
[MIT](https://en.wikipedia.org/wiki/MIT_License) license
(see [LICENSE.txt](LICENSE.txt)).
# Dependencies
See [requirements.txt](requirements.txt) file
# Run tests
```bash
pip install -r requirements-dev.txt
# run unit tests
python -m pytest tests
# run code coverage
python -m coverage run --source=pywps -m unittest tests
python -m coverage report -m
```
# Run web application
## Example service
Clone the example service after having installed PyWPS:
```bash
git clone git://github.com/geopython/pywps-flask.git pywps-flask
cd pywps-flask
python demo.py
```
## Apache configuration
1. Enable WSGI extension
2. Add configuration:
```apache
WSGIDaemonProcess pywps user=user group=group processes=2 threads=5
WSGIScriptAlias /pywps /path/to/www/htdocs/wps/pywps.wsgi