Metadata-Version: 2.1
Name: event-notifier
Version: 0.1.2
Summary: Event notifier with many subscribers support
Home-page: https://github.com/vitalij555/event-notifier
Author: Vitalij Gotovskij
Author-email: vitalij@cdeveloper.eu
License: MIT
Description: ![Upload Python Package](https://github.com/vitalij555/event-notifier/workflows/Upload%20Python%20Package/badge.svg)
        
        # event-notifier
        
        Simple python notifier.
        
        ## Contents
        
        - [Background](#background)
        - [Installation](#installation)
        - [Usage](#usage)
        - [Constructor](#constructor)
        - [Available Functions](#available-functions)
        - [Contributing](#contributing)
        
        ## Background
        
        This is the 
        
        ## Installation
        
        ```
        pip install event-notifier
        ```
        
        ## Usage
        
        
        ```python
        import Notifier
        
        
        ```
        TBD
        Example taken from the internet showing how to mark it down inside .md file:
        The `emit()` function takes three arguments: 
        - an `event` which is a valid CloudEvent,
        - a `path` which is the path associated to the function (default: `/`)
        - a `headers` object that represents the headers sent to the gateway (default: `{"Content-type": "application/json"}`)
        
        The function returns a request object. If your event has a `sync` subscription attached, the `fetch` response will have the status code and body from the subscription. If not, the response will return a `202 Accepted` status code with an empty body.
        
        ## Constructor
        
        TBD
        
        **Parameters**
        
        - `url` - `string` - optional, Events API URL, default: `http://localhost:4000`
        - `space` - `string` - optional, space name, default: `default`
        - `configurationUrl` - `string` - optional, Configuration API URL. By default, it's the same as `url` but with `4001` port
        - `connectorUrl` - `string` - optional, Connector API URL. By default, it's the same as `url` but with `4002` port
        - `accessKey` - `string` - optional, access key for hosted Event Gateway. Access key is required for using Configuration API methods on hosted Event Gateway
        
        **Example**
        
        ```python
        import Notifier
        
        notifier = Notifier(["onCreate", "onOpen", "onModify", "onDelete"])
        
        ```
        
        ## Available Functions
        TBD
        
        ### some Function Name here
        
        TBD
        
        **Example**
        
        ```python
        #TBD
        ```
        
        ### some other Function Name here
        
        Utility to print the current configuration.
        
        **Example**
        
        ```python
        #TBD
        ```
        
        
        ## Contribute
        TBD
        
Keywords: EVENT,NOTIFY,SUBSCRIBE,OBSERVER
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
