python-pptx-stubs
This package contains type stubs to provide more precise static types and type inference for the python-pptx project.
python-pptx heavily relies on dynamic attribute generation and runtime magic for its functionality. This project aims to add type annotations for the most common patterns used in the parent library.
Note: This is not an official package from the python-pptx maintainers. It is a community-maintained project to provide type hints for python-pptx.
⚠️ Development Status
This package is under active development and is not intended for production use. Type annotations may be incomplete or change without notice.
Installation
pip install python-pptx-stubs
Compatibility
This project follows the same versioning as python-pptx where possible.
| Stubs Version | python-pptx Version | Python Version | Status |
|---|---|---|---|
| 1.0.2.post1 | 1.0.2 | 3.12+ | Active |
Usage
Once installed, type checkers like mypy and PyRight will automatically discover these stubs when analyzing python-pptx code.
Note: You need to have python-pptx installed separately. This package only provides type information.
Contributing
Found an issue or want to contribute?
- Report bugs: Open an issue
- Contribute: Pull requests are welcome! Please open an issue first to discuss proposed changes.
License
MIT License - see LICENSE file for details
Metadata
Release files for python-pptx-stubs 1.0.2.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_pptx_stubs-1.0.2.post1.tar.gz | 41.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_pptx_stubs-1.0.2.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 118.6 kB
Release files / python_pptx_stubs-1.0.2.post1.tar.gz
| Download URL | python_pptx_stubs-1.0.2.post1.tar.gz |
|---|---|
| Size | 41.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3897cbd09635e51ca573aede30abc20ae759b0c8c12629d2c5391480d9dce955
|
|
BLAKE2b-256 checksum How to use checksums |
3c4d601c2046af451b49b9e92a556764b1ca032bcc35328cd7a05b5db8965648
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / python_pptx_stubs-1.0.2.post1-py3-none-any.whl
| Download URL | python_pptx_stubs-1.0.2.post1-py3-none-any.whl |
|---|---|
| Size | 76.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1589674fd23d2a51e32fe1131c60c0eb81d572f611d05f61e141c70ab42a0247
|
|
BLAKE2b-256 checksum How to use checksums |
2907109c48bdcf6c2fb74a2682eafb3d3c22b316c5ab83a67d02dfdb8748539e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|