Skip to main content

openedx-calc

PyPI CI Codecov Documentation Supported Python versions License status-badge

Purpose

A helper library for mathematical calculations and symbolic mathematics, used by the edx-platform.

This code originally lived in the edx-platform repo, but now exists here independently.

Getting Started with Development

General

Please see the Open edX documentation for guidance on Python development in this repo.

Instructions

Fork and clone the repository, then open a terminal and cd into the repo folder.

Install uv, then install the dependencies:

make requirements
source .venv/bin/activate

This creates and manages its own virtual environment via uv sync, using one of the python versions specified for the repo (currently 3.12) – there’s no need to create one yourself.

Then you can run the tests with just tox.

When Upgrading Requirements

Run make upgrade to get new versions, then source .venv/bin/activate and tox -r to build the new virtual environment.

Getting Help

Documentation

PLACEHOLDER: Start by going through the documentation. If you need more help see below.

(TODO: Set up documentation)

More 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 anything non-trivial, the best path is to open an issue in this repository with as many details about the issue you are facing as you can provide.

https://github.com/openedx/openedx-calc/issues

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

License

The code in this repository is licensed under version 3 of the AGPL unless otherwise noted. Please see the LICENSE file for details.

Contributing

Contributions are very welcome. Please read How To Contribute for details.

This project is currently accepting all types of contributions, bug fixes, security fixes, maintenance work, or new features. However, please make sure to discuss your new feature idea with the maintainers before beginning development to maximize the chances of your change being accepted. You can start a conversation by creating a new issue on this repo summarizing your idea.

Because this repo is used for a wide variety of mathematical calculations, including learner grades, it may occasionally be desirable to maintain bug-for-bug compatibility with previous versions. Additions to the repo are more likely to be accepted than changes that could alter the outputs of existing functions.

The Open edX Code of Conduct

All community members are expected to follow the Open edX Code of Conduct.

People

The assigned maintainers for this component and other project details may be found in Backstage. Backstage pulls this data from the catalog-info.yaml file in this repo.

Reporting Security Issues

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

Metadata

Release files for openedx-calc 5.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 openedx-calc 5.1.0
File Size Uploaded
openedx_calc-5.1.0.tar.gz 94.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openedx-calc 5.1.0
File Interpreter ABI Platform
openedx_calc-5.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 131.2 kB

Release files / openedx_calc-5.1.0.tar.gz

Download URL openedx_calc-5.1.0.tar.gz
Size 94.0 kB
Tags Source
SHA-256 checksum
How to use checksums
461e166d94cedb117d4347c0f109d86f046d7dd5170907b85b7654a0c0b902cd
BLAKE2b-256 checksum
How to use checksums
a15ef78e1ba0f58a7c6cdb905d04a1a718d079562abc8264b753e4d8b2b857ad
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 Sep 30, 2026.

Transparency log

Release files / openedx_calc-5.1.0-py3-none-any.whl

Download URL openedx_calc-5.1.0-py3-none-any.whl
Size 37.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e26f7e433700e134e9f7e06162fec46746a61740119cc854b70bf1e3d56a372f
BLAKE2b-256 checksum
How to use checksums
c15a6ddb17240519bc3018dbf51bef57ad54e1306de020394430f843f910e894
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 Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.1.0 This release

2 release files

5.0.0

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

3.1.2

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.9

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

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