{"id":22579477,"url":"https://github.com/raspiduino/rpu","last_synced_at":"2025-03-28T16:22:06.166Z","repository":{"id":113064563,"uuid":"334320157","full_name":"raspiduino/rpu","owner":"raspiduino","description":"The stupid realtime Python code updater","archived":false,"fork":false,"pushed_at":"2021-01-31T04:39:38.000Z","size":21794,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T16:42:17.633Z","etag":null,"topics":["code","debug","python","wysiwyg"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raspiduino.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,"publiccode":null,"codemeta":null}},"created_at":"2021-01-30T03:36:15.000Z","updated_at":"2023-10-16T13:23:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e4b1cce-f79d-487c-a9dd-3d6fb5354ced","html_url":"https://github.com/raspiduino/rpu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspiduino%2Frpu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspiduino%2Frpu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspiduino%2Frpu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspiduino%2Frpu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raspiduino","download_url":"https://codeload.github.com/raspiduino/rpu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246059327,"owners_count":20717085,"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":["code","debug","python","wysiwyg"],"created_at":"2024-12-08T05:07:40.268Z","updated_at":"2025-03-28T16:22:06.154Z","avatar_url":"https://github.com/raspiduino.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rpu - The stupid realtime Python code updater\n## What is this?\nrpu is a realtime Python code updater. It means your code's result will be display right after you edit your code. You can use it for GUI editing (I personally use for pygame), preview your code,...\n## How this work?\nFirst, the script will import your python script as a module (using importlib). Then it will read your script's content. Some seconds later, it will read again, and if you edit your code, the content will change and your script will be imported again. By that, it keeps your program updated. You can change the delay time between updates.\n## Usage\n```cmd\nrpu.py yourpythonscript.py [delaytime]\n```\n\u003cbr\u003eDelay time is in second. Default is 5 sec\n\u003cbr\u003eIf you just enter ```rpu.py``` or ```rpu.py help```, it will display a simple help.\n\n\u003cbr\u003eIn your editor, you can use CTRL+S for saving and update the program, or you can install autosave extentions, like \u003ca href=\"https://marketplace.visualstudio.com/items?itemName=HRai.AutoSaveFile\"\u003ethis\u003c/a\u003e for Visual Studio/Visual Studio Code, or \u003ca href=\"https://github.com/francostellari/NppPlugins/tree/main/AutoSave\"\u003ethis\u003c/a\u003e for Notepad++, or the sublimetext.py for Sublime Text.\n\n## Demo\n\u003cimg src=\"https://github.com/raspiduino/rpu/raw/main/demo.gif\" width=\"683\" height=\"384\"/\u003e\n\n\u003cbr\u003eYou can download the video \u003ca href=\"https://github.com/raspiduino/rpu/raw/main/demo.webm\"\u003ehere\u003c/a\u003e or \u003ca href=\"https://user-images.githubusercontent.com/68118236/106348916-73434080-62fc-11eb-9eb6-07bef19a0409.mp4\"\u003ehere\u003c/a\u003e\n\u003cbr\u003eOr you can watch the video in \u003ca href=\"https://github.com/raspiduino/rpu/releases\"\u003eRelease\u003c/a\u003e\n\u003cbr\u003eYou can try hello.py or pygametest.py in the repo.\n\n## License\nUnder \u003ca href=\"https://github.com/raspiduino/rpu/blob/main/LICENSE\"\u003eGPLv3\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspiduino%2Frpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraspiduino%2Frpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspiduino%2Frpu/lists"}