Skip to content
/ pywps-4 Public
forked from mgax/pywps-4

New version of PyWPS - written from scratch

License

Notifications You must be signed in to change notification settings

uwer/pywps-4

This branch is 220 commits ahead of mgax/pywps-4:master.

Folders and files

NameName
Last commit message
Last commit date
May 6, 2015
Oct 16, 2013
May 6, 2015
May 4, 2015
Oct 15, 2013
May 4, 2015
Mar 3, 2014
Mar 3, 2014
Mar 3, 2014
Mar 20, 2015
May 4, 2015
Apr 29, 2015

Repository files navigation

pywps-4

New version of PyWPS, written from scratch.

License

Short version: MIT Long version: see LICENSE.txt file

Dependencies

Run tests

Install and run tox:

$ pip install tox
$ tox

Or run the tests by hand, with either python 2 or 3:

$ python tests/__init__.py

Run web application

Apache configuration

  1. Enable WSGI extension

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

  3. Create wsgi file

    #!/usr/bin/env python3

    import sys sys.path.append('/path/to/src/pywps-4/')

    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)])

  4. Run via web browser

    http://localhost/pywps/?service=wps&request=getcapabilities

  5. Run in command line: TBD

About

New version of PyWPS - written from scratch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.9%
  • Other 1.1%