Skip to main content

Command-line Interface for Google Calendar

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

Dependencies

  • Python: 2.6 / 2.7

  • six

  • python-dateutil

  • pytz

  • tzlocal

  • google-api-python-client

  • argparse

  • mog-commons

Installation

  • pip command may need sudo

Operation

Command

Install

pip install gcalendar-cli

Upgrade

pip install --upgrade gcalendar-cli

Uninstall

pip uninstall gcalendar-cli

Check installed version

calendar-cli --version

Help

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

calendar-cli
  • Launch with arguments

calendar-cli --date 20151014
calendar-cli --calendar xxxxxx@group.calendar.google.com

Metadata

Release files for gcalendar-cli 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcalendar-cli 0.2.3
File Size Uploaded
gcalendar-cli-0.2.3.tar.gz 8.8 kB Details

Release files / gcalendar-cli-0.2.3.tar.gz

Download URL gcalendar-cli-0.2.3.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c78402f45e45c295a418d4d9fb7cb0fc406007f7f7c49d7409802c3f66614872
BLAKE2b-256 checksum
How to use checksums
3ea79bdc93ce57207633b119999e2ed22c1786c51cdf3da598dd5d7f86c36d28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page