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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for boundlessgeo-schema-0.14.6.tar.gz
Algorithm Hash digest
SHA256 7235e2378493ee5e745ab3adf9ef7690c6541c001e5ea400d3e4dbbc10f77d63
MD5 2447fa1c9a6f2a96389b4f8b24236b15
BLAKE2b-256 7d1b53ce348e29ffe1473f6e703bea597b241700585fd71926b631f1fc14e9d2

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