Metadata-Version: 2.1
Name: gcsa
Version: 0.2.1
Summary: Simple API for Google Calendar management
Home-page: https://github.com/kuzmoyev/Google-Calendar-Simple-API
Author: Yevhen Kuzmovych
Author-email: kuzmpvich.goog@gmail.com
License: MIT
Keywords: google calendar simple api recurrence
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: alabaster (==0.7.12)
Requires-Dist: attrs (==19.3.0)
Requires-Dist: Babel (==2.6.0)
Requires-Dist: beautiful-date (==1.0.1)
Requires-Dist: cachetools (==3.0.0)
Requires-Dist: certifi (==2018.11.29)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: docutils (==0.14)
Requires-Dist: flake8 (==3.8.3)
Requires-Dist: google-api-python-client (==1.7.7)
Requires-Dist: google-auth (==1.6.2)
Requires-Dist: google-auth-httplib2 (==0.0.3)
Requires-Dist: google-auth-oauthlib (==0.2.0)
Requires-Dist: httplib2 (==0.18.0)
Requires-Dist: idna (==2.8)
Requires-Dist: imagesize (==1.1.0)
Requires-Dist: importlib-metadata (==1.6.1)
Requires-Dist: Jinja2 (==2.10.1)
Requires-Dist: MarkupSafe (==1.1.0)
Requires-Dist: mccabe (==0.6.1)
Requires-Dist: more-itertools (==8.4.0)
Requires-Dist: oauthlib (==3.0.1)
Requires-Dist: packaging (==19.0)
Requires-Dist: pluggy (==0.13.1)
Requires-Dist: py (==1.8.1)
Requires-Dist: pyasn1 (==0.4.5)
Requires-Dist: pyasn1-modules (==0.2.4)
Requires-Dist: pycodestyle (==2.6.0)
Requires-Dist: pyflakes (==2.2.0)
Requires-Dist: pyparsing (==2.3.1)
Requires-Dist: pytest (==5.4.3)
Requires-Dist: python-dateutil (==2.7.2)
Requires-Dist: pytz (==2018.9)
Requires-Dist: requests (==2.22.0)
Requires-Dist: requests-oauthlib (==1.2.0)
Requires-Dist: rsa (==4.0)
Requires-Dist: six (==1.11.0)
Requires-Dist: snowballstemmer (==1.2.1)
Requires-Dist: Sphinx (==1.8.3)
Requires-Dist: sphinxcontrib-websupport (==1.1.0)
Requires-Dist: tzlocal (==1.5.1)
Requires-Dist: uritemplate (==3.0.0)
Requires-Dist: urllib3 (==1.25.3)
Requires-Dist: wcwidth (==0.2.4)

Google Calendar Simple API
==========================


.. image:: https://github.com/kuzmoyev/Google-Calendar-Simple-API/workflows/Tests/badge.svg
    :target: https://github.com/kuzmoyev/Google-Calendar-Simple-API/actions
    :alt: Tests

.. image:: https://readthedocs.org/projects/google-calendar-simple-api/badge/?version=latest
    :target: https://google-calendar-simple-api.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status


.. image:: https://pepy.tech/badge/gcsa
    :target: https://pepy.tech/project/gcsa
    :alt: Downloads

.. image:: https://badge.fury.io/py/gcsa.svg
    :target: https://badge.fury.io/py/gcsa
    :alt: 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

Example usage
-------------

.. code-block:: python

    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`_


.. _`official API`: https://github.com/googleapis/google-api-python-client
.. _documentation: https://google-calendar-simple-api.readthedocs.io/en/latest/?badge=latest
.. _beautiful_date: https://github.com/beautiful-everything/beautiful-date
.. _`kennethreitz/setup.py`: https://github.com/kennethreitz/setup.py

