Skip to main content
PyPi Package Documentation Status Tests Downloads

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

Installation

pip install gcsa

See Getting started page for more details.

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 creat date and datetime objects in your projects (because its beautiful… just like you).

References

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gcsa-0.3.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

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

gcsa-0.3.0-py2.py3-none-any.whl (27.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gcsa-0.3.0.tar.gz.

File metadata

  • Download URL: gcsa-0.3.0.tar.gz
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

File hashes

Hashes for gcsa-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fbbf4e4438d61e4cac87adb5e12d84dbc3451bf6d19fe3b5ca59d2e90b258d20
MD5 fd004977022aeaa800189fd767917b65
BLAKE2b-256 d9db5618ffc3a342f6530560966dd3fb326282ef93ccaac29cc083095681ecbd

See more details on using hashes here.

File details

Details for the file gcsa-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gcsa-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

File hashes

Hashes for gcsa-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ad8e366aa6c1cb76ff4ca9262db8dca6577e1f9e5780f825316cd9d3e43eb008
MD5 bc40f10a048068556fd8ff9f6c74e798
BLAKE2b-256 c6dcd8259899cbc8b8ba23ae3580a2b12defb155ffc4468d20629687bc4ccfbd

See more details on using hashes here.

Release history Release notifications | RSS feed

2.7.0

2 files

2.6.0

2 files

2.5.1

2 files

2.5.0

2 files

2.4.0

2 files

2.3.0

2 files

2.2.0

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.0

2 files

1.0.1

2 files

1.0.0

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.1

2 files

0.1.4

2 files

0.1.2

2 files

0.1.1

2 files

Supported by

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