| 1 | --- |
| 2 | myst: |
| 3 | html_meta: |
| 4 | "description lang=en": | |
| 5 | Documentation for users who wish query calendars for occurrences of events and other components. |
| 6 | --- |
| 7 | |
| 8 | # Get started |
| 9 | |
| 10 | This section gets you started using this library. |
| 11 | |
| 12 | ## Installation |
| 13 | |
| 14 | ```{eval-rst} |
| 15 | .. tabs:: |
| 16 | |
| 17 | .. tab:: Pip |
| 18 | |
| 19 | .. code-block:: bash |
| 20 | |
| 21 | pip install 'recurring-ical-events==3.*' |
| 22 | |
| 23 | .. tab:: Debian/Ubuntu |
| 24 | |
| 25 | .. code-block:: bash |
| 26 | |
| 27 | sudo apt-get install python-recurring-ical-events |
| 28 | |
| 29 | .. tab:: Alpine Linux |
| 30 | |
| 31 | .. code-block:: bash |
| 32 | |
| 33 | apk add py3-recurring-ical-events |
| 34 | |
| 35 | .. tab:: Fedora |
| 36 | |
| 37 | .. code-block:: bash |
| 38 | |
| 39 | sudo dnf install ??? |
| 40 | |
| 41 | .. tab:: Arch Linux |
| 42 | |
| 43 | .. code-block:: bash |
| 44 | |
| 45 | ??? |
| 46 | |
| 47 | |
| 48 | ``` |
| 49 | |
| 50 | If not listed, this library is available as a package on the following platforms: |
| 51 | |
| 52 | [](https://repology.org/project/python%3Arecurring-ical-events/versions) |
| 53 | |
| 54 | ## Usage |
| 55 | |
| 56 | The [icalendar] module is responsible for parsing files with a calendar specification in it. |
| 57 | This library takes such a {py:class}`icalendar.cal.Calendar` and computes the occurrences. |
| 58 | |
| 59 | To import this module, write |
| 60 | |
| 61 | ```python |
| 62 | >>> import recurring_ical_events |
| 63 | |
| 64 | ``` |
| 65 | |
| 66 | If you like to go deeper, have a look at the [API documentation](../reference/api) at this point. |
| 67 | We have a comprehensive list of **[examples]** to get you started. |
| 68 | |
| 69 | [icalendar]: https://icalendar.readthedocs.io |
| 70 | [examples]: examples.rst |