Metadata-Version: 2.1
Name: event-web-scout
Version: 0.0.1a24
Summary: Extendable package for collecting events from the web and adding them to Google calendars
Home-page: https://github.com/geeeezmo/event-web-scout
Author: Aleksandr Klimov
Author-email: 2767789+geeeezmo@users.noreply.github.com
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Other Audience
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# event-web-scout

![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/geeeezmo/event-web-scout/ci.yml?label=Build)

![GitHub Latest Pre-Release)](https://img.shields.io/github/v/release/geeeezmo/event-web-scout?include_prereleases&label=pre-release&logo=github)  
![GitHub Latest Release)](https://img.shields.io/github/v/release/geeeezmo/event-web-scout?logo=github)
![GitHub Release Date - Published_At](https://img.shields.io/github/release-date/geeeezmo/event-web-scout)

![PyPI - Version](https://img.shields.io/pypi/v/event-web-scout?label=PyPI%20version)

Configuration is a JSON with 3 elements:
- `plugin_entry_points` - list of entry points that will be scanned for plugins
- `plugin_defaults` - default plugin config (overriden by config defined explicitly for each individual plugin); default value is an empty object
- `plugins`- array of configurations for individual plugins; each configuration has 3 properties:
  - `name` - name of the plugin (name of the plugin package)
  - `priority` - priority of plugin execution (lower number = higher priority); plugins with the same priority value will be executed in alphabetical order
  - `enabled` - whether the plugin is enabled
  - `config` - individual plugin configuration; will be passed to the plugin constructor as the first argument


```json
{
  "plugin_entry_points": [
    "example_plugins"
  ],
  "plugin_defaults": {
    "priority": 10,
    "enabled": false,
    "config": {
      "google_service_account_token_file": "google_service_account_token.json",
      "google_calendar_id": "<google_calendar_id>"
    }
  },
  "plugins": [
    {
      "name": "example_plugin",
      "priority": 3,
      "enabled": true,
      "config": {
        "example_prop_1": "example_value_1"
      }
    },
    {
      "name": "cool_plugin_1",
      "config": {
        "google_calendar_id": "cool_calendar_id"
      }
    }
  ]
}
```

JSON schema generation was done using these tools:
- [Transform](https://transform.tools/json-to-json-schema)
- [Code Beautify](https://codebeautify.org/json-to-json-schema-generator)
