pywps 4.6.0
pip install pywps
Released:
PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
Navigation
Verified details
These details have been verified by PyPIOwner
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Jachym Cepicky
- Maintainer: Jachym Cepicky
- Tags PyWPS, WPS, OGC, processing
- Requires: Python >=3.8, <4
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
PyWPS
PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python.
License
As of PyWPS 4.0.0, PyWPS is released under an MIT license (see LICENSE.txt).
Dependencies
See requirements.txt file
Run tests
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:
git clone git://github.com/geopython/pywps-flask.git pywps-flask
cd pywps-flask
python demo.py
Apache configuration
-
Enable WSGI extension
-
Add configuration:
WSGIDaemonProcess pywps user=user group=group processes=2 threads=5 WSGIScriptAlias /pywps /path/to/www/htdocs/wps/pywps.wsgi <Directory /path/to/www/htdocs/wps/> WSGIProcessGroup group WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all </Directory>
-
Create wsgi file:
#!/usr/bin/env python3 import sys sys.path.append('/path/to/src/pywps/') import pywps from pywps.app import Service, WPS, Process def pr1(): """This is the execute method of the process """ pass application = Service(processes=[Process(pr1)])
-
Run via web browser
http://localhost/pywps/?service=WPS&request=GetCapabilities&version=1.0.0
-
Run in command line:
curl 'http://localhost/pywps/?service=WPS&request=GetCapabilities&version=1.0.0'
Issues
On Windows PyWPS does not support multiprocessing which is used when making requests storing the response document and updating the status to displaying to the user the progression of a process.
Project details
Verified details
These details have been verified by PyPIOwner
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Jachym Cepicky
- Maintainer: Jachym Cepicky
- Tags PyWPS, WPS, OGC, processing
- Requires: Python >=3.8, <4
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
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
File details
Details for the file pywps-4.6.0.tar.gz
.
File metadata
- Download URL: pywps-4.6.0.tar.gz
- Upload date:
- Size: 86.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 importlib_metadata/3.10.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3260099d22f16eb55b1e33219af1eb2976a508dac3a1a0e06a6318c8947dd01d |
|
MD5 | 2ef07fca8df5af8f9eb6f4309c149165 |
|
BLAKE2b-256 | a146f5b7db41b7b91cac382c0e74800bef9ee5a2b3262bc3d1e33c91d0d50439 |