{"id":15663076,"url":"https://github.com/idlesign/icalendar_light","last_synced_at":"2025-05-06T00:04:25.971Z","repository":{"id":55906426,"uuid":"241348482","full_name":"idlesign/icalendar_light","owner":"idlesign","description":"Light and easy iCalendar event reader","archived":false,"fork":false,"pushed_at":"2020-12-08T06:13:34.000Z","size":20,"stargazers_count":18,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T00:04:07.907Z","etag":null,"topics":["icalendar","icalendar-parsing","ics","python","python3"],"latest_commit_sha":null,"homepage":"https://github.com/idlesign/icalendar_light","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idlesign.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG","contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-18T11:52:36.000Z","updated_at":"2024-06-26T15:22:38.000Z","dependencies_parsed_at":"2022-08-15T09:10:19.483Z","dependency_job_id":null,"html_url":"https://github.com/idlesign/icalendar_light","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Ficalendar_light","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Ficalendar_light/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Ficalendar_light/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idlesign%2Ficalendar_light/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idlesign","download_url":"https://codeload.github.com/idlesign/icalendar_light/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252596398,"owners_count":21773844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["icalendar","icalendar-parsing","ics","python","python3"],"created_at":"2024-10-03T13:35:26.334Z","updated_at":"2025-05-06T00:04:25.941Z","avatar_url":"https://github.com/idlesign.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"icalendar_light\n===============\nhttps://github.com/idlesign/icalendar_light\n\n|release| |lic| |ci| |coverage|\n\n.. |release| image:: https://img.shields.io/pypi/v/icalendar_light.svg\n    :target: https://pypi.python.org/pypi/icalendar_light\n\n.. |lic| image:: https://img.shields.io/pypi/l/icalendar_light.svg\n    :target: https://pypi.python.org/pypi/icalendar_light\n\n.. |ci| image:: https://img.shields.io/travis/idlesign/icalendar_light/master.svg\n    :target: https://travis-ci.org/idlesign/icalendar_light\n\n.. |coverage| image:: https://img.shields.io/coveralls/idlesign/icalendar_light/master.svg\n    :target: https://coveralls.io/r/idlesign/icalendar_light\n\n\nDescription\n-----------\n\n*Light and easy iCalendar event reader*\n\nNo fancy stuff, just iCalendar (``.ics``) events reading.\n\n* Requires Python 3.6+;\n* Uses ``namedtuple`` for event representation;\n* Features iterative event reading to be fast and minimize memory usage.\n\n\nAPI\n---\n\n.. code-block:: python\n\n    from icalendar_light.toolbox import Calendar\n\n    for event in Calendar.iter_events_from_file('my_calendar.ics'):\n        print(Calendar.event_stringify(event))\n\n    # Or get events upcoming in next 5 days from iCalendar represented as lines:\n    lines = []  # Let's imagine this one is not empty %)\n    events = Calendar.iter_events_upcoming(lines, days_forward=5)\n\n\nCLI\n---\n\nRequires `click` package (can be installed with: `pip install icalendar_light[cli]`).\n\n.. code-block:: bash\n\n    ; Show upcoming event for next 90 days\n    $ icalendar_light upcoming my_calendar.ics --days 90\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidlesign%2Ficalendar_light","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidlesign%2Ficalendar_light","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidlesign%2Ficalendar_light/lists"}