Skip to main content

schema for boundlessgeo actions

Project description

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'

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

boundlessgeo-schema-0.14.8.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file boundlessgeo-schema-0.14.8.tar.gz.

File metadata

File hashes

Hashes for boundlessgeo-schema-0.14.8.tar.gz
Algorithm Hash digest
SHA256 a13854f2e6096ff9f54a8873c59e885dce1f3278e63c298e0fe3fb09f44da32f
MD5 221c79e3d52f3bae213f6c9733082243
BLAKE2b-256 d637fd73623c8f924ae309eef082404c705861df12afc15c3d47c7acf5a38cc1

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