Skip to main content

The Objects Embeded in files with extensions .xlsx, .ppt,.doc etc can be extracted using this library.

list of file extensions supported

  1. .xlsx
  2. .xlsm
  3. .xltx
  4. .xltm
  5. .docx
  6. .dotx
  7. .docm
  8. .dotm
  9. .pptx
  10. .pptm
  11. .potx
  12. .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.

Metadata

Release files for AttachmentsExtractor 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AttachmentsExtractor 1.0.2
File Size Uploaded
AttachmentsExtractor-1.0.2.tar.gz 3.2 kB Details

Release files / AttachmentsExtractor-1.0.2.tar.gz

Download URL AttachmentsExtractor-1.0.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
267c9b12df2bf9dc92cef5166b32d7fdcda5c10690678af22d2331e1f12379f6
BLAKE2b-256 checksum
How to use checksums
8ea8c5be398fad4b97f8b8193259a1008bcfd3f005d3936c2cad3b5e5cd7079c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page