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
Example usage
from gcsa.google_calendar import GoogleCalendar
from gcsa.event import Event
from gcsa.recurrence import Recurrence, DAILY
calendar = GoogleCalendar('your_email@gmail.com')
event = Event(
'Breakfast',
start=date(2020, 6, 14),
recurrence=Recurrence.rule(freq=DAILY),
minutes_before_email_reminder=50
)
calendar.add_event(event)
for event in calendar:
print(event)
See documentation for more parameters and functionality.
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.2.1.tar.gz
(19.1 kB
view details)
Built Distribution
gcsa-0.2.1-py2.py3-none-any.whl
(24.1 kB
view details)
File details
Details for the file gcsa-0.2.1.tar.gz
.
File metadata
- Download URL: gcsa-0.2.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f89f7efafb73aa23e31024788f1fa00ae46a26dc7f71b98a9a97bb4422a2bce7
|
|
MD5 |
008cb3ebc5dcc835df7c790ce3e9dde8
|
|
BLAKE2b-256 |
d6f30ab2b1f61ba9ef0fc199acdb263f82138f861070d1084f2448d40494c707
|
File details
Details for the file gcsa-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: gcsa-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b34f779626bddec580c2e81d2a1aeed11b4529048b4e473ee9c884a4e83c4e8b
|
|
MD5 |
e1c35895b4561a5254f07d250a039776
|
|
BLAKE2b-256 |
3033a476bf1e2b834d0d05c8ae6164aa1a28ce04eb547241365e08edb8af4433
|