Skip to main content

NeuralCleave plugin — list upcoming Google Calendar events.

Project description

neuralcleave-google-calendar

Example NeuralCleave plugin: a calendar_list_events tool that lists upcoming events from a Google Calendar via Calendar API v3.

Install

pip install -e ./NeuralCleave-sdk        # not yet on PyPI
pip install -e examples/plugins/neuralcleave-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 neuralcleave_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 NeuralCleave gateway, PluginRegistry.discover() finds it via the NeuralCleave.plugins entry point declared in pyproject.toml.

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

neuralcleave_google_calendar-0.1.3.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

neuralcleave_google_calendar-0.1.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file neuralcleave_google_calendar-0.1.3.tar.gz.

File metadata

File hashes

Hashes for neuralcleave_google_calendar-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e11d46e52922240f9923fd980f21d2b340d430e70ac86920ac7929c970b3ab03
MD5 c65b3c0b1f73dde000af6ebdb7676123
BLAKE2b-256 fa99388cc29fec0cddb525ad2fe8c1c60efd6a48dbec95e2b1c0341e8f39a1c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuralcleave_google_calendar-0.1.3.tar.gz:

Publisher: publish-pypi.yml on TheAmitChandra/NeuralCleave

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neuralcleave_google_calendar-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for neuralcleave_google_calendar-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78bb92c7d8f2ba684168a4c066393139c41a6c1b304bd08f33be2c9e8b275147
MD5 b81b7269cb8fba0208b1a4875372d444
BLAKE2b-256 3dbd8c3976383efbe87c09bf8bbb70f0c4ca177bdd45607c67271a4461b7a869

See more details on using hashes here.

Provenance

The following attestation bundles were made for neuralcleave_google_calendar-0.1.3-py3-none-any.whl:

Publisher: publish-pypi.yml on TheAmitChandra/NeuralCleave

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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