{"id":26787415,"url":"https://github.com/controversial/pythonista-tweaks","last_synced_at":"2025-04-19T19:34:37.805Z","repository":{"id":89121791,"uuid":"51562478","full_name":"controversial/Pythonista-Tweaks","owner":"controversial","description":"A module that aims to provide easy access to hard-to-reach functionality in Pythonista","archived":false,"fork":false,"pushed_at":"2016-03-01T02:46:08.000Z","size":20,"stargazers_count":23,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T10:13:16.436Z","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/controversial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2016-02-12T02:21:45.000Z","updated_at":"2024-06-30T18:53:40.000Z","dependencies_parsed_at":"2023-06-14T01:00:14.706Z","dependency_job_id":null,"html_url":"https://github.com/controversial/Pythonista-Tweaks","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/controversial%2FPythonista-Tweaks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controversial%2FPythonista-Tweaks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controversial%2FPythonista-Tweaks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/controversial%2FPythonista-Tweaks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/controversial","download_url":"https://codeload.github.com/controversial/Pythonista-Tweaks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249780526,"owners_count":21324563,"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":[],"created_at":"2025-03-29T12:19:53.585Z","updated_at":"2025-04-19T19:34:37.792Z","avatar_url":"https://github.com/controversial.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pythonista-Tweaks\n\n## Installation\n\nDownload the repo in zip format and extract it, or `git clone` it using [stash](https://github.com/ywangd/stash). Then move or copy the `pythonista` folder into `site-packages`. If the module was installed correctly, you should be able to run the examples.\n\n## Vision\n\n* Bring together in one place everything possible with `UIApplication` and `objc_util`\n* Make customising the Pythonista app similar to, and as easy as, using the `ui` module\n \n## Notes\n\nThe code is now broken into several submodules:\n\n* `pythonista.app` contains functions for setting the badge string/number, clearing the badge, and opening URLs in an `appex`-safe way.\n* `pythonista.classes` is a proxy module that can be used to load Objective-C classes. For example `pythonista.classes.NSObject == objc_util.ObjCClass(\"NSObject\")`.\n* `pythonista.console` contains functions for getting the current and default console fonts.\n* `pythonista.editor` contains the `Tab` and `WebTab` classes.\n* `pythonista.shared` contains a few commonly used objects, such as the shared application and a few view controllers.\n\n**Note:** Please do NOT use `from pythonista import *`, as this will cause name conflicts with the default `console` and `editor` modules. Instead, use it only with `import pythonista`, as this way the module's submodules will not overwrite Pythonista's default ones. It is fine to use `from pythonista.module import *` with all submodules except for `pythonista.classes`.\n\nAs of right now, each submodule contains only a small amount of functionality, but as they're expanded, the submodule approach will make much more sense.\n\n`pythonista.editor` will hopefully eventually contain the classes for easily controlling the editor's look and feel. The structure of these submodules, as well as their names, is likely to change.\n\n## Credits\n\n* Based on examples posted on the forums by @omz, @JonB, @Webmaster4o, etc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontroversial%2Fpythonista-tweaks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontroversial%2Fpythonista-tweaks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontroversial%2Fpythonista-tweaks/lists"}