<commit_before># Google Calendar Simple API

Simple adapter for https://github.com/googleapis/google-api-python-client

Example usege:

    from beautiful_date import *
    from gcsa import GoogleCalendar, Event, rule, DAILY
    
    calendar = GoogleCalendar('<EMAIL>')
    event = Event(summary="Breakfast", start=12/Dec/2018, recurrence=rule(freq=DAILY))
    calendar.add_event(event)
    
    ...
    
    for event in calendar.get_events():
        print(event.start, event.summary)

The idea is to keep all the functionality of the original API, but simplify implementation of the most popular cases.


![alt tag](http://alfaraj-group.com/wp-content/uploads/2016/09/underConstruction.png)<commit_msg>Be Pythonic!<commit_after># Google Calendar Simple API

Simple adapter for https://github.com/googleapis/google-api-python-client

Example usege:

    from beautiful_date import *
    from gcsa import GoogleCalendar, Event, rule, DAILY
    
    calendar = GoogleCalendar('<EMAIL>')
    event = Event("Breakfast", start=12/Dec/2018, recurrence=rule(freq=DAILY))
    calendar.add_event(event)
    
    ...
    
    for event in calendar:
        print(event.start, event.summary)
        repr(event)  # => <Event 'Breakfast' at 12/Dec/2018>

The idea is to keep all the functionality of the original API, but simplify implementation of the most popular cases, provide Pythonic API.


![alt tag](http://alfaraj-group.com/wp-content/uploads/2016/09/underConstruction.png)
{'fraction_non_alphanumeric': 0.10658520027155464, 'fraction_numerical': 0.020366598778004074, 'mean_word_length': 3.7243589743589745, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1707040', 'n_tokens_mistral': 465, 'n_tokens_neox': 424, 'n_words': 120}