METADATA 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. Metadata-Version: 2.1
  2. Name: olefile
  3. Version: 0.46
  4. Summary: Python package to parse, read and write Microsoft OLE2 files (Structured Storage or Compound Document, Microsoft Office)
  5. Home-page: https://www.decalage.info/python/olefileio
  6. Author: Philippe Lagadec
  7. Author-email: nospam@decalage.info
  8. License: BSD
  9. Download-URL: https://github.com/decalage2/olefile/tarball/master
  10. Description-Content-Type: UNKNOWN
  11. Platform: UNKNOWN
  12. Classifier: Development Status :: 5 - Production/Stable
  13. Classifier: Intended Audience :: Developers
  14. Classifier: Intended Audience :: Information Technology
  15. Classifier: Intended Audience :: Science/Research
  16. Classifier: Intended Audience :: System Administrators
  17. Classifier: License :: OSI Approved :: BSD License
  18. Classifier: Operating System :: OS Independent
  19. Classifier: Programming Language :: Python
  20. Classifier: Programming Language :: Python :: 2
  21. Classifier: Programming Language :: Python :: 2.7
  22. Classifier: Programming Language :: Python :: 3
  23. Classifier: Programming Language :: Python :: 3.4
  24. Classifier: Programming Language :: Python :: 3.5
  25. Classifier: Programming Language :: Python :: 3.6
  26. Classifier: Programming Language :: Python :: 3.7
  27. Classifier: Programming Language :: Python :: Implementation :: CPython
  28. Classifier: Programming Language :: Python :: Implementation :: PyPy
  29. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  30. Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
  31. olefile
  32. =======
  33. |Build Status TravisCI| |Build Status AppVeyor| |Coverage Status|
  34. |Documentation Status| |PyPI| |Can I Use Python 3?| |Say Thanks!|
  35. `olefile <https://www.decalage.info/olefile>`__ is a Python package to
  36. parse, read and write `Microsoft OLE2
  37. files <http://en.wikipedia.org/wiki/Compound_File_Binary_Format>`__
  38. (also called Structured Storage, Compound File Binary Format or Compound
  39. Document File Format), such as Microsoft Office 97-2003 documents,
  40. vbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix
  41. files, Outlook messages, StickyNotes, several Microscopy file formats,
  42. McAfee antivirus quarantine files, etc.
  43. **Quick links:** `Home page <https://www.decalage.info/olefile>`__ -
  44. `Download/Install <http://olefile.readthedocs.io/en/latest/Install.html>`__
  45. - `Documentation <http://olefile.readthedocs.io/en/latest>`__ - `Report
  46. Issues/Suggestions/Questions <https://github.com/decalage2/olefile/issues>`__
  47. - `Contact the author <https://www.decalage.info/contact>`__ -
  48. `Repository <https://github.com/decalage2/olefile>`__ - `Updates on
  49. Twitter <https://twitter.com/decalage2>`__
  50. News
  51. ----
  52. Follow all updates and news on Twitter: https://twitter.com/decalage2
  53. - **2018-09-09 v0.46**: OleFileIO can now be used as a context manager
  54. (with...as), to close the file automatically (see
  55. `doc <https://olefile.readthedocs.io/en/latest/Howto.html#open-an-ole-file-from-disk>`__).
  56. Improved handling of malformed files, fixed several bugs.
  57. - 2018-01-24 v0.45: olefile can now overwrite streams of any size,
  58. improved handling of malformed files, fixed several
  59. `bugs <https://github.com/decalage2/olefile/milestone/4?closed=1>`__,
  60. end of support for Python 2.6 and 3.3.
  61. - 2017-01-06 v0.44: several bugfixes, removed support for Python 2.5
  62. (olefile2), added support for incomplete streams and incorrect
  63. directory entries (to read malformed documents), added getclsid,
  64. improved `documentation <http://olefile.readthedocs.io/en/latest>`__
  65. with API reference.
  66. - 2017-01-04: moved the documentation to
  67. `ReadTheDocs <http://olefile.readthedocs.io/en/latest>`__
  68. - 2016-05-20: moved olefile repository to
  69. `GitHub <https://github.com/decalage2/olefile>`__
  70. - 2016-02-02 v0.43: fixed issues
  71. `#26 <https://github.com/decalage2/olefile/issues/26>`__ and
  72. `#27 <https://github.com/decalage2/olefile/issues/27>`__, better
  73. handling of malformed files, use python logging.
  74. - see
  75. `changelog <https://github.com/decalage2/olefile/blob/master/CHANGELOG.md>`__
  76. for more detailed information and the latest changes.
  77. Download/Install
  78. ----------------
  79. If you have pip or setuptools installed (pip is included in Python
  80. 2.7.9+), you may simply run **pip install olefile** or **easy_install
  81. olefile** for the first installation.
  82. To update olefile, run **pip install -U olefile**.
  83. Otherwise, see http://olefile.readthedocs.io/en/latest/Install.html
  84. Features
  85. --------
  86. - Parse, read and write any OLE file such as Microsoft Office 97-2003
  87. legacy document formats (Word .doc, Excel .xls, PowerPoint .ppt,
  88. Visio .vsd, Project .mpp), Image Composer and FlashPix files, Outlook
  89. messages, StickyNotes, Zeiss AxioVision ZVI files, Olympus FluoView
  90. OIB files, etc
  91. - List all the streams and storages contained in an OLE file
  92. - Open streams as files
  93. - Parse and read property streams, containing metadata of the file
  94. - Portable, pure Python module, no dependency
  95. olefile can be used as an independent package or with PIL/Pillow.
  96. olefile is mostly meant for developers. If you are looking for tools to
  97. analyze OLE files or to extract data (especially for security purposes
  98. such as malware analysis and forensics), then please also check my
  99. `python-oletools <https://www.decalage.info/python/oletools>`__, which
  100. are built upon olefile and provide a higher-level interface.
  101. Documentation
  102. -------------
  103. Please see the `online
  104. documentation <http://olefile.readthedocs.io/en/latest>`__ for more
  105. information.
  106. Real-life examples
  107. ------------------
  108. A real-life example: `using OleFileIO_PL for malware analysis and
  109. forensics <http://blog.gregback.net/2011/03/using-remnux-for-forensic-puzzle-6/>`__.
  110. See also `this
  111. paper <https://computer-forensics.sans.org/community/papers/gcfa/grow-forensic-tools-taxonomy-python-libraries-helpful-forensic-analysis_6879>`__
  112. about python tools for forensics, which features olefile.
  113. License
  114. -------
  115. olefile (formerly OleFileIO_PL) is copyright (c) 2005-2018 Philippe
  116. Lagadec (https://www.decalage.info)
  117. All rights reserved.
  118. Redistribution and use in source and binary forms, with or without
  119. modification, are permitted provided that the following conditions are
  120. met:
  121. - Redistributions of source code must retain the above copyright
  122. notice, this list of conditions and the following disclaimer.
  123. - Redistributions in binary form must reproduce the above copyright
  124. notice, this list of conditions and the following disclaimer in the
  125. documentation and/or other materials provided with the distribution.
  126. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  127. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
  128. TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
  129. PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  130. HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  131. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
  132. TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  133. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  134. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  135. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  136. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  137. --------------
  138. olefile is based on source code from the OleFileIO module of the Python
  139. Imaging Library (PIL) published by Fredrik Lundh under the following
  140. license:
  141. The Python Imaging Library (PIL) is
  142. - Copyright (c) 1997-2009 by Secret Labs AB
  143. - Copyright (c) 1995-2009 by Fredrik Lundh
  144. By obtaining, using, and/or copying this software and/or its associated
  145. documentation, you agree that you have read, understood, and will comply
  146. with the following terms and conditions:
  147. Permission to use, copy, modify, and distribute this software and its
  148. associated documentation for any purpose and without fee is hereby
  149. granted, provided that the above copyright notice appears in all copies,
  150. and that both that copyright notice and this permission notice appear in
  151. supporting documentation, and that the name of Secret Labs AB or the
  152. author not be used in advertising or publicity pertaining to
  153. distribution of the software without specific, written prior permission.
  154. SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO
  155. THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  156. FITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR
  157. ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
  158. RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
  159. CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  160. CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  161. .. |Build Status TravisCI| image:: https://travis-ci.org/decalage2/olefile.svg?branch=master
  162. :target: https://travis-ci.org/decalage2/olefile
  163. .. |Build Status AppVeyor| image:: https://ci.appveyor.com/api/projects/status/github/decalage2/olefile?svg=true
  164. :target: https://ci.appveyor.com/project/decalage2/olefile
  165. .. |Coverage Status| image:: https://coveralls.io/repos/github/decalage2/olefile/badge.svg?branch=master
  166. :target: https://coveralls.io/github/decalage2/olefile?branch=master
  167. .. |Documentation Status| image:: http://readthedocs.org/projects/olefile/badge/?version=latest
  168. :target: http://olefile.readthedocs.io/en/latest/?badge=latest
  169. .. |PyPI| image:: https://img.shields.io/pypi/v/olefile.svg
  170. :target: https://pypi.org/project/olefile/
  171. .. |Can I Use Python 3?| image:: https://caniusepython3.com/project/olefile.svg
  172. :target: https://caniusepython3.com/project/olefile
  173. .. |Say Thanks!| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
  174. :target: https://saythanks.io/to/decalage2