Skip to main content

Command-line Interface for Google Calendar

Project description

Command-line Interface for Google Calendar

PyPI version Build Status Coverage Status License 'Stories in Ready'


  • Python: 2.6 / 2.7

  • six

  • python-dateutil

  • pytz

  • tzlocal

  • google-api-python-client

  • argparse

  • mog-commons


  • pip command may need sudo




pip install gcalendar-cli


pip install --upgrade gcalendar-cli


pip uninstall gcalendar-cli

Check installed version

calendar-cli --version


calendar-cli -h

Getting Started

  1. Download client_secret.json from Google Developers Console

  • Open Google API Manager

  • Select or create a project

  • Open API Manager -> Credentials

    • OAuth consent screen: Set a product name and save

    • Credentials: Add credentials -> OAuth 2.0 client ID -> Other: Set a name and create

    • Download a credential file by clicking the Download JSON button, then rename it client_secret.json

  1. Create a credentials file

calendar-cli setup client_secret.json

The default path to the credentials file is ~/.credentials/calendar-cli.json.

  1. Print the summary of today’s events on the default calendar

  • Launch with arguments

calendar-cli --date 20151014
calendar-cli --calendar

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

gcalendar-cli-0.2.3.tar.gz (8.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page