{"id":22668871,"url":"https://github.com/luke7-404/take-a-break","last_synced_at":"2025-03-29T10:43:42.179Z","repository":{"id":232509372,"uuid":"784487168","full_name":"luke7-404/take-a-break","owner":"luke7-404","description":"This project is for window users to have a pomodoro-like notification system.","archived":false,"fork":false,"pushed_at":"2024-04-11T02:20:13.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-11T05:37:29.073Z","etag":null,"topics":["beginner","beginner-code","code-review","configurable","pomodoro-clock","python"],"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/luke7-404.png","metadata":{"files":{"readme":"readme.md","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}},"created_at":"2024-04-10T00:12:36.000Z","updated_at":"2024-04-15T01:40:05.005Z","dependencies_parsed_at":"2024-04-15T01:40:02.241Z","dependency_job_id":"1775e2d0-1390-4f36-af7b-ec76633d9075","html_url":"https://github.com/luke7-404/take-a-break","commit_stats":null,"previous_names":["luke7-404/take-a-break"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke7-404%2Ftake-a-break","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke7-404%2Ftake-a-break/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke7-404%2Ftake-a-break/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luke7-404%2Ftake-a-break/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luke7-404","download_url":"https://codeload.github.com/luke7-404/take-a-break/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174471,"owners_count":20735409,"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":["beginner","beginner-code","code-review","configurable","pomodoro-clock","python"],"created_at":"2024-12-09T15:17:13.847Z","updated_at":"2025-03-29T10:43:42.148Z","avatar_url":"https://github.com/luke7-404.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Take A Break Python Script\nThis project is intended for window users to have a pomodoro-like notification system. The libaries used in ``app.py`` are ``plyer``, ``datetime``, and ``time``. \n\n## How to edit the script:\nTo change the interval time (the amount of working time) alter the ``INTERVAL_TIME`` variable (the units are in minutes).\n\nTo change the time between the time intervals alter the ``REST_TIME`` variables with the number of minutes between the intervals.\n\n## Benchmarking ``app.py``:\nThere is a file in this repo, called ``benchmark.py`` that allows for the ``app.py`` script to be benchmarked. I encourage that before having the ``app.py`` script run on your machine, the script should be benchmarked!\n\n## Build and use script (Windows instructions)\nOnce configuring ``app.py`` and benchmarking it, to make the script into a windows executable use ``pyinstaller``.\n\u003col\u003e\n    \u003cli\u003eInstall \u003ccode\u003epyinstaller\u003c/code\u003e: \n        \u003col\u003e\n            \u003ccode\u003epip install pyinstaller\u003c/code\u003e\n        \u003c/ol\u003e\n    \u003c/li\u003e\n    \u003cli\u003eCreate a \u003ccode\u003e.exe\u003c/code\u003e:\n        \u003col\u003e\n            \u003ccode\u003epyinstaller --name \"Take-A-Break\" -- onefile --noconsole app.py\n            \u003c/code\u003e\n            \u003cbr\u003e\n            This generates an executable file in the dist/ folder.\u003c/br\u003e\n        \u003c/ol\u003e\n    \u003c/li\u003e\n\u003c/ol\u003e\n\n### How to make the script run on start up\n\u003col\u003e\n    \u003cli\u003eCreate a shortcut for the \u003ccode\u003eTake-A-Break.exe\u003c/code\u003e\n    \u003c/li\u003e\n    \u003cli\u003eAdd shortcut to startup folder:\n        \u003col\u003e\n            \u003cli\u003eRun the command \u003ccode\u003ewin + r\u003c/code\u003e\u003c/li\u003e\n            \u003cli\u003eIn the window type \u003ccode\u003eshell:startup\u003c/code\u003e\u003c/li\u003e\n            \u003cli\u003eAdd the \u003ccode\u003eTake-A-Break.exe\u003c/code\u003e shortcut to the folder that opened\u003c/li\u003e\n        \u003c/ol\u003e\n    \u003c/li\u003e\n\u003c/ol\u003e\n\n###### \u003cbr\u003e\u003cbr\u003eThis program uses the MIT License, please look at the license page for more information\u003c/br\u003e\u003c/br\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke7-404%2Ftake-a-break","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluke7-404%2Ftake-a-break","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke7-404%2Ftake-a-break/lists"}