GeoWatch Util / API¶
The source code for geowatchutil is broken out into runtime, factory, and class functions.
See below for a quick explanation.
Runtime¶
Most public API functions are contained in geowatchutil.runtime. Runtime functions wrap broker, consumer, producer, and store functions with exception handling and multiple tries.
In most use cases, you should use geowatchutil.runtime rather than factory functions and certainly more than directly initializing a class.
Note
Unless for custom subclasses, you can describe your information flow as dicts, so that you only ever need to call geowatchutil.runtime.provision_brokers().
Functions
The 4 main runtime functions are:
Factory¶
Factory functions provide a single entry point for creating a broker, consumer, and producer, store, and codec, respectively.
Functions
The 5 main factory functions are:
geowatchutil.broker.factory.build_broker()geowatchutil.consumer.factory.build_consumer()geowatchutil.producer.factory.build_producer()geowatchutil.store.factory.build_store()geowatchutil.codec.factory.build_codec()
Modules
View all modules @ code.