skip to navigation
skip to content

boundlessgeo-schema 0.14.1

schema for boundlessgeo actions

Latest Version: 0.14.3

This package will convert the packaged actions.json to a dictionary. By convention, Actions can be Queries or Commands in a CQRS architecture.

Installation

pip install boundlessgeo-schema

Usage

>>> import boundlessgeo_schema as bs
>>> schema = bs.get_schema()
>>> import_command = schema['SPATIALIO_IMPORT']
>>> print(import_command)
'v1/SPATIALIO_IMPORT'
>>> events = bs.get_events()
>>> event = events['NO_LAYERS_FOUND']
>>> print(event)
'v1/NO_LAYERS_FOUND'
 
File Type Py Version Uploaded on Size
boundlessgeo-schema-0.14.1.tar.gz (md5) Source 2017-12-07 3KB