{"id":20751007,"url":"https://github.com/vaaaaanquish/pyoklock","last_synced_at":"2025-09-10T01:33:49.511Z","repository":{"id":62582214,"uuid":"194518341","full_name":"vaaaaanquish/pyoklock","owner":"vaaaaanquish","description":"pyoklock : python cli digital clock.","archived":false,"fork":false,"pushed_at":"2020-12-28T02:59:47.000Z","size":582,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-28T12:57:58.288Z","etag":null,"topics":[],"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/vaaaaanquish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"vaaaaanquish"}},"created_at":"2019-06-30T13:20:19.000Z","updated_at":"2025-03-20T12:34:37.000Z","dependencies_parsed_at":"2022-11-03T22:01:34.488Z","dependency_job_id":null,"html_url":"https://github.com/vaaaaanquish/pyoklock","commit_stats":null,"previous_names":["6syun9/pyoklock"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vaaaaanquish/pyoklock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaaaanquish%2Fpyoklock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaaaanquish%2Fpyoklock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaaaanquish%2Fpyoklock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaaaanquish%2Fpyoklock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaaaaanquish","download_url":"https://codeload.github.com/vaaaaanquish/pyoklock/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaaaaanquish%2Fpyoklock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274396494,"owners_count":25277393,"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-09-09T02:00:10.223Z","response_time":80,"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":[],"created_at":"2024-11-17T08:29:40.605Z","updated_at":"2025-09-10T01:33:49.483Z","avatar_url":"https://github.com/vaaaaanquish.png","language":"Python","funding_links":["https://github.com/sponsors/vaaaaanquish"],"categories":[],"sub_categories":[],"readme":"# pyoklock\npython cli clock. Display digital clock on terminal.\n\n![screenshot](https://github.com/6syun9/pyoklock/blob/master/images/screenshot.png?raw=true)\n\n# Usage\n\n## install\n```\n# require ptk 3.x : https://github.com/prompt-toolkit/python-prompt-toolkit\npip install pyoklock\n```\n\n## args: second\nIf you want display `second`, add `-s` or `--second` to the argument.\n```\npyoklock -s\n```\n\n\n## args: frame\nIf you want display clock frame, add `-f` or `--frame` to the argument.\n```\npyoklock -f\n```\n![screenshot](https://github.com/6syun9/pyoklock/blob/master/images/frame.png?raw=true)\n\n\n## args: google_calender\n\nIf you want display Google Calender's moost recent event, add `-g` or `--google_calender` to the argument.\nTo use this args, you must get `Google API OAuth Client credentails`. \nIf you got `credentails`, put it at `~/.pyoklock/` with the name `credentails.json`\n\nOAuth Client credentails from: https://console.cloud.google.com/\n```\nmkdir ~/.pyoklock\nmv [[your credentail path]] ~/.pyoklock/credentials.json\n```\n\nThen run pyoklock.\n```\npyoklock -g\n```\n\n![screenshot](https://github.com/6syun9/pyoklock/blob/master/images/google_calender.png?raw=true)\n\nIf you want to delete the cache, remove `~/.pyoklock/token.pickle`.  \n\n### print event num\nIf you want to limit the number of events, using `--events` args.  \nfor example:\n```\npyoklock -g --events 5\n```\n  \n### event today only\nIf you want to put `event of today only`, using `-t` or `--today` args.  \nfor example:\n```\npyoklock -g -t --events 10\n```\n\n### change the color\nIf you want to change the color according to the time, using `-c` or `--color` args. It's function for alert.\n - google calender events\n    - 5 minutes ago: Red\n    - within 15 minutes: Green\n\n![screenshot](https://github.com/6syun9/pyoklock/blob/master/images/color.png?raw=true)\n\n\n## args: model\n\nIf you want to change clock size, add `--model` to the argument.  \nSelectable numbers are {0,1,2}. default is 1.  \nfor example:\n```\npyoklock -f -s --model 0\n```\n![screenshot](https://github.com/6syun9/pyoklock/blob/master/images/models.png?raw=true)\n\n\n## change digit character\n\nIf you want to change clock's character, set `$PYOKLOCK_BACK_CHAR` or `$PYOKLOCK_DIGIT_CHAR` to OS environment.  \nfor example:\n```\nexport PYOKLOCK_BACK_CHAR=\"@\"\nexport PYOKLOCK_DIGIT_CHAR=\" \"\npyoklock -s\n```\n![screenshot](https://github.com/6syun9/pyoklock/blob/master/images/char.png?raw=true)\n\n# Special thanks to\n - [python prompt-toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit) : pyoklock made by this cli tools.\n\n# License\nThis software is released under the MIT License, see LICENSE.txt.\n\n# Why PyOkLock?\n\npython clock. -\u003e pyoklock  \nThis is the same way as the artist \" [ONE OK ROCK](http://www.oneokrock.com) \"  I respect.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaaaaanquish%2Fpyoklock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaaaaanquish%2Fpyoklock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaaaaanquish%2Fpyoklock/lists"}