https://github.com/ktsstudio/gentle-python-pptx
Processes pptx presentations, optimized for repetitive processing large ones
https://github.com/ktsstudio/gentle-python-pptx
pptx presentation
Last synced: 6 months ago
JSON representation
Processes pptx presentations, optimized for repetitive processing large ones
- Host: GitHub
- URL: https://github.com/ktsstudio/gentle-python-pptx
- Owner: ktsstudio
- License: mit
- Created: 2018-12-09T17:07:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T18:46:25.000Z (over 6 years ago)
- Last Synced: 2025-03-25T03:34:46.837Z (7 months ago)
- Topics: pptx, presentation
- Language: Python
- Homepage:
- Size: 190 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gentle-python-pptx
This library is created for repetitive processing large pptx presentations more CPU- and memory- effective than [python-pptx](https://github.com/scanny/python-pptx) library.
## Persisting cache feature
The library caches all properties calculated from the xml and allows to save the cache and restore it on the second pptx-file load.
## PPTX parsing status
`gentle-python-pptx` handles but `python-pptx` don't:
- Colors
- Nested text formatting
- Shapes adding/removal/duplication
- Slides adding/removal/duplication`python-pptx` handles but `gentle-python-pptx` don't:
- Specification-right pptx parsing
- Tables
- Charts
- Notes slides## How to use
```python
from gpptx.load import PresentationContainerwith open('file.pptx', mode='rb') as f:
container = PresentationContainer(f)
presentation = container.presentation
# ...
```