Giter Site home page Giter Site logo

calendars's Introduction

Outlook and Google Calendars

Create and remove events to Outlook and Google calendars.

Library

The module calendars.py has the OutlookCalendar and GoogleCalendar classes that manage the creation and removal of entries, given dates and the events names.

The events are hard-coded to be simple, with only start date and time and title as parameters. Other properties are hard-coded.

Outlook calendar is handled locally using a locally installed Outlook via the win32com windows library.

Google Calendar is handled via the Google API, which must be properly setup and the credentials saved to a local file named credentials.json. During first use, you'll be requested to log in, which will create a token file token.json. To get started with Google API, refer to the Google Python API.

App

The app app_cals.py is a simple example tool that creates calendar events in both Outlook and Google, according to a school pick-up and drop-off weekly schedule.

The main input are week numbers, so events will be created from Monday to Fridays of those weeks, at the input time parameter titled after the subject parameter if the input dictionary, which is simply a global list in the app.

calendars's People

Contributors

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