Skip to main content

Open edX hooks definitions and utilities.

Project description

PyPI CI Codecov Supported Python versions License

openedx-hooks is a python library that contains the common definitions (django signals) and utilities for the Open edX hooks framework.

Documentation

(TODO: Set up documentation)

Development Workflow

One Time Setup

# Clone the repository
git clone git@github.com:edx/openedx-hooks.git
cd openedx-hooks

# Set up a virtualenv using virtualenvwrapper with the same name as the repo and activate it
mkvirtualenv -p python3.8 openedx-hooks

Every time you develop something in this repo

# Activate the virtualenv
workon openedx-hooks

# Grab the latest code
git checkout master
git pull

# Install/update the dev requirements
make requirements

# Run the tests and quality checks (to verify the status before you make any changes)
make validate

# Make a new branch for your changes
git checkout -b <your_github_username>/<short_description>

# Using your favorite editor, edit the code to make your change.
vim …

# Run your new tests
pytest ./path/to/new/tests

# Run all the tests and quality checks
make validate

# Commit all your changes
git commit …
git push

# Open a PR and ask for review.

License

The code in this repository is licensed under the AGPL 3.0 unless otherwise noted.

Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome. Please read How To Contribute for details. Even though they were written with edx-platform in mind, the guidelines should be followed for all Open edX projects.

The pull request description template should be automatically applied if you are creating a pull request from GitHub. Otherwise you can find it at PULL_REQUEST_TEMPLATE.md.

The issue report template should be automatically applied if you are creating an issue on GitHub as well. Otherwise you can find it at ISSUE_TEMPLATE.md.

Reporting Security Issues

Please do not report security issues in public. Please email security@edx.org.

Getting Help

If you’re having trouble, we have discussion forums at https://discuss.openedx.org where you can connect with others in the community.

Our real-time conversations are on Slack. You can request a Slack invitation, then join our community Slack workspace.

For more information about these options, see the Getting Help page.

Change Log

Unreleased

[0.1.0] - 2021-04-07

Added

  • First release on PyPI.

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

openedx-hooks-0.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

openedx_hooks-0.1.0-py2.py3-none-any.whl (17.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file openedx-hooks-0.1.0.tar.gz.

File metadata

  • Download URL: openedx-hooks-0.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for openedx-hooks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 69a5176680c437de5f8abf2c7d44826609a8d3eb6233875ce50661f58416de9b
MD5 a93450e1eac85524987031457daff786
BLAKE2b-256 61fbcd900fffece0d2fa305032894a9adcfeace96430a44e6d868257c36b7166

See more details on using hashes here.

File details

Details for the file openedx_hooks-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: openedx_hooks-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for openedx_hooks-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fd7aea9253f811fb2e9d1d333789f316a2dbd5d6c96ab1209f980becc33beb5c
MD5 10d2aa8533f34f23e0f9894fcd266cee
BLAKE2b-256 71c10d1fde1b9b54090406df4551aace08afbbe81bc7d136c9b723dee76460ab

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