{"id":19798649,"url":"https://github.com/eriknyquist/generate_life_calendar","last_synced_at":"2025-10-09T04:38:23.639Z","repository":{"id":25064055,"uuid":"103085944","full_name":"eriknyquist/generate_life_calendar","owner":"eriknyquist","description":"Generate a personalized life calendar poster","archived":false,"fork":false,"pushed_at":"2024-04-25T01:35:18.000Z","size":234,"stargazers_count":140,"open_issues_count":0,"forks_count":53,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-01T05:31:56.848Z","etag":null,"topics":["cairo","command-line","command-line-tool","life-calendar","life-planner","lifecalendar","lifeinweeks","mylifeinweeks","python","python3","utility","waitbutwhy","yourlifeinweeks"],"latest_commit_sha":null,"homepage":"https://www.ekn.io/calendar","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriknyquist.png","metadata":{"files":{"readme":"README.rst","changelog":null,"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":"2017-09-11T03:33:06.000Z","updated_at":"2025-04-30T15:40:42.000Z","dependencies_parsed_at":"2024-11-12T07:32:53.949Z","dependency_job_id":"2e96f0e1-4ef0-42be-884f-33f7ee261db4","html_url":"https://github.com/eriknyquist/generate_life_calendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eriknyquist/generate_life_calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fgenerate_life_calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fgenerate_life_calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fgenerate_life_calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fgenerate_life_calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriknyquist","download_url":"https://codeload.github.com/eriknyquist/generate_life_calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fgenerate_life_calendar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000705,"owners_count":26082921,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cairo","command-line","command-line-tool","life-calendar","life-planner","lifecalendar","lifeinweeks","mylifeinweeks","python","python3","utility","waitbutwhy","yourlifeinweeks"],"created_at":"2024-11-12T07:31:02.518Z","updated_at":"2025-10-09T04:38:23.622Z","avatar_url":"https://github.com/eriknyquist.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Personalised Life Calendar Generator\n====================================\n\nI'm a fan of the\n`Life Calendars \u003chttps://store.waitbutwhy.com/collections/life-calendars\u003e`_ that\ncan be found on Tim Urban's website www.waitbutwhy.com. It's basically a\ncalendar for your whole life on a single poster, with a single box representing\na week, a single row represrenting a year (52 boxes), and 90 rows for a total\nof 90 years.\n\nI liked having it on my wall, and for a while I tried using it to mark\nsignificant past events, as well as future goals \u0026 plans. There are a couple of\npractical problems with this, however, because of the current design of the\nLife Calendars. The main problem is that there are no real date references on\nthe poster, unless you write them in yourself, so honing in on a specific box\n(say, the week you're currently in right now) is tedious and error-prone.\n\nThe reason for this is obvious; the dates shown would be specific to your own\nbirthday, so you can't make one poster for everybody if there are dates on it.\nThe minimalist design of the poster kind of compensates for this, since you are\nleft with plenty of room to write/draw whatever you want. Fair enough.\n\nI'm lazy, though. I don't want to write all those dates in. Plus, if I lose or\ndamage the poster, I'd have to do all that work again. So I did this instead.\n\nThis script takes your birthday as an argument, and generates a .pdf file\ncontaining a life calendar annotated with your personal dates. (Document size\nis 29x40 inches, for best printing results)\n\nSeveral additional features make navigation through the calendar a bit easier;\n\n1. Rather than just starting exactly on your birthday, it starts on the last\n   Monday before your birthday (i.e. the first day of the week you were born).\n   This makes it much easier to identify which box holds a particular date, since\n   every box starts with a Monday and represents \"the week starting on \u003cdate\u003e\"\n\n2. For each row, the date of the first day of the first box in the row is\n   printed on the right hand side. This date is always a Monday, as explained in\n   #1.\n\n3. Boxes containing your birthday are shaded\n\n4. Boxes containing the first day of the year are shaded (a different shade)\n\n5. Number of calendar rows (years) is configurable between 90-100\n\nInstallation\n============\n\nDependencies\n------------\n\nYou must install ``pycairo`` before you can generate a\nLife Calendar:\n\n* `PyCairo \u003chttps://pypi.python.org/pypi/pycairo\u003e`_ (Python library for drawing\n  stuff \u0026 generating documents/images)\n\n  ::\n\n      pip install pycairo\n\n  Or if you're running something like Debian/Ubuntu:\n\n  ::\n\n      sudo apt-get install python-cairo\n\nIf you are getting ``Error: out of memory`` when running pycairo on windows after installing with pip,\ntry instead installing from `this archive of pre-built pycairo wheels for windows \u003chttps://www.lfd.uci.edu/~gohlke/pythonlibs/#pycairo\u003e`_.\nMake sure to pick the right wheel for your system, i.e. if you are using 64-bit python 3.11,\nyou should pick ``pycairo-1.21.0-cp311-cp311-win_amd64.whl``.\n\nDownload\n--------\n\nClone this repo to get the ``generate_life_calendar.py`` script\n\n::\n\n    $\u003e git clone https://github.com/eriknyquist/generate_life_calendar\n\nUsage\n=====\n\nAfter cloning this repo, run the script, passing in your birth date (format\ncan be either dd-mm-yyyy or dd/mm/yyyy)\n\n::\n\n    $\u003e cd generate_life_calendar\n    $\u003e python generate_life_calendar.py \"23/10/1990\"\n\n    Created life_calendar.pdf\n\nBy default, the output will be a file called ``life_calendar.pdf``. You can\nchange the output filename with the ``-f`` option\n\n::\n\n    $\u003e python generate_life_calendar.py \"23/10/1990\" -f my_life_calendar.pdf\n\n    Created my_life_calendar.pdf\n\nIf you would like to fill in the squares for past weeks but don't want to do\nthis by hand, just pass the ``-d`` option to darken past weeks\n\n::\n\n    $\u003e python generate_life_calendar.py \"23/10/1990\" -d\n\n    Created life_calendar.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriknyquist%2Fgenerate_life_calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriknyquist%2Fgenerate_life_calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriknyquist%2Fgenerate_life_calendar/lists"}