{"id":13800261,"url":"https://github.com/hbmartin/pythonista-stubs","last_synced_at":"2025-04-28T17:07:30.123Z","repository":{"id":57457110,"uuid":"176960757","full_name":"hbmartin/pythonista-stubs","owner":"hbmartin","description":"Typed interface stubs for Pythonista iOS","archived":false,"fork":false,"pushed_at":"2024-08-08T20:14:10.000Z","size":19,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T21:11:22.165Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hbmartin.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}},"created_at":"2019-03-21T14:22:33.000Z","updated_at":"2024-08-08T20:14:10.000Z","dependencies_parsed_at":"2024-11-20T12:34:51.768Z","dependency_job_id":null,"html_url":"https://github.com/hbmartin/pythonista-stubs","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.5,"last_synced_commit":"f938189417699aeba4bf0701f3994f680493d4d7"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fpythonista-stubs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fpythonista-stubs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fpythonista-stubs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hbmartin%2Fpythonista-stubs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hbmartin","download_url":"https://codeload.github.com/hbmartin/pythonista-stubs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246313882,"owners_count":20757449,"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":"2024-08-04T00:01:10.884Z","updated_at":"2025-03-31T11:31:24.314Z","avatar_url":"https://github.com/hbmartin.png","language":"Python","readme":"# Pythonista Stubs\n\n[![PyPI](https://img.shields.io/pypi/v/pythonista-stubs.svg)](https://pypi.org/project/pythonista-stubs/)\n[![GitHub issues](https://img.shields.io/github/issues-raw/hbmartin/pythonista-stubs.svg)](https://github.com/hbmartin/pythonista-stubs/issues)\n[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n[![Build Status](https://travis-ci.com/hbmartin/pythonista-stubs.svg?branch=master)](https://travis-ci.com/hbmartin/pythonista-stubs)\n\n\nStubs for the [Pythonista iOS API](http://omz-software.com/pythonista/docs/ios/). This allows for better error detection and IDE / editor autocomplete.\n\n## Installation and Usage\n\n```\npip install pythonista-stubs --upgrade\n```\nN.b. you may need to `pip3`, particularly if you installed python3 with homebrew\n\nType checking can then be performed with [mypy](https://mypy.readthedocs.io/en/latest/command_line.html)\n\n\n* [PyCharm](https://www.jetbrains.com/help/pycharm/type-hinting-in-product.html#stub): Works immediately\n* Vim: [vim-mypy](https://github.com/Integralist/vim-mypy)\n* Emacs: using [Flycheck](https://github.com/flycheck/) and [Flycheck-mypy](https://github.com/lbolla/emacs-flycheck-mypy)\n* Sublime Text: [SublimeLinter-contrib-mypy](https://github.com/fredcallaway/SublimeLinter-contrib-mypy)\n* Atom: [linter-mypy](https://atom.io/packages/linter-mypy)\n* VS Code: provides [basic integration](https://code.visualstudio.com/docs/python/linting#_mypy) with mypy.\n* flake8: [flake8-mypy](https://github.com/ambv/flake8-mypy)\n\nSee also: [mypy integrations](https://github.com/python/mypy#ide--linter-integrations)\n\n## API Coverage\n\n| Module      | Status |\n| ----------- |--------|\n| appex       | ✔      |\n| canvas      | ✘      |\n| cb          | ✘      |\n| clipboard   | ✔      |\n| console     | ✔      |\n| dialogs     | ✘      |\n| contacts    | ✘      |\n| editor      | ✔      |\n| keychain    | ✘      |\n| linguistictagger | ✘      |\n| location    | ✘      |\n| motion      | ✘      |\n| notification   | ✘      |\n| objc_util   | ✘      |\n| photos      | ✘      |\n| reminders   | ✔      |\n| scene       | ✘      |\n| sound       | ✔      |\n| speech      | ✔      |\n| twitter     | ✘      |\n| ui          | ✘      |\n\n## Built With\n\n* [mypy](http://mypy-lang.org/)\n* [Typing Extensions](https://github.com/python/typing/tree/master/typing_extensions)\n\n## PEPs\n\n* [PEP 484  -- Type Hints](https://www.python.org/dev/peps/pep-0484/)\n* [PEP 561  -- Distributing and Packaging Type Information](https://www.python.org/dev/peps/pep-0561/)\n* [PEP 3107 -- Function Annotations](https://www.python.org/dev/peps/pep-3107/)\n\n## Contributing\n\nPlease [file a bug report](https://github.com/hbmartin/pythonista-stubs/issues) for any issues you find. Even more excellent than a good bug report is a fix for a bug, or the implementation of a much-needed stub. We'd love to have your contributions.\n\nWe use the usual GitHub pull-request flow, which may be familiar to\nyou if you've contributed to other projects on GitHub.  For the\nmechanics, see [Mypy's git and GitHub workflow help page](https://github.com/python/mypy/wiki/Using-Git-And-GitHub),\nor [GitHub's own documentation](https://help.github.com/articles/using-pull-requests/).\n\n### Code Formatting\n\nThis project is linted with [pyflakes](https://github.com/PyCQA/pyflakes) and makes strict use of [Black](https://github.com/ambv/black) for code formatting.\n\n### Conventions\n\n* long functions and methods should be split up with one argument per line\n* all function bodies should be empty\n* prefer ``...`` over ``pass``\n* prefer ``...`` on the same line as the class/function signature\n* avoid vertical whitespace between consecutive module-level functions, names, or methods and fields within a single class\n* use a single blank line between top-level class definitions\n* do not use docstrings\n* use variable annotations instead of type comments\n* for arguments with a type and a default, use spaces around the `=`\n* use `float` instead of `Union[int, float]`\n* avoid Union return types: https://github.com/python/mypy/issues/1693\n* imports in stubs are considered private unless they use the form ``from library import name as name``\n* avoid using the `Any` type when possible\n* type variables and aliases for legibility reasons should be prefixed with an underscore to make it obvious to the reader they are not part of the stubbed API.\n* these conventions derived from [typeshed](https://github.com/python/typeshed/blob/master/CONTRIBUTING.md#conventions)\n\n### Code of Conduct\n\nEveryone participating in this community is expected to treat other people with respect and more generally to follow the guidelines articulated in the [Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/).\n\n## Authors\n\n* [Harold Martin](https://www.linkedin.com/in/harold-martin-98526971/) - harold.martin at gmail\n\n\n## Disclaimer\n\nThis is not an official project and is not associated with omz:software\n\n## License\n\n[Apache License 2.0](LICENSE.txt)\n","funding_links":[],"categories":["Stub packages"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbmartin%2Fpythonista-stubs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhbmartin%2Fpythonista-stubs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhbmartin%2Fpythonista-stubs/lists"}