{"id":19082989,"url":"https://github.com/deep5050/calendarfusion","last_synced_at":"2025-06-25T21:34:48.076Z","repository":{"id":190767607,"uuid":"683314875","full_name":"deep5050/CalendarFusion","owner":"deep5050","description":"A python module to generate fancy markdown calendar","archived":false,"fork":false,"pushed_at":"2023-09-22T14:26:47.000Z","size":459,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T11:07:38.148Z","etag":null,"topics":["calendar","calendar-events","calendar-view","calendar-widget","markdown","markdown-calendar","markdown-table"],"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/deep5050.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2023-08-26T06:58:53.000Z","updated_at":"2024-08-20T02:31:45.000Z","dependencies_parsed_at":"2023-08-26T08:42:10.961Z","dependency_job_id":"e97bc176-a42b-4aba-a8d5-b86d67838ef9","html_url":"https://github.com/deep5050/CalendarFusion","commit_stats":null,"previous_names":["deep5050/calendarfusion"],"tags_count":1,"template":false,"template_full_name":"deep5050/godfather","purl":"pkg:github/deep5050/CalendarFusion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2FCalendarFusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2FCalendarFusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2FCalendarFusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2FCalendarFusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deep5050","download_url":"https://codeload.github.com/deep5050/CalendarFusion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deep5050%2FCalendarFusion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261957413,"owners_count":23236279,"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":["calendar","calendar-events","calendar-view","calendar-widget","markdown","markdown-calendar","markdown-table"],"created_at":"2024-11-09T02:45:29.796Z","updated_at":"2025-06-25T21:34:48.008Z","avatar_url":"https://github.com/deep5050.png","language":"Python","funding_links":["https://github.com/sponsors/deep5050","https://paypal.me/deep5050"],"categories":[],"sub_categories":[],"readme":"\u003cp align=center\u003e\n  \u003cp align=center\u003e\n  \u003cimg align=center src=https://github.com/deep5050/random-shits-happen-here/assets/27947066/e517f3c6-90e5-4ad7-a919-2723f54ba54e width=250px \u003e\n\u003c/p\u003e\n  \u003ch3 align=\"center\"\u003eCalendar Fusion\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    A Python module to generate fancy markdown table-based calendar\n  \u003cbr/\u003e\n\n\u003cbr /\u003e\n  \u003ca href=\"https://github.com/deep5050/CalendarFusion/graphs/contributors\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/contributors/deep5050/CalendarFusion.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deep5050/CalendarFusion/network/members\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/forks/deep5050/CalendarFusion.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deep5050/CalendarFusion/stargazers\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/stars/deep5050/CalendarFusion.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deep5050/CalendarFusion/issues\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/deep5050/CalendarFusion.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/deep5050/CalendarFusion/blob/master/LICENSE.txt\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/deep5050/CalendarFusion.svg?style=flat-square\"\u003e\n  \u003c/a\u003e \n  \u003ca href=\"https://linkedin.com/in/othneildrew\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square\u0026logo=linkedin\u0026colorB=555\"\u003e\n  \u003c/a\u003e\n        \u003cbr/\u003e\u003ca href=\"https://github.com/deep5050/CalendarFusion\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/deep5050/CalendarFusion/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/deep5050/CalendarFusion/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\u003cp align=center\u003e\n\u003cimg src=https://img.shields.io/pypi/dm/CalendarFusion?style=for-the-badge\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n## Table of Contents\n\n* [About the Project](#about-the-project)\n* [Installation](#installation)\n* [Usage](#usage)\n* [Version History](#version-history)\n* [Contributing](#contributing)\n* [Support](#support)\n* [License](#license)\n* [Contact](#contact)\n* [Related Works](#related-works)\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n## About The Project\n\nDisplay a Calendar as you like. Add links, styles, emojis, etc. \n\n\n## Installation\n\n`pip3 install CalendarFusion`\n\n\n\n## Documentation\n\nSee the [Docs](docs/CalendarFusion.md) here ⬅️ \n\n\u003c!-- USAGE EXAMPLES --\u003e\n## Example usages\n\n### initialize\n\n```python\nfrom CalendarFusion import CalendarFusion\ncf = CalendarFusion.CalendarFusion()\n```\n\n|Mon|Tue|Wed|Thu|Fri|Sat|Sun|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n||1|2|3|4|5|6|\n|7|8|9|10|11|12|13|\n|14|15|16|17|18|19|20|\n|21|22|23|24|25|26|27|\n|28|29|30|31||||\n\n\n```python\ncf = CalendarFusion(year=2023,\n                    month=2,\n                    fill_calendar=True,\n                    weekno=True,\n                    start_from_sunday=False,\n                    lang=\"ja\"\n                    )\nprint(cf.table())\n```\n|週|月|火|水|木|金|土|日|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n|5|30|31|1|2|3|4|5|\n|6|6|7|8|9|10|11|12|\n|7|13|14|15|16|17|18|19|\n|8|20|21|22|23|24|25|26|\n|9|27|28|1|2|3|4|5|\n\n\n\n### `link()`\n\nAdd a link to the dates.\n\n```python\nentity = {}\nentity[date(2023,8,12)] = \"https://google.com\"\nentity[date(2023,8,2)] = \"https://bing.com\"\nentity[date(2023,8,25)] = \"https://google.com\"\nentity[date(2023,8,10)] = \"https://google.com\"\ncf.link(urls=entity)\n```\n\n|Mon|Tue|Wed|Thu|Fri|Sat|Sun|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n||1|[2](https://bing.com)|3|4|5|6|\n|7|8|9|[10](https://google.com)|11|[12](https://google.com)|13|\n|14|15|16|17|18|19|20|\n|21|22|23|24|[25](https://google.com)|26|27|\n|28|29|30|31||||\n\n\n### `style()`\n\nAdd formatting styles to the dates.\n\n```python\nselected_dates = [date(2023,8,23),\n                  date(2023,8,1),\n                  date(2023,8,27),\n                  date(2023,7,31),\n                  date(2023,8,20),\n                  date(2023,8,7)\n                  ]\n                  \nprint(cf.style(style=\"quote\",selected=selected_dates))\n```\n|Mon|Tue|Wed|Thu|Fri|Sat|Sun|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n||`1`|2|3|4|5|6|\n|`7`|8|9|10|11|12|13|\n|14|15|16|17|18|19|`20`|\n|21|22|`23`|24|25|26|`27`|\n|28|29|30|31||||\n\n### `selective()`\n\nSelective formatting\n\n```python\nselected_dates = [date(2023,8,23),\n                  date(2023,8,1),\n                  date(2023,8,27),\n                  date(2023,7,31),\n                  date(2023,8,20),\n                  date(2023,8,7)\n                  ]\nprint(cf.selective(selected=selected_dates,not_selected_date_text=\".\"))\n```\n|Sun|Mon|Tue|Wed|Thu|Fri|Sat|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n|.|31|1|.|.|.|.|\n|.|7|.|.|.|.|.|\n|.|.|.|.|.|.|.|\n|20|.|.|23|.|.|.|\n|27|.|.|.|.|.|.|\n\n```python\nprint(cf.selective(selected=selected_dates,\n             not_selected_date_text=\":red_circle:\",\n             selected_date_text=\":green_circle:\"\n             ))\n```\n|Sun|Mon|Tue|Wed|Thu|Fri|Sat|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n|:red_circle:|:green_circle:|:green_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|\n|:red_circle:|:green_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|\n|:red_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|\n|:green_circle:|:red_circle:|:red_circle:|:green_circle:|:red_circle:|:red_circle:|:red_circle:|\n|:green_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|:red_circle:|\n\n\n\n## Version History\n\n`v1.0.0` Initial release\n\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch \n3. Commit your Changes \n4. Push to the Branch \n5. Open a Pull Request\n\n\n## Support\n\nAll Kinds Of Supports Are Welcome :raised_hands:! The Most Basic Way To Show Your Support Is To Star :star2: The Project, Or To Raise Issues :speech_balloon: You Can Also Support This Project By [**becoming a sponsor on GitHub**](https://github.com/sponsors/deep5050) :clap: Or By Making A [**Paypal**](https://paypal.me/deep5050) Donation :)\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\n\n\u003c!-- CONTACT --\u003e\n## Contact\n\nDipankar Pal - dipankarpal5050@gmail.com\n\n\n\n## Related Works\n\n[Radioactive](https://github.com/deep5050/radio-active) : A CLI-based internet radio player\n\n[NaughtyLust](https://github.com/deep5050/NaughtyLust) : Awesome Nautilus Scripts For Linux.\n\n[qikQR](https://github.com/deep5050/qikQR) : Minimal QR Code Generator App Made With Electron.\n\n[cppcheck-action](https://github.com/deep5050/cppcheck-action) : Check Security Flaws In Your C/C++ Codes Right From GitHub Action Workflows.\n\n[autopy-lot](https://github.com/deep5050/autopy-lot) : GitHub Action Setup To Convert Jupyter Notebooks To Python Scripts And Markdowns.\n\n\u003cdiv align=center\u003e\n\u003cp align=center\u003e\u003cimg align=center src=\"https://raw.githubusercontent.com/liyasthomas/templates/master/assets/logo.gif\" alt=\"unicorn\" width=\"400\"\u003e\n\u003c/p\u003e\n\u003cp align=center\u003eHappy Coding\u003c/p\u003e\n  \n\u003cp align=center\u003e\u003cimg align=center  src=\"https://visitor-badge.laobi.icu/badge?page_id=deep5050.CalendarFusion\" alt=\"Visitors\"\u003e  \u003c/p\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeep5050%2Fcalendarfusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeep5050%2Fcalendarfusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeep5050%2Fcalendarfusion/lists"}