Extracts Embeded documents From Open XML documents. Such as excels, documents, presentations etc. .
Project description
The Objects Embeded in files with extensions .xlsx, .ppt,.doc etc can be extracted using this library.
list of file extensions supported
- .xlsx
- .xlsm
- .xltx
- .xltm
- .docx
- .dotx
- .docm
- .dotm
- .pptx
- .pptm
- .potx
- .potm
Sample code to extract embeded files.
from AttachmentsExtractor import extractor
abs_path_to_file='Please provide absolute path here ' path_to_destination_directory = 'Please provide path of the directory where the extracted attachments should be stored'
extractor.extract(abs_path_to_file,path_to_destination_directory) # returns true if one or more attachments are found else returns false.
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
Close
Hashes for AttachmentsExtractor-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 267c9b12df2bf9dc92cef5166b32d7fdcda5c10690678af22d2331e1f12379f6 |
|
MD5 | a0e4459a1760da069146a0e122709f49 |
|
BLAKE2b-256 | 8ea8c5be398fad4b97f8b8193259a1008bcfd3f005d3936c2cad3b5e5cd7079c |