Debian Codegraph @

olefile.egg-info/PKG-INFO

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