GithubHelp home page GithubHelp logo

cshireman / py-announcer Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7.88 MB

Announce the next upcoming event in a google calendar

License: GNU General Public License v3.0

Python 99.81% Shell 0.03% Objective-C 0.05% C 0.11%

py-announcer's Introduction

py-announce

py-announce is a Python tool to announce when an up-coming event in a Google calendar is about to occur. The intention is to help kids stay on schedule as they return to distance learning.

This script is intented to be run from a Raspberry-pi paired with a Bluetooth speaker that can be heard throughout your home.

Installation

Download the code from this repo, then go to https://developers.google.com/calendar/quickstart/python to setup your API key and install the necessary packages. You will also be required to download a credentials.json file from Google into the root of this project.

Usage

I recommend creating a new calendar for the events that will be announced. You can get the calendar ID from the calendar settings in the Google Calendar site.

Once you have installed the credentials you obtained from Google and set the calendar ID do the following:

  1. Create an event in the calendar that will occur in the next 5 minutes.
  2. Run the script. You will be prompted to log-in when it is first run.

Once you confirm the script is working I recommend setting up a cronjob to execute the script every 5 minutes.

Contributing

Tweak and change the script as you like. I'll make updates as I see fit later. PRs are sometimes welcome.

License

GNU GENERAL PUBLIC LICENSE

py-announcer's People

Contributors

cshireman avatar

Watchers

 avatar  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.