{"id":13907969,"url":"https://github.com/dgelessus/pythonista_startup","last_synced_at":"2025-04-29T13:31:54.708Z","repository":{"id":83045490,"uuid":"55368018","full_name":"dgelessus/pythonista_startup","owner":"dgelessus","description":"Bits and pieces from my pythonista_startup folder.","archived":false,"fork":false,"pushed_at":"2017-04-24T21:53:58.000Z","size":13,"stargazers_count":24,"open_issues_count":1,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-07T23:55:16.384Z","etag":null,"topics":["python","pythonista","pythonista-ios"],"latest_commit_sha":null,"homepage":null,"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/dgelessus.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}},"created_at":"2016-04-03T20:43:57.000Z","updated_at":"2023-11-15T23:32:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"64f12fa6-4d11-43c2-bc02-11e5758e7184","html_url":"https://github.com/dgelessus/pythonista_startup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fpythonista_startup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fpythonista_startup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fpythonista_startup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgelessus%2Fpythonista_startup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgelessus","download_url":"https://codeload.github.com/dgelessus/pythonista_startup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224175747,"owners_count":17268390,"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":["python","pythonista","pythonista-ios"],"created_at":"2024-08-06T23:02:21.686Z","updated_at":"2024-11-11T21:05:23.048Z","avatar_url":"https://github.com/dgelessus.png","language":"Python","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# pythonista_startup\n\nBits and pieces from my pythonista_startup folder.\n\n## Installation\n\n### To install a single script\n\nIf you don't have a `pythonista_startup` file/folder already, create a new file named `pythonista_startup.py` under `Documents` or `site-packages`.\n\nEach script is contained in a single function named `run`. Copy the entire function block from the script and paste it into your `pythonista_startup` file, rename the `run` function to something different, and then call it.\n\nFor example, a `pythonista_startup.py` with only `enable_faulthandler` could look like this ([full example](https://gist.github.com/dgelessus/fe8e267149862eb67127f4fff7e017be)):\n\n```python\ndef enable_faulthandler():\n    import ctypes\n    import datetime\n    # ... rest of the pasted code ...\n\nenable_faulthandler()\n```\n\n### To install the entire package\n\nBack up your existing `pythonista_startup` file/folder, then download this repo, name the folder `pythonista_startup` and put it under `Documents` or `site-packages`. The easiest way to do this is to run these commands in [stash](https://github.com/ywangd/stash):\n\n```sh\nmkdir site-packages/pythonista_startup\ncd site-packages/pythonista_startup\ngit clone https://github.com/dgelessus/pythonista_startup.git\n```\n\nAnd to update:\n\n```sh\ncd site-packages/pythonista_startup\ngit pull\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgelessus%2Fpythonista_startup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgelessus%2Fpythonista_startup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgelessus%2Fpythonista_startup/lists"}