CortexFlow plugin — list upcoming Google Calendar events.
Project description
cortexflow-google-calendar
Example CortexFlow plugin: a calendar_list_events tool that lists upcoming
events from a Google Calendar via Calendar API v3.
Install
pip install -e ./cortexflow-sdk # not yet on PyPI
pip install -e examples/plugins/cortexflow-google-calendar
Setup
This tool expects an OAuth2 access token with the
https://www.googleapis.com/auth/calendar.readonly scope, set as
GOOGLE_CALENDAR_ACCESS_TOKEN. Obtaining and refreshing that token (the
OAuth consent flow against Google's identity service) is outside this
plugin's scope — wire it up via your own token-refresh job or a library like
google-auth-oauthlib.
Usage
from cortexflow_google_calendar import GoogleCalendarEventsTool
tool = GoogleCalendarEventsTool(access_token="ya29....")
result = await tool.execute(calendar_id="primary", limit=5)
print(result.output)
Once installed alongside the CortexFlow gateway, PluginRegistry.discover()
finds it via the cortexflow.plugins entry point declared in
pyproject.toml.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cortexflow_google_calendar-0.1.2.tar.gz.
File metadata
- Download URL: cortexflow_google_calendar-0.1.2.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f09e7a0c2c34ead3ed4d24edfb7f3c249fbebde203f266d5ce2642451cf7916
|
|
| MD5 |
098297762520908e7f1ae9de8f6263c8
|
|
| BLAKE2b-256 |
3612250a35ad31d0b06ee2191e16dfc0a02a94f5c7f142c4ed9992a637eaea5c
|
Provenance
The following attestation bundles were made for cortexflow_google_calendar-0.1.2.tar.gz:
Publisher:
publish-pypi.yml on TheAmitChandra/CortexFlow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cortexflow_google_calendar-0.1.2.tar.gz -
Subject digest:
5f09e7a0c2c34ead3ed4d24edfb7f3c249fbebde203f266d5ce2642451cf7916 - Sigstore transparency entry: 1970681250
- Sigstore integration time:
-
Permalink:
TheAmitChandra/CortexFlow@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Branch / Tag:
refs/tags/calendar-plugin-v0.1.2 - Owner: https://github.com/TheAmitChandra
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Trigger Event:
release
-
Statement type:
File details
Details for the file cortexflow_google_calendar-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cortexflow_google_calendar-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
219a81630680d69ef506209a523c9f66cefb6387d86b15b14a844c7ea44eb837
|
|
| MD5 |
1921a73504f5504a80ac568be5885a29
|
|
| BLAKE2b-256 |
ff96aa2157b726da2e9cd95a395d17c5af41fa017e85c7c4fdf1133bd8010139
|
Provenance
The following attestation bundles were made for cortexflow_google_calendar-0.1.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on TheAmitChandra/CortexFlow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cortexflow_google_calendar-0.1.2-py3-none-any.whl -
Subject digest:
219a81630680d69ef506209a523c9f66cefb6387d86b15b14a844c7ea44eb837 - Sigstore transparency entry: 1970681317
- Sigstore integration time:
-
Permalink:
TheAmitChandra/CortexFlow@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Branch / Tag:
refs/tags/calendar-plugin-v0.1.2 - Owner: https://github.com/TheAmitChandra
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77e3b1a88a7d11aa5e1676e2e2dc287f577117bc -
Trigger Event:
release
-
Statement type: