Skip to main content

Create Google Calendar event URLs interactively from a natural language description, leveraging LLMs with an OpenAI Chat Completions-compatible API and user edits.

Project description

llmgcalparse

Create Google Calendar event URLs interactively from a natural language description, leveraging LLMs with an OpenAI Chat Completions-compatible API and user edits.

Features

  • Conversational Extraction: Uses an LLM to extract structured event details from a free-form description.
  • Flexible Backends: Works with any LLM with an OpenAI Chat Completions-compatible API.
  • User-in-the-loop Editing: Edit each LLM-suggested field (title, times, description, location) for accuracy.
  • Automatic URL Generation: Generates a ready-to-use Google Calendar event creation link.

Usage

llmgcalparse --api-key=YOUR_API_KEY --base-url=BASE_URL --model=MODEL_NAME
  • --api-key: (Required) Your API key for the LLM service
  • --base-url: (Required) Base URL of the LLM API endpoint
  • --model: (Required) AI model to use (e.g., gpt-4.1)

Each step uses get-unicode-multiline-input-with-editor to prompt you in your default text editor (like git), so you have full control over what is sent to Google Calendar.

$ llmgcalparse --api-key=sk-xxxxx --base-url=https://my-llm-api/v1 --model=my-model-name

# Enter natural language description of event above. Lines starting with # will be ignored.
Project demo with Alice at 11am July 1st, 2024 via Zoom. Lasts one hour.

Model-generated event title: '''Project demo with Alice'''
[editor opens, you confirm or edit...]

Model-generated start datetime (YYYYMMDDTHHMMSS): '''20240701T110000'''
[editor lets you fix/confirm dates...]

...

Generated Google Calendar Event URL: 
https://calendar.google.com/calendar/render?action=TEMPLATE&text=Project%20demo%20with%20Alice&...

Installation

pip install llmgcalparse

After installation, run it as llmgcalparse.

Vision

Harness the generative power of AI while respecting the proven workflows of programmers.

Professional developers and power users rely on flexible, scriptable, and transparent toolchains—often centered around the Unix terminal and text editors. While modern large language models are powerful assistants, most AI tools are designed for web or desktop GUIs, making them isolated from the daily routines of experienced programmers.

This project aims to bridge that gap.

We envision a future where:

  • LLM-driven tools are accessible directly from the command line and within editors, enhancing efficiency without disrupting established workflows.
  • AI-generated content (code, prose, configuration, documentation) always lands in a place where it can be reviewed, edited, and curated by the human developer before use.
  • Automation and creativity are augmented, not replaced, by AI: human judgment and oversight remain fundamental.
  • Command-line and scriptable tools powered by LLMs are as composable, hackable, and reliable as their traditional counterparts.
  • Transparency, simplicity, and user control are at the core—even as we extend what's possible with powerful generative models.

By bringing generative AI into classic, trusted environments, we empower developers to move faster, automate more, and discover new ways to build—without sacrificing clarity or control.

Contributing

Contributions are welcome! Please submit pull requests or open issues on the GitHub repository.

License

This project is licensed under the MIT License.

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

llmgcalparse-0.1.0a7.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

llmgcalparse-0.1.0a7-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file llmgcalparse-0.1.0a7.tar.gz.

File metadata

  • Download URL: llmgcalparse-0.1.0a7.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for llmgcalparse-0.1.0a7.tar.gz
Algorithm Hash digest
SHA256 e6b444b4dfd7f90388630b29b5a2b9e66d0474482a319475ed11fcc0ab9dd0f2
MD5 93322bfb8ff176be29cdd1209df0ebb6
BLAKE2b-256 cafda965388761feb4cc9de6b5a271af55ff4e9a969c2f6f759fb7bf74508c60

See more details on using hashes here.

File details

Details for the file llmgcalparse-0.1.0a7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for llmgcalparse-0.1.0a7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a0a74d1ba452f6367955f347c28d75f8ee8a80bd9e531abdc5030a04927c09cd
MD5 4420ed9b65b6d625cfcda433a67c21aa
BLAKE2b-256 88df573da0eb062d1903f585e8dbe028e1682d5320f1455d74d492d351cafc72

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