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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for boundlessgeo-schema-0.16.2.tar.gz
Algorithm Hash digest
SHA256 683727f76e7ad4eb33abbb7767d00578657bd4275f7040aaecab8aee7359d526
MD5 e32531b50b87c6d357ba2433fee681f4
BLAKE2b-256 23ed8ef6464f47f08e8537733b02167ef9d612c154de0271db9dc1fffd4a1d43

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