Google Calendar Simple API
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
Release files for gcsa 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcsa-0.3.0.tar.gz | 21.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcsa-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 49.7 kB
Release files / gcsa-0.3.0.tar.gz
| Download URL | gcsa-0.3.0.tar.gz |
|---|---|
| Size | 21.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbbf4e4438d61e4cac87adb5e12d84dbc3451bf6d19fe3b5ca59d2e90b258d20
|
|
BLAKE2b-256 checksum How to use checksums |
d9db5618ffc3a342f6530560966dd3fb326282ef93ccaac29cc083095681ecbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / gcsa-0.3.0-py2.py3-none-any.whl
| Download URL | gcsa-0.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ad8e366aa6c1cb76ff4ca9262db8dca6577e1f9e5780f825316cd9d3e43eb008
|
|
BLAKE2b-256 checksum How to use checksums |
c6dcd8259899cbc8b8ba23ae3580a2b12defb155ffc4468d20629687bc4ccfbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|