{"id":18136239,"url":"https://github.com/purarue/pythonanywhere-3-months","last_synced_at":"2025-04-19T16:20:12.901Z","repository":{"id":45624389,"uuid":"194981301","full_name":"purarue/pythonanywhere-3-months","owner":"purarue","description":"clicks the 'Run until 3 months from today' button on pythonanywhere, so your website doesn't deactivate automatically","archived":false,"fork":false,"pushed_at":"2024-10-25T17:44:21.000Z","size":21,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T10:03:54.364Z","etag":null,"topics":["autologin","chromedriver","pythonanywhere","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/purarue.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":"2019-07-03T04:47:00.000Z","updated_at":"2025-03-16T01:01:53.000Z","dependencies_parsed_at":"2024-12-16T18:29:05.419Z","dependency_job_id":"68eaf50c-edda-4ec0-8012-362d119cf5d5","html_url":"https://github.com/purarue/pythonanywhere-3-months","commit_stats":null,"previous_names":["seanbreckenridge/pythonanywhere-3-months"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fpythonanywhere-3-months","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fpythonanywhere-3-months/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fpythonanywhere-3-months/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purarue%2Fpythonanywhere-3-months/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/purarue","download_url":"https://codeload.github.com/purarue/pythonanywhere-3-months/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249736772,"owners_count":21318310,"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":["autologin","chromedriver","pythonanywhere","selenium"],"created_at":"2024-11-01T14:41:23.654Z","updated_at":"2025-04-19T16:20:12.865Z","avatar_url":"https://github.com/purarue.png","language":"Python","readme":"# pythonanywhere-3-months\n\nLogs into your [pythonanywhere](https://www.pythonanywhere.com/) account and clicks the 'Run until 3 months from today' button, so your website doesn't deactivate automatically.\n\nRequires: Python 3.6+ and a chromedriver binary. See [here](https://gist.github.com/purarue/709a824b8c56ea22dbf4e86a7804287d) for chromedriver.\n\n#### Install and Run:\n\n```\npython3 -m pip install git+https://github.com/purarue/pythonanywhere-3-months\npythonanywhere_3_months -Hc /usr/local/bin/chromedriver\n```\n\nAs long as no visible errors are thrown, the script succeeded. You can run it without the `-H` flag to watch it log in and click the relevant links/buttons.\n\n```\nusage: pythonanywhere_3_months [-h] [-H] [-c CHROMEDRIVER_PATH] [-d]\n\nClicks the 'Run until 3 months from today' on pythonanywhere\n\noptions:\n  -h, --help            show this help message and exit\n  -H, --hidden          Hide the ChromeDriver.\n  -c CHROMEDRIVER_PATH, --chromedriver-path CHROMEDRIVER_PATH\n                        Provides the location of ChromeDriver. Should probably\n                        be the full path.\n  -d, --debug           Prints debug logs\n```\n\nPut pythonanywhere credentials in your home directory; at `$XDG_DATA_HOME/pythonanywhere_credentials.yaml` (`~/.local/share/pythonanywhere_credentials.yaml`) with contents like:\n\n```\nusername: yourusername\npassword: 2UGArHcjfKz@9GCGuNXN\n```\n\nThis also installs a command line script called `pythonanywhere_check_since` which prints nothing if `pythonanywhere_3_months` has been run in the last 2 months, but prints a reminder to run it otherwise. I have `pythonanywhere_check_since` in my `~/.zshrc` (equivalent to `~/.bashrc` or `~/.bash_profile`) file; it checks whenever I open a shell.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2Fpythonanywhere-3-months","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurarue%2Fpythonanywhere-3-months","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurarue%2Fpythonanywhere-3-months/lists"}