{"id":15011004,"url":"https://github.com/j3soon/org2ical","last_synced_at":"2025-04-09T18:41:43.454Z","repository":{"id":63193075,"uuid":"517250627","full_name":"j3soon/org2ical","owner":"j3soon","description":"Generate an iCalendar (.ics) file based on a OrgMode (.org) file.","archived":false,"fork":false,"pushed_at":"2023-11-28T15:56:15.000Z","size":41,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T20:43:27.090Z","etag":null,"topics":["emacs","ical","icalendar","ics","orgmode","python","rfc-5545"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j3soon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-24T06:58:16.000Z","updated_at":"2024-11-08T13:02:39.000Z","dependencies_parsed_at":"2024-09-28T18:00:31.723Z","dependency_job_id":"c0d62ca6-5eaf-4be8-ac1a-0c4c26e78502","html_url":"https://github.com/j3soon/org2ical","commit_stats":{"total_commits":22,"total_committers":1,"mean_commits":22.0,"dds":0.0,"last_synced_commit":"66b049d12c3a0099f526e6a0d21cae1a31dc05d8"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2Forg2ical","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2Forg2ical/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2Forg2ical/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3soon%2Forg2ical/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j3soon","download_url":"https://codeload.github.com/j3soon/org2ical/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248089956,"owners_count":21045998,"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":["emacs","ical","icalendar","ics","orgmode","python","rfc-5545"],"created_at":"2024-09-24T19:38:22.554Z","updated_at":"2025-04-09T18:41:43.433Z","avatar_url":"https://github.com/j3soon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# org2ical\n\n[![pypi](https://img.shields.io/pypi/v/org2ical)](https://pypi.org/project/org2ical/)\n[![python](https://img.shields.io/pypi/pyversions/org2ical)](https://pypi.org/project/org2ical/)\n[![Downloads](https://pepy.tech/badge/org2ical)](https://pepy.tech/project/org2ical)\n[![license](https://img.shields.io/pypi/l/org2ical)](https://github.com/j3soon/org2ical/blob/master/LICENSE)\n\n[![tests](https://img.shields.io/github/actions/workflow/status/j3soon/org2ical/test-with-tox.yaml?label=tests)](https://github.com/j3soon/org2ical/actions/workflows/test-with-tox.yaml)\n[![build](https://img.shields.io/github/actions/workflow/status/j3soon/org2ical/publish-to-pypi.yaml)](https://github.com/j3soon/org2ical/actions/workflows/publish-to-pypi.yaml)\n[![codecov](https://codecov.io/gh/j3soon/org2ical/branch/master/graph/badge.svg?token=xNbUgClfdP)](https://codecov.io/gh/j3soon/org2ical)\n\nGenerate an [iCalendar](https://icalendar.org/) (.ics) file based on a [OrgMode](https://orgmode.org/) (.org) file.\n\nThis package is especially useful if your OrgMode file is too large to be exported with [OrgMode iCalendar Export](https://orgmode.org/manual/iCalendar-Export.html).\n\nInstallation:\n\n```sh\npip install -U org2ical\n```\n\nUsage:\n\n```py\nimport org2ical\n# Ref: https://orgmode.org/manual/Timestamps.html\norg_str = \"\"\"\n* Meet Peter at the movies\n  \u003c2006-11-01 Wed 19:15\u003e\n* Discussion on climate change\n  \u003c2006-11-02 Thu 20:00-22:00\u003e\n\"\"\"\nical_str, warnings = org2ical.loads(org_str)\nassert warnings == []\nprint(ical_str)\n```\n\nResults:\n\n```\nBEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//j3soon//org2ical//EN\nBEGIN:VEVENT\nDTSTAMP:20221114T153849Z\nUID:2f8059beaf05751acc703c2a12eee7e8\nDTSTART:20061101T191500Z\nDTEND:20061101T191500Z\nSUMMARY:Meet Peter at the movies\nDESCRIPTION:  \u003c2006-11-01 Wed 19:15\u003e\\n\\nOrg Path: Meet Peter at the movies\nCATEGORIES:TIMESTAMP\nEND:VEVENT\nBEGIN:VEVENT\nDTSTAMP:20221114T153849Z\nUID:72b76db7dacae0489b50bb9c9b3b3c34\nDTSTART:20061102T200000Z\nDTEND:20061102T220000Z\nSUMMARY:Discussion on climate change\nDESCRIPTION:  \u003c2006-11-02 Thu 20:00-22:00\u003e\\n\\nOrg Path: Discussion on climate change\nCATEGORIES:TIMESTAMP\nEND:VEVENT\nEND:VCALENDAR\n\n```\n\nPlease note that the `DTSTAMP` here depends on your current time.\n\n## Import to Thunderbird's Lightning Calendar\n\n![](docs/images/preview-thunderbird.png)\n\n1. Export a Org (.org) file to an iCal (.ics) file using org2ical.\n2. In Thunderbird, select `Events and Tasks \u003e Import...` and follow the steps to import the iCal file.\n3. (Optional) Set category colors:\n   ```\n   DEADLINE : rgb(255, 128, 128)\n   SCHEDULED: rgb(128, 192, 128)\n   TIMESTAMP: rgb(128, 128, 255)\n   CLOCK    : rgb(255, 192, 128)\n   ```\n4. (Optional) Fill events with category color by following [this Stack Overflow answer](https://stackoverflow.com/a/74842106).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3soon%2Forg2ical","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3soon%2Forg2ical","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3soon%2Forg2ical/lists"}