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.18.2.tar.gz (7.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for boundlessgeo-schema-0.18.2.tar.gz
Algorithm Hash digest
SHA256 4b0539666081b99e11909a6cb4111cccd444bc3c8148a5bf8e8d0fece3613413
MD5 bd8cf63ee6d8560bead759b9ffba1a34
BLAKE2b-256 1d8752b47256dd6abc265d5f1a0a3c58369f39732caddb2b087932ea9d746fed

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