{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: iOS", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules", "Typing :: Typed" ], "description": "# 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 | \u2714 |\n| canvas | \u2718 |\n| cb | \u2718 |\n| clipboard | \u2714 |\n| console | \u2714 |\n| dialogs | \u2718 |\n| contacts | \u2718 |\n| editor | \u2718 |\n| keychain | \u2718 |\n| linguistictagger | \u2718 |\n| location | \u2718 |\n| motion | \u2718 |\n| notification | \u2718 |\n| objc_util | \u2718 |\n| photos | \u2718 |\n| reminders | \u2714 |\n| scene | \u2718 |\n| sound | \u2714 |\n| speech | \u2714 |\n| twitter | \u2718 |\n| ui | \u2718 |\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\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hbmartin/pythonista-stubs", "keywords": "pythonista stubs ios ide", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "pythonista-stubs", "package_url": "https://pypi.org/project/pythonista-stubs/", "platform": "", "project_url": "https://pypi.org/project/pythonista-stubs/", "project_urls": { "Bug Reports": "https://github.com/hbmartin/pythonista-stubs/issues", "Homepage": "https://github.com/hbmartin/pythonista-stubs" }, "release_url": "https://pypi.org/project/pythonista-stubs/0.0.3/", "requires_dist": [ "typing-extensions", "mypy", "Pillow" ], "requires_python": "", "summary": "A collection of Pythonista stub files", "version": "0.0.3" }, "last_serial": 5157649, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5bd71765abf9cd881d5b9c318ed0ff13", "sha256": "1455dd9aa5477d66c48050d2f2a21de2fbb45a032e109ad084eec30cec2d27ab" }, "downloads": -1, "filename": "pythonista_stubs-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5bd71765abf9cd881d5b9c318ed0ff13", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9518, "upload_time": "2019-03-21T14:23:41", "url": "https://files.pythonhosted.org/packages/a2/a4/9399403e04ac0b6f39d70ca20b94eb722859e07fe2465fe98fd1e40c65cb/pythonista_stubs-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "602a1dfe99a2005535fd414e0c4ac7de", "sha256": "bbba0ea3847ad41754404312272bab7473e83b68f3cc316e866044ef58977763" }, "downloads": -1, "filename": "pythonista-stubs-0.0.1.tar.gz", "has_sig": false, "md5_digest": "602a1dfe99a2005535fd414e0c4ac7de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4975, "upload_time": "2019-03-21T14:23:43", "url": "https://files.pythonhosted.org/packages/77/58/8748ab09a48e18e0962c4b0a2bdc1cc73ccbe4ef52ddff867dc998f83233/pythonista-stubs-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "13a0c0e6f40d07620115620204a1f56e", "sha256": "3a36e958d0665c1ccb38c4e202b4870ea6a8c6fb0a3b6a0560e0834b1f056acb" }, "downloads": -1, "filename": "pythonista_stubs-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "13a0c0e6f40d07620115620204a1f56e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11246, "upload_time": "2019-03-22T18:16:27", "url": "https://files.pythonhosted.org/packages/9c/02/efa79cc5dcba48c96f6304e543cd31ddf164006688a4e2403b374422fa8b/pythonista_stubs-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ee9f700b61f6675b7d3eeb2473d945c", "sha256": "f2d63a79cb51eaa407244a689076d90798de0ec3dd414b0912ad9cc99652d150" }, "downloads": -1, "filename": "pythonista-stubs-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2ee9f700b61f6675b7d3eeb2473d945c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5005, "upload_time": "2019-03-22T18:16:29", "url": "https://files.pythonhosted.org/packages/ab/ff/92e3930ad428e98624d2406e4943bce3b732f577543d62e51f40fde4cc2a/pythonista-stubs-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8f8bd3ba502fc151898e6475faf048a2", "sha256": "7d7b9825fe06997eebf22c4d5845115c80de7ba6c0d0f77bf2a84d6321f5e9a8" }, "downloads": -1, "filename": "pythonista_stubs-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f8bd3ba502fc151898e6475faf048a2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12254, "upload_time": "2019-04-17T23:55:51", "url": "https://files.pythonhosted.org/packages/b0/a6/f90ba3d1806fe161d3e30fb068c66d5b408bdd7cd1c06fce3c58794d8429/pythonista_stubs-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c85c69196d27faec6e14ef47917b0d3e", "sha256": "0ddb586d7f450887b856ed17bad7d6d1f73ba3eeb064cecb3147af8aa698dfe1" }, "downloads": -1, "filename": "pythonista-stubs-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c85c69196d27faec6e14ef47917b0d3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5565, "upload_time": "2019-04-17T23:55:54", "url": "https://files.pythonhosted.org/packages/ad/3d/543a65350cba487c5c1f06e27bee0ed0d4fbb9bb20a114c76b030f3ae055/pythonista-stubs-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8f8bd3ba502fc151898e6475faf048a2", "sha256": "7d7b9825fe06997eebf22c4d5845115c80de7ba6c0d0f77bf2a84d6321f5e9a8" }, "downloads": -1, "filename": "pythonista_stubs-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f8bd3ba502fc151898e6475faf048a2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 12254, "upload_time": "2019-04-17T23:55:51", "url": "https://files.pythonhosted.org/packages/b0/a6/f90ba3d1806fe161d3e30fb068c66d5b408bdd7cd1c06fce3c58794d8429/pythonista_stubs-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c85c69196d27faec6e14ef47917b0d3e", "sha256": "0ddb586d7f450887b856ed17bad7d6d1f73ba3eeb064cecb3147af8aa698dfe1" }, "downloads": -1, "filename": "pythonista-stubs-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c85c69196d27faec6e14ef47917b0d3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5565, "upload_time": "2019-04-17T23:55:54", "url": "https://files.pythonhosted.org/packages/ad/3d/543a65350cba487c5c1f06e27bee0ed0d4fbb9bb20a114c76b030f3ae055/pythonista-stubs-0.0.3.tar.gz" } ] }