Skip to main content

FlashcardsXBlock

An Open edX platform XBlock to create and display flashcards.

Installation

In a Tutor deployment, you can add it to OPENEDX_EXTRA_PIP_REQUIREMENTS, installing from git:

OPENEDX_EXTRA_PIP_REQUIREMENTS:
- git+https://github.com/open-craft/FlashcardsXBlock.git@main

Or from a Pypi release:

OPENEDX_EXTRA_PIP_REQUIREMENTS:
- FlashcardsXBlock==1.0.1

Usage

Once the Flashcards XBlock is installed in the Open edX environment, you can navigate to the "Advanced settings" of the course in Studio or Authoring, then add "flashcards" to the "Advanced module list".

Then navigate to the unit in the course where you want to add a Flashcards component, and select "Flashcards" from the "Advanced" component list.

Screenshots

Student view:

student view: starting screen

student view: a flashcard

Editing modal in Authoring:

edit view: edit screen one, where you can select theming

edit view: edit screen two, where you can enter flashcard content

Development notes

  • There is a Github workflow that automatically creates Pypi releases when you create a release on Github.

Frontend

The frontend is built using Typescript and React; it must be built before it can be used. See ./mise.toml and ./frontend/package.json for available tasks. An example development workflow could look something like this:

# install dependencies
mise run frontend-install

# run a development server with hot-reloading
mise run frontend-dev

# edit the frontend files

# when ready, kill the dev server, and build the frontend.
# If you have this XBlock installed on your Open edX devstack, you can then refresh the page to see updates in live components in a course on the devstack.
mise run frontend-build

# check the unit tests
mise run frontend-test

Want to contribute?

If you have a suggestion, question or found a bug, please open an issue.

If you would like to contribute code, please open a pull request with details about the changes that you propose.

Metadata

Release files for FlashcardsXBlock 1.1.1

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

Source distribution (sdist)

Source distribution for FlashcardsXBlock 1.1.1
File Size Uploaded
flashcardsxblock-1.1.1.tar.gz 789.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for FlashcardsXBlock 1.1.1
File Interpreter ABI Platform
flashcardsxblock-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / flashcardsxblock-1.1.1.tar.gz

Download URL flashcardsxblock-1.1.1.tar.gz
Size 789.1 kB
Tags Source
SHA-256 checksum
How to use checksums
185ab1ca8db720701e9b93b20cedc8294a5f22dee31e1ce75652209ddffe328b
BLAKE2b-256 checksum
How to use checksums
c7099ced8df73dc7854053b24b8fe214d93ac37d62ddee68c89c9d17cf03b724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / flashcardsxblock-1.1.1-py3-none-any.whl

Download URL flashcardsxblock-1.1.1-py3-none-any.whl
Size 794.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1a6e0519cb336a4495952148e42d2d4cb18268a21ed4611a2e1d598e6247b66
BLAKE2b-256 checksum
How to use checksums
ecc128b51f00306da459a1192d55f1e6c093512a3f0fa1fc9bee530608c63239
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
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