Skip to main content

edx-bulk-grades

PyPI Travis Codecov Documentation Supported Python versions License

Support for bulk scoring and grading. This adds models and an API for reading and modifying scores and grades in bulk.

Overview

The README.rst file should then provide an overview of the code in this repository, including the main components and useful entry points for starting to understand the code in more detail. edx-bulk-grades is a library that runs under lms. It uses the configuration settings defined in lms as well. In order to use, the library must be installed into edx-platform.

Using with Docker Devstack

Prerequisite: Have your Open edX https://github.com/openedx/devstack properly installed. Note: When you see “from inside the lms” below, it means that you’ve run make lms-shell from your devstack directory and are on a command prompt inside the LMS container.

  1. Clone this repo into ../src/ directory (relative to your “devstack” repo location). This will mount the directory
    in a way that is accessible to the lms container.
  2. From inside the lms, uninstall bulk-grades and reinstall your local copy. You can just copy the following line:

    pip uninstall edx-bulk-grades -y; pip install -e /edx/src/edx-bulk-grades

    Or, you can run the following make command:

    make install-local
  3. Now, get your bulk-grades development environment set up:

    cd /edx/src/edx-bulk-grades
    pip install uv  # if uv isn't already installed in the container
    make requirements
    source .venv/bin/activate

Making Code Changes

  1. Use conventional commit messages. When a PR merges to master, python-semantic-release picks the next
    version from the commit types, then tags it, publishes it to PyPI and creates a GitHub Release.
  2. In order for platform to use the newest version of bulk-grades, it is necessary to run the:

    $ make upgrade

from docker shell of edx-platform. This will increment the version of edx-bulk-grades to the correct one.

  1. Once the code from step 2 is merged, this will trigger deployment of the correct versions of edx platform and bulk-grades.

Unit Testing

mock_apps folder: Since bulk_grades depends on platform during actual runtime, for unit tests, we need to mock various endpoints and calls. To this end, they are mocked in the mock_apps folder.

Since edx-bulk grades runs under platform, it is necessary to connect to platform docker:

$ make lms-shell

followed by:

$ cd /edx/src/edx-bulk-grades
make test

This will run the unit tests and code coverage numbers

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.

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@openedx.org.

Getting Help

Have a question about this repository, or about Open edX in general? Please refer to this list of resources if you need any assistance.

Metadata

Release files for edx-bulk-grades 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edx-bulk-grades 2.1.0
File Size Uploaded Provenance Actions
edx_bulk_grades-2.1.0.tar.gz 34.6 kB With provenance Details for edx_bulk_grades-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for edx-bulk-grades 2.1.0
File Interpreter ABI Platform Actions
edx_bulk_grades-2.1.0-py3-none-any.whl Python 3 none any Details for edx_bulk_grades-2.1.0-py3-none-any.whl

Total release size: 65.2 kB

Release files / edx_bulk_grades-2.1.0.tar.gz

Download URL edx_bulk_grades-2.1.0.tar.gz
Size 34.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fc2bca4cbf12d628d4a3d3506260c01de60d360ac3a3d0531bafae4b4caf050d
BLAKE2b-256 checksum
How to use checksums
234bc62f9c312e7d009bdc5a0580d2e0dfc71677dfaef1df96db1e02f6f85b45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / edx_bulk_grades-2.1.0-py3-none-any.whl

Download URL edx_bulk_grades-2.1.0-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34104bbbfc7569fb56d048ba703856fef42ee4aaf42f6d31f7a4d342195668b6
BLAKE2b-256 checksum
How to use checksums
78da25562e28e71ff12a795d6f3b4f5919f88de9c216570de569fd92438e81e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for edx-bulk-grades 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for edx_bulk_grades-2.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page