Skip to main content

Google Calendar Download/Upload

Project description

カレンダー登録機能

Googleカレンダーの編集を補完するために以下の機能を提供します

  • GoogleカレンダーからイベントをダウンロードしExcelファイルに記入する
  • Excelファイルの内容をGoogleカレンダーに登録する

Excelファイルを介することによりイベントの一覧性を高め、全体を見渡した編集を行いやすくしています。

想定するワークフロー

  1. Googleカレンダーをダウンロード

    hinocal download

  2. Excel編集

    新規イベントを記入したり、既存のイベントを修正する。

  3. Excelデータをアップロード

    hinocal upload

Excelフォーマット

開始日 終了日 行事 内容 作成日 更新日 イベントID
  • 開始日 イベントの開始日。時間を記入する必要はない。同じ日のイベントでも別の行に記載すること。1イベント1行です。
  • 終了日 イベントの終了日。この日を含む予定として作成される。一日のみのイベントの場合は記入不要。
  • 行事 イベントの名称
  • 内容 イベントの内容。補足事項など
  • 作成日 システムで管理する値。記入不要。カレンダーイベントの作成日
  • 更新日 システムで管理する値。記入不要。カレンダーイベントの更新日
  • イベントID システムで管理するID。記入不要。プログラムを実行して登録処理を行うとここにIDが記入される。この値は変更してはいけない。

コマンドでGoogleカレンダーをダウンロードすると同じ形式のファイルが作成されるので雛形として使用できます。

新年度、イベント登録がない状態でダウンロードすると空の雛形ファイルとして使用できます。

開始日、行事を空白にし、イベントIDが残っているとそのイベントをカレンダーから削除します。

イベントIDを不用意に消さないようにシートに保護をかけています。編集する際に不便な場合は保護を解除してください。ただし、その際はイベントIDが修正されないようにご注意ください。

Googleカレンダーへのアクセス設定

以下の記事を参考にGoogleカレンダーへアクセスできるように準備してください。

https://developers.google.com/calendar/api/quickstart/python?hl=ja

上記のリンク先で以下のような作業を行っています。

  • APIを有効にする
  • OAuth同意画面を構成する
  • デスクトップアプリケーションの認証情報を承認する
    • credentials.jsonを作成します
  • Googleクライアントライブラリをインストールする
    • このコマンドに含まれているためインストール不要です

hinocalコマンド初回実行時にはGoogleの認証処理が行われます。ブラウザを操作して適宜認証してください。

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

hinocal_ecr33-1.0.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hinocal_ecr33-1.0.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file hinocal_ecr33-1.0.0.tar.gz.

File metadata

  • Download URL: hinocal_ecr33-1.0.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for hinocal_ecr33-1.0.0.tar.gz
Algorithm Hash digest
SHA256 25b46113be6ca35e765e35f7b3fb0852f0066468d1c7e2a29109f8312e78e1c7
MD5 4cc0cc12e95053f7f61b0928d1f13251
BLAKE2b-256 61e460b320a0e2f17d3d1dc958cd8ecf99319cb836d4f0cdcfc25ea141bb2ea1

See more details on using hashes here.

File details

Details for the file hinocal_ecr33-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hinocal_ecr33-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for hinocal_ecr33-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d62efd0ecfd83a64ef7d52230c85dee4f5a10db9133de1922e33b38ded967ace
MD5 53383ad62e5c27a5df92219397e12c53
BLAKE2b-256 f6fd384a65098da3b3fa8ab7322257b55a1a7ca4666b79ab3924bc9d2ce50bff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page