2017-07-19 12:31:33 +00:00
|
|
|
# iCalEvents
|
2017-07-19 08:12:45 +00:00
|
|
|
|
|
|
|
Simple Python 3 library to download, parse and query iCal sources.
|
2021-09-07 16:49:58 +00:00
|
|
|
|
2021-09-07 16:49:37 +00:00
|
|
|
[![Jazzband](https://jazzband.co/static/img/badge.svg)](https://jazzband.co/)
|
2017-07-19 12:31:33 +00:00
|
|
|
|
|
|
|
## Build info
|
|
|
|
|
2021-09-10 18:00:23 +00:00
|
|
|
last push: ![run pytest](https://github.com/jazzband/icalevents/actions/workflows/python-test.yml/badge.svg)
|
2021-09-08 20:38:20 +00:00
|
|
|
|
2021-09-10 18:00:23 +00:00
|
|
|
master: [![Run pytest](https://github.com/jazzband/icalevents/actions/workflows/python-test.yml/badge.svg?branch=master)](https://github.com/jazzband/icalevents/actions/workflows/python-test.yml)
|
2017-07-19 12:43:33 +00:00
|
|
|
|
2021-09-08 20:20:47 +00:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
https://icalevents.readthedocs.io/en/latest/
|
|
|
|
|
2017-07-19 12:31:33 +00:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
### iCloud:
|
|
|
|
|
|
|
|
```python
|
|
|
|
|
|
|
|
from icalevents.icalevents import events
|
|
|
|
|
|
|
|
es = events(<iCloud URL>, fix_apple=True)
|
|
|
|
```
|
|
|
|
|
|
|
|
### Google:
|
|
|
|
|
|
|
|
```python
|
|
|
|
|
|
|
|
from icalevents.icalevents import events
|
|
|
|
|
|
|
|
es = events(<Google Calendar URL>)
|
|
|
|
```
|
2021-10-11 08:01:43 +00:00
|
|
|
|
|
|
|
# Contributing
|
|
|
|
|
2021-10-11 18:21:21 +00:00
|
|
|
You will need [poetry](https://github.com/python-poetry/poetry) and [pre-commit](https://pre-commit.com/index.html) installed and than run.
|
2021-10-11 08:01:43 +00:00
|
|
|
|
|
|
|
```bash
|
|
|
|
pre-commit install
|
|
|
|
```
|
|
|
|
|
|
|
|
Happy contributing!
|