GithubHelp home page GithubHelp logo

mcw_powerpoint's Introduction

mcw_powerpoint

This project tries to automate some repetative tasks we do in the American Red Cross Mass Care Webinar Team.

The model is to add tags to our main powerpoint's notes section, and then extract them to two files:

  • a file that has announcements we will make in the Q&A panel of the webinar at the proper slide

  • a speaker timings file that shows which speaker is doing which slide. This file allows us to track the webinar total time, and who should be on camera at each slide

Configuring

There are two configuration files: config.py and .env.

The major difference is: .env is not checked into git and should hold all security-sensitive values.

config.py can have arbitrary python statements.

These values must be defined for the program to work:

  • TENANT_IDthe red cross azure tenant GUID
  • CLIENT_IDthe application id for this client in azure
  • CLIENT_SECRETthe application secret. Be sure to note the expiration time of the secret and add it as a comment in the .env file
  • DRIVE_IDthe id of the Document Folder for the MCW team.

TENANT_ID and DRIVE_ID are probably not 'secret', but for now all the parameters are in the .env file

Running

This project uses pipenv to manage dependencies and virtual environments. There are several ways to install pipenv; I usually use the platform pip to install a local per-user copy, and add that to my path.

The project should be relatively flexible as to python versions; any relatively recent python3 version should work. I tested on fedora 39 with python 3.12.

The rest of these instructions assume you are at the top of the git repo

# install a virtual env; use your python version
PYTHON_VERSION="3.12"
pipenv --python "$PYTHON_VERSION"

# install required packages
pipenv --sync

# show valid arguments
pipenv run ./main.py --help

# do a default run with debug output
pipenv run ./main.py --debug

mcw_powerpoint's People

Contributors

neilkatin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.