Pythonista Stubs
Stubs for the Pythonista iOS API. This allows for better error detection and IDE / editor autocomplete.
Installation and Usage
Install using your preferred package manager:
# Using uv (recommended)
uv add pythonista-stubs
# Using pip
pip install pythonista-stubs
You can now develop from your computer editor with proper typing and completions.
API Coverage
| Module | Status | Documentation |
|---|---|---|
| appex | ✔ | API Docs |
| canvas | WIP | API Docs |
| cb | WIP | API Docs |
| clipboard | ✔ | API Docs |
| console | ✔ | API Docs |
| contacts | ✔ | API Docs |
| dialogs | ✔ | API Docs |
| editor | ✔ | API Docs |
| keychain | ✔ | API Docs |
| linguistictagger | ✔ | API Docs |
| location | ✔ | API Docs |
| motion | ✔ | API Docs |
| notification | ✔ | API Docs |
| objc_util | WIP | API Docs |
| photos | ✔ | API Docs |
| reminders | ✔ | API Docs |
| scene | ✘ | API Docs |
| sound | ✔ | API Docs |
| speech | ✔ | API Docs |
| ✘ | API Docs | |
| ui | WIP | API Docs |
Built With
PEPs
- PEP 484 -- Type Hints
- PEP 561 -- Distributing and Packaging Type Information
- PEP 3107 -- Function Annotations
Troubleshooting
Type Checker Not Finding Stubs
- VSCode: Ensure the Python extension is using the correct interpreter where pythonista-stubs is installed
- PyCharm: Check that the stub package appears in your project's external libraries
- mypy: Make sure mypy can find the stubs in your Python path
Import Errors in IDE
- Verify pythonista-stubs is installed in the same environment as your project
- Try restarting your IDE after installation
- Check that your IDE is using the correct Python interpreter
Contributing
Please file a bug report 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.
Code of Conduct
Everyone 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.
Authors
- Harold Martin - harold.martin at gmail
- Dmytro Yaroshenko
Disclaimer
This is not an official project and is not associated with omz:software
License
Metadata
Release files for pythonista-stubs 3.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pythonista_stubs-3.4.1.tar.gz | 35.4 kB | Without provenance | Details for pythonista_stubs-3.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pythonista_stubs-3.4.1-py3-none-any.whl | Python 3 | none | any | Details for pythonista_stubs-3.4.1-py3-none-any.whl |
Total release size: 85.0 kB
Release files / pythonista_stubs-3.4.1.tar.gz
| Download URL | pythonista_stubs-3.4.1.tar.gz |
|---|---|
| Size | 35.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
096e4bee97a7300374ca0abce6cf5e8cbd11240f83e8e9a1bf4b3abe216b7644
|
|
BLAKE2b-256 checksum How to use checksums |
714e23767c06d5d53b16a040799ed0c3b6f61c699768e91f50486a25f6d2c395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.9
|
Release files / pythonista_stubs-3.4.1-py3-none-any.whl
| Download URL | pythonista_stubs-3.4.1-py3-none-any.whl |
|---|---|
| Size | 49.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10989c4d3c1ec6f692d165d0f552369a37ae8d9a0fec02ef40fb2f029a2e682a
|
|
BLAKE2b-256 checksum How to use checksums |
86e49e54dc3654e85bb501573933f17684f0772fa975116386ce00b4b5ddc3d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.9
|
Security for pythonista-stubs 3.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.