Simple API for Google Calendar management
Project description
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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
gcsa-0.3.0-py2.py3-none-any.whl
(27.7 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fbbf4e4438d61e4cac87adb5e12d84dbc3451bf6d19fe3b5ca59d2e90b258d20
|
|
MD5 |
fd004977022aeaa800189fd767917b65
|
|
BLAKE2b-256 |
d9db5618ffc3a342f6530560966dd3fb326282ef93ccaac29cc083095681ecbd
|
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ad8e366aa6c1cb76ff4ca9262db8dca6577e1f9e5780f825316cd9d3e43eb008
|
|
MD5 |
bc40f10a048068556fd8ff9f6c74e798
|
|
BLAKE2b-256 |
c6dcd8259899cbc8b8ba23ae3580a2b12defb155ffc4468d20629687bc4ccfbd
|