Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Processes pptx presentations, optimized for repetitive processing large ones

License

Notifications You must be signed in to change notification settings

ktsstudio/gentle-python-pptx

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gentle-python-pptx

This library is created for repetitive processing large pptx presentations more CPU- and memory- effective than 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

from gpptx.load import PresentationContainer

with open('file.pptx', mode='rb') as f:
    container = PresentationContainer(f)
    presentation = container.presentation
    # ...

About

Processes pptx presentations, optimized for repetitive processing large ones

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.