Skip to main content

Generates markdown repositories for university mathematics modules based on raw material provided by the university.

Project description

Module Content Generation Tool

Overview

The Module Content Generation Tool is designed to automate the creation of educational content, specifically tailored for university modules. Utilizing Python, it generates markdown files for module pages, classes, summaries, and revision materials, streamlining the process of content creation for educators and students alike.

Features

  • Automated Markdown Generation: Creates markdown files for module overviews, class content, summary questions, summary notes, practice tests, and flashcards.
  • Comprehensive Data Handling: Parses and generates content from various data sources, including lecture slides, notes, and PDFs, ensuring a wide range of educational materials are covered.
  • Customizable Output: Offers flexibility in the generated content, allowing for adjustments to fit specific module requirements or teaching styles.
  • Enhanced Logging and Error Handling: Incorporates advanced logging for monitoring the generation process and robust error handling mechanisms for a smooth operation.

Getting Started

Prerequisites

Ensure you have Python 3.8 or higher installed on your system. Dependencies include:

  • fitz for PDF reading,
  • Jinja2 for templating markdown files,
  • OpenAI for utilizing GPT models in content generation.

Installation

  1. Clone the repository to your local machine.
  2. Install the required dependencies:
    pip install -r requirements.txt
    

Usage

  1. Place your input files (lecture slides, notes, etc.) in the designated input directory, ensuring to number classes as "1.pdf", "2.pdf", etc.
  2. Run main.py to start the content generation process:
    python main.py
    
  3. Follow the prompts and logs for any required manual inputs or corrections.
  4. Generated markdown files will be available in the output directory, ready for review and use.

Contributing

Contributions to the Module Content Generation Tool are welcome. Please follow the standard fork, branch, and pull request workflow.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

  • Utilizes GPT models from OpenAI for content generation.
  • Inspired by the need for efficient educational content creation.

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

unimdgen-0.6.1.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

unimdgen-0.6.1-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file unimdgen-0.6.1.tar.gz.

File metadata

  • Download URL: unimdgen-0.6.1.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10

File hashes

Hashes for unimdgen-0.6.1.tar.gz
Algorithm Hash digest
SHA256 780a033323f1ecf95533b22bd2d325d8589c5a4f6b35cebd3cccfca185f951e0
MD5 6e48c247cf77f8308731ba525dacf405
BLAKE2b-256 801b7779443de4da25456584f52d02324357b5c46c203a3d5995cfe57e3060c9

See more details on using hashes here.

File details

Details for the file unimdgen-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: unimdgen-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.1 Windows/10

File hashes

Hashes for unimdgen-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6476881401b37ee513002ba98edd856e5eaf2ab929772d8fc8029d4c48ea24ca
MD5 40feaeb46ba85cbe6faf3a2605307d5c
BLAKE2b-256 eef03960b37d88c1b107bd027c1b86abbcb0f9157af1da43206d98b755c5bb64

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