A collection of Pythonista stub files
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pythonista_stubs-3.4.1.tar.gz.
File metadata
- Download URL: pythonista_stubs-3.4.1.tar.gz
- Upload date:
- Size: 35.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
096e4bee97a7300374ca0abce6cf5e8cbd11240f83e8e9a1bf4b3abe216b7644
|
|
| MD5 |
945c61989d0dfb3a8bb0dafe7688e12e
|
|
| BLAKE2b-256 |
714e23767c06d5d53b16a040799ed0c3b6f61c699768e91f50486a25f6d2c395
|
File details
Details for the file pythonista_stubs-3.4.1-py3-none-any.whl.
File metadata
- Download URL: pythonista_stubs-3.4.1-py3-none-any.whl
- Upload date:
- Size: 49.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10989c4d3c1ec6f692d165d0f552369a37ae8d9a0fec02ef40fb2f029a2e682a
|
|
| MD5 |
ab7b500d94fc397c871abfcd3347fa8c
|
|
| BLAKE2b-256 |
86e49e54dc3654e85bb501573933f17684f0772fa975116386ce00b4b5ddc3d4
|