Skip to main content

Google Calendar Simple API

PyPi Package Documentation Status Tests Discord

Google Calendar Simple API or gcsa is a library that simplifies event and calendar management in Google Calendars. It is a Pythonic object oriented adapter for the official API. See the full documentation.

Installation

Using uv:

uv add gcsa

Using pip:

pip install gcsa

See Getting started page for more details and installation options.

Example usage

List events

from gcsa.google_calendar import GoogleCalendar

calendar = GoogleCalendar('your_email@gmail.com')
for event in calendar:
    print(event)

Create event

from gcsa.event import Event

event = Event(
    'The Glass Menagerie',
    start=datetime(2020, 7, 10, 19, 0),
    location='Záhřebská 468/21',
    minutes_before_popup_reminder=15
)
calendar.add_event(event)

Create recurring event

from gcsa.recurrence import Recurrence, DAILY

event = Event(
    'Breakfast',
    start=date(2020, 7, 16),
    recurrence=Recurrence.rule(freq=DAILY)
)
calendar.add_event(event)

Suggestion: use beautiful_date to create date and datetime objects in your projects (because it’s beautiful… just like you).

References

Template for setup.py was taken from kennethreitz/setup.py

Metadata

Release files for gcsa 2.7.0

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

Source distribution (sdist)

Source distribution for gcsa 2.7.0
File Size Uploaded Provenance Actions
gcsa-2.7.0.tar.gz 53.6 kB Without provenance Details for gcsa-2.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gcsa 2.7.0
File Interpreter ABI Platform Actions
gcsa-2.7.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for gcsa-2.7.0-py2.py3-none-any.whl

Total release size: 103.5 kB

Release files / gcsa-2.7.0.tar.gz

Download URL gcsa-2.7.0.tar.gz
Size 53.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f2109bffd0d4a4fd941f526c2d3b2895e50206ffa3b5cca34d2ccc5fbb2b1f52
BLAKE2b-256 checksum
How to use checksums
4a4cfc20aa30d1926771c503fde99b4c141a39df078d026aa7293a3ab30ddd91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / gcsa-2.7.0-py2.py3-none-any.whl

Download URL gcsa-2.7.0-py2.py3-none-any.whl
Size 50.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c69631464e6489e4a75b840a08689999893dfd10492f95418daf9e6d6f463ab3
BLAKE2b-256 checksum
How to use checksums
26ff5554c4f491fdce0a1cb6b32e9da7d26274037030a9e6c27efb0fa477528c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for gcsa 2.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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