EoxHooks
Project description
Features
Installation
Open edX devstack
Clone this repo in the src folder of your devstack.
Open a new Lms/Devstack shell.
Install the plugin as follows: pip install -e /path/to/your/src/folder
Restart Lms/Studio services.
Usage
Before using eox-hooks, this plugin must be configured using EOX_HOOKS_DEFINITIONS:
{
"trigger_event": {
"module": "path_to_module",
"action": "action_name",
"fail_silently": True,
},
}
Where:
trigger_event: is the name of the signal sent by the platform. For example: pre_enrollment_trigger.
module: path to the module where the action to be executed is defined. For example: eox_hooks.tests.tests_utils.
action: name of the action to be executed. For example: custom_action.
fail_silently: defines what happens if an exception raises while executing the action. If False, then the exception is raised.
Contributing
Add your contribution policy. (If required)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eox-hooks-0.3.0.tar.gz.
File metadata
- Download URL: eox-hooks-0.3.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8dca6cbbfd93fe44c4294dca465fb47c6dbc5f45fa111cbf0af5347cb7ed02a
|
|
| MD5 |
e783b8ba2ba6c50a409dfb322d7f31f6
|
|
| BLAKE2b-256 |
0783cbe738fe514be53b05033931443155ea43341b96d580ae2f95acbe66ef87
|
File details
Details for the file eox_hooks-0.3.0-py3-none-any.whl.
File metadata
- Download URL: eox_hooks-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa8f2783b00ea030d744a8597a1f4ed29ccf55ec99261f57620a6f55cf1513d
|
|
| MD5 |
f63308e685bad2b1b33d0bba32c8ec60
|
|
| BLAKE2b-256 |
fb3ea4b082b9178cad8236778ca37a66ed0e2ae7ca4f3e50bf1eeaa347f4e0d5
|