Skip to content

FEDI-HASSINE/Canvas-Files-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PDF Merger for Canvas Files

A Python script to collect, organize, and merge files from Canvas classes/modules into a singular PDF file.

Features

  • Fetch lecture notes dynamically from Canvas.
  • Merge all notes into a single PDF for easy access.
  • Configurable through environment variables for reusability.

Requirements

  • Python 3.8+
  • Canvas API access
  • Environment variables properly set

Setup

  1. Clone the repository:

    git clone https://github.com/ishaankor/canvas-files-merger.git
    cd canvas-files-merger
  2. Install dependencies:

    pip install -r requirements.txt
  3. Configure .env:

    API_URL=https://your-canvas-api-url
    API_KEY=your-canvas-api-key
    COURSE_ID=your-course-id
    INSTITUTION_URL=https://your-institution-url
    NOTE_FOLDER_DIRECTORY=/path/to/your/notes
    COMBINED_NOTES_DIRECTORY=/path/to/output/combined-notes.pdf
    SENDER_EMAIL=your-email@example.com
    RECEIVER_EMAIL=receiver-email@example.com
    EMAIL_PASSWORD=your-email-password
    MODULE_ITEM_IDS=[]
    
  4. Run the script:

    python notes_synthesizer.py

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Python script to collect, organize, and merge files from Canvas into a single PDF file.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages