Type stubs for python-pptx package
Project description
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
Project details
Release history Release notifications | RSS feed
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 python_pptx_stubs-1.0.2.post1.tar.gz.
File metadata
- Download URL: python_pptx_stubs-1.0.2.post1.tar.gz
- Upload date:
- Size: 41.7 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3897cbd09635e51ca573aede30abc20ae759b0c8c12629d2c5391480d9dce955
|
|
| MD5 |
a6d60acd1b95edc6c84f97711f09808b
|
|
| BLAKE2b-256 |
3c4d601c2046af451b49b9e92a556764b1ca032bcc35328cd7a05b5db8965648
|
File details
Details for the file python_pptx_stubs-1.0.2.post1-py3-none-any.whl.
File metadata
- Download URL: python_pptx_stubs-1.0.2.post1-py3-none-any.whl
- Upload date:
- Size: 76.9 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1589674fd23d2a51e32fe1131c60c0eb81d572f611d05f61e141c70ab42a0247
|
|
| MD5 |
2eff26bc2101899b7e9c5a9801bc5686
|
|
| BLAKE2b-256 |
2907109c48bdcf6c2fb74a2682eafb3d3c22b316c5ab83a67d02dfdb8748539e
|