{ "info": { "author": "Philippe Lagadec", "author_email": "http://www.decalage.info/contact", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "olefile (formerly OleFileIO\\_PL)\n================================\n\n`olefile `_ is a Python package to\nparse, read and write `Microsoft OLE2\nfiles `_ (also\ncalled Structured Storage, Compound File Binary Format or Compound\nDocument File Format), such as Microsoft Office 97-2003 documents,\nvbaProject.bin in MS Office 2007+ files, Image Composer and FlashPix\nfiles, Outlook messages, StickyNotes, several Microscopy file formats,\nMcAfee antivirus quarantine files, etc.\n\n**Quick links:** `Home page `_ -\n`Download/Install `_\n- `Documentation `_ -\n`Report\nIssues/Suggestions/Questions `_\n- `Contact the author `_ -\n`Repository `_ - `Updates\non Twitter `_\n\nNews\n----\n\nFollow all updates and news on Twitter: https://twitter.com/decalage2\n\n- **2015-01-25 v0.42**: improved handling of special characters in\n stream/storage names on Python 2.x (using UTF-8 instead of Latin-1),\n fixed bug in listdir with empty storages.\n- 2014-11-25 v0.41: OleFileIO.open and isOleFile now support OLE files\n stored in byte strings, fixed installer for python 3, added support\n for Jython (Niko Ehrenfeuchter)\n- 2014-10-01 v0.40: renamed OleFileIO\\_PL to olefile, added initial\n write support for streams >4K, updated doc and license, improved the\n setup script.\n- 2014-07-27 v0.31: fixed support for large files with 4K sectors,\n thanks to Niko Ehrenfeuchter, Martijn Berger and Dave Jones. Added\n test scripts from Pillow (by hugovk). Fixed setup for Python 3\n (Martin Panter)\n- 2014-02-04 v0.30: now compatible with Python 3.x, thanks to Martin\n Panter who did most of the hard work.\n- 2013-07-24 v0.26: added methods to parse stream/storage timestamps,\n improved listdir to include storages, fixed parsing of direntry\n timestamps\n- 2013-05-27 v0.25: improved metadata extraction, properties parsing\n and exception handling, fixed `issue\n #12 `_\n- 2013-05-07 v0.24: new features to extract metadata (get\\_metadata\n method and OleMetadata class), improved getproperties to convert\n timestamps to Python datetime\n- 2012-10-09: published\n `python-oletools `_, a\n package of analysis tools based on OleFileIO\\_PL\n- 2012-09-11 v0.23: added support for file-like objects, fixed `issue\n #8 `_\n- 2012-02-17 v0.22: fixed issues #7 (bug in getproperties) and #2\n (added close method)\n- 2011-10-20: code hosted on bitbucket to ease contributions and bug\n tracking\n- 2010-01-24 v0.21: fixed support for big-endian CPUs, such as PowerPC\n Macs.\n- 2009-12-11 v0.20: small bugfix in OleFileIO.open when filename is not\n plain str.\n- 2009-12-10 v0.19: fixed support for 64 bits platforms (thanks to Ben\n G. and Martijn for reporting the bug)\n- see changelog in source code for more info.\n\nDownload/Install\n----------------\n\nIf you have pip or setuptools installed (pip is included in Python\n2.7.9+), you may simply run **pip install olefile** or **easy\\_install\nolefile** for the first installation.\n\nTo update olefile, run **pip install -U olefile**.\n\nOtherwise, see https://bitbucket.org/decalage/olefileio\\_pl/wiki/Install\n\nFeatures\n--------\n\n- Parse, read and write any OLE file such as Microsoft Office 97-2003\n legacy document formats (Word .doc, Excel .xls, PowerPoint .ppt,\n Visio .vsd, Project .mpp), Image Composer and FlashPix files, Outlook\n messages, StickyNotes, Zeiss AxioVision ZVI files, Olympus FluoView\n OIB files, etc\n- List all the streams and storages contained in an OLE file\n- Open streams as files\n- Parse and read property streams, containing metadata of the file\n- Portable, pure Python module, no dependency\n\nolefile can be used as an independent package or with PIL/Pillow.\n\nolefile is mostly meant for developers. If you are looking for tools to\nanalyze OLE files or to extract data (especially for security purposes\nsuch as malware analysis and forensics), then please also check my\n`python-oletools `_, which are\nbuilt upon olefile and provide a higher-level interface.\n\nHistory\n-------\n\nolefile is based on the OleFileIO module from\n`PIL `_, the excellent\nPython Imaging Library, created and maintained by Fredrik Lundh. The\nolefile API is still compatible with PIL, but since 2005 I have improved\nthe internal implementation significantly, with new features, bugfixes\nand a more robust design. From 2005 to 2014 the project was called\nOleFileIO\\_PL, and in 2014 I changed its name to olefile to celebrate\nits 9 years and its new write features.\n\nAs far as I know, olefile is the most complete and robust Python\nimplementation to read MS OLE2 files, portable on several operating\nsystems. (please tell me if you know other similar Python modules)\n\nSince 2014 olefile/OleFileIO\\_PL has been integrated into\n`Pillow `_, the friendly fork of PIL.\nolefile will continue to be improved as a separate project, and new\nversions will be merged into Pillow regularly.\n\nMain improvements over the original version of OleFileIO in PIL:\n----------------------------------------------------------------\n\n- Compatible with Python 3.x and 2.6+\n- Many bug fixes\n- Support for files larger than 6.8MB\n- Support for 64 bits platforms and big-endian CPUs\n- Robust: many checks to detect malformed files\n- Runtime option to choose if malformed files should be parsed or raise\n exceptions\n- Improved API\n- Metadata extraction, stream/storage timestamps (e.g. for document\n forensics)\n- Can open file-like objects\n- Added setup.py and install.bat to ease installation\n- More convenient slash-based syntax for stream paths\n- Write features\n\nDocumentation\n-------------\n\nPlease see the `online\ndocumentation `_ for\nmore information, especially the `OLE\noverview `_\nand the `API\npage `_ which\ndescribe how to use olefile in Python applications. A copy of the same\ndocumentation is also provided in the doc subfolder of the olefile\npackage.\n\nReal-life examples\n------------------\n\nA real-life example: `using OleFileIO\\_PL for malware analysis and\nforensics `_.\n\nSee also `this\npaper `_\nabout python tools for forensics, which features olefile.\n\nLicense\n-------\n\nolefile (formerly OleFileIO\\_PL) is copyright (c) 2005-2015 Philippe\nLagadec (`http://www.decalage.info `_)\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n- Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n- Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS\nIS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n--------------\n\nolefile is based on source code from the OleFileIO module of the Python\nImaging Library (PIL) published by Fredrik Lundh under the following\nlicense:\n\nThe Python Imaging Library (PIL) is\n\n- Copyright (c) 1997-2005 by Secret Labs AB\n- Copyright (c) 1995-2005 by Fredrik Lundh\n\nBy obtaining, using, and/or copying this software and/or its associated\ndocumentation, you agree that you have read, understood, and will comply\nwith the following terms and conditions:\n\nPermission to use, copy, modify, and distribute this software and its\nassociated documentation for any purpose and without fee is hereby\ngranted, provided that the above copyright notice appears in all copies,\nand that both that copyright notice and this permission notice appear in\nsupporting documentation, and that the name of Secret Labs AB or the\nauthor not be used in advertising or publicity pertaining to\ndistribution of the software without specific, written prior permission.\n\nSECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO\nTHIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS. IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR\nANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER\nRESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF\nCONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN\nCONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.", "description_content_type": null, "docs_url": null, "download_url": "https://bitbucket.org/decalage/olefileio_pl/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.decalage.info/python/olefileio", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "OleFileIO_PL", "package_url": "https://pypi.org/project/OleFileIO_PL/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/OleFileIO_PL/", "project_urls": { "Download": "https://bitbucket.org/decalage/olefileio_pl/downloads", "Homepage": "http://www.decalage.info/python/olefileio" }, "release_url": "https://pypi.org/project/OleFileIO_PL/0.42.1/", "requires_dist": null, "requires_python": null, "summary": "Python package to parse, read and write Microsoft OLE2 files (Structured Storage or Compound Document, Microsoft Office) - Improved version of the OleFileIO module from PIL, the Python Image Library.", "version": "0.42.1" }, "last_serial": 1396068, "releases": { "0.18": [], "0.20": [], "0.21": [], "0.22": [], "0.23": [ { "comment_text": "", "digests": { "md5": "c2d7fe20ceba1219d0bb641899d70c49", "sha256": "bd16227be93e72a728694f17b6d95803b00c3a3702129634335a8ba10319d761" }, "downloads": -1, "filename": "OleFileIO_PL-0.23.zip", "has_sig": false, "md5_digest": "c2d7fe20ceba1219d0bb641899d70c49", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34682, "upload_time": "2012-09-11T22:05:12", "url": "https://files.pythonhosted.org/packages/03/08/23407d96587f9a6272cc5593c502ed4adfc07c020636ddc396a2f1766d2b/OleFileIO_PL-0.23.zip" } ], "0.24": [ { "comment_text": "", "digests": { "md5": "15da28aa90ef4dbe6dc2c74411a26eba", "sha256": "0284a0078ecbfe506b63bc31e6a80793f368bab9256375e1baf68710d07d3b23" }, "downloads": -1, "filename": "OleFileIO_PL-0.24.zip", "has_sig": false, "md5_digest": "15da28aa90ef4dbe6dc2c74411a26eba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35556, "upload_time": "2013-05-07T21:41:32", "url": "https://files.pythonhosted.org/packages/30/ca/9b9ddc4a880d17481be1c1106bed1dea184cf4cd5cbdc7f2cdcf93463fd0/OleFileIO_PL-0.24.zip" } ], "0.25": [ { "comment_text": "", "digests": { "md5": "6e8f477a9afeb23a0a2af0226ed69436", "sha256": "8c8219333ddf78d786c7f9e43a141934ddbd5a20e0e627e4b992ad54550b828a" }, "downloads": -1, "filename": "OleFileIO_PL-0.25.zip", "has_sig": false, "md5_digest": "6e8f477a9afeb23a0a2af0226ed69436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37370, "upload_time": "2013-05-27T05:36:06", "url": "https://files.pythonhosted.org/packages/18/82/990da3eeccb6a503f472f120d1904c799f40cdb9df73ef433dbb31566d40/OleFileIO_PL-0.25.zip" } ], "0.26": [ { "comment_text": "", "digests": { "md5": "479b7f69f47d4089e3a36e2769c8571a", "sha256": "4933cdd181a2506678dd2b01743c33ceec2ec8ecb813fc5e7fa50ea4d6b88fa4" }, "downloads": -1, "filename": "OleFileIO_PL-0.26.zip", "has_sig": false, "md5_digest": "479b7f69f47d4089e3a36e2769c8571a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38261, "upload_time": "2013-07-23T22:40:36", "url": "https://files.pythonhosted.org/packages/f5/dd/9dca4b81a7480e283ff2b617a0e2b308026f9312f459dc0bbe0b248f75f1/OleFileIO_PL-0.26.zip" } ], "0.30": [ { "comment_text": "", "digests": { "md5": "40bcbca400a58898981afdd27e3b00cd", "sha256": "9f2e556f33d5843d3ce03316958b0502d558f08f8a9a4c18a63b842134cdaaa3" }, "downloads": -1, "filename": "OleFileIO_PL-0.30.zip", "has_sig": false, "md5_digest": "40bcbca400a58898981afdd27e3b00cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 78444, "upload_time": "2014-02-05T21:44:42", "url": "https://files.pythonhosted.org/packages/9d/e5/cc03d56395a3d685567512198dd3a5a9d95a1678134e9068badf28f60967/OleFileIO_PL-0.30.zip" } ], "0.31": [ { "comment_text": "", "digests": { "md5": "87c16645230c40f64d32e5cd125c2c55", "sha256": "f58c11cafccb93eb845e6a08b4a80cfd4bf56ba536edc2105041b61c2528184a" }, "downloads": -1, "filename": "OleFileIO_PL-0.31.zip", "has_sig": false, "md5_digest": "87c16645230c40f64d32e5cd125c2c55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 80502, "upload_time": "2014-07-27T14:13:35", "url": "https://files.pythonhosted.org/packages/59/53/62b83a487b0ef8d6e310b124647681d84aa8ff64d866d4602712fe49cfe0/OleFileIO_PL-0.31.zip" } ], "0.40": [ { "comment_text": "", "digests": { "md5": "0b3d939c93e7ffd138f51ea13123130a", "sha256": "965737cc1a7a3f516d5fedfb9837eda751d51f20e427336c4e5b36f9a4ea165b" }, "downloads": -1, "filename": "OleFileIO_PL-0.40.zip", "has_sig": false, "md5_digest": "0b3d939c93e7ffd138f51ea13123130a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 111806, "upload_time": "2014-10-01T15:40:37", "url": "https://files.pythonhosted.org/packages/1b/8b/26fe3d9215c4c88f9b8c925b235b352269e59ba81a97951f4a80470967ef/OleFileIO_PL-0.40.zip" } ], "0.41": [ { "comment_text": "", "digests": { "md5": "8e04e447d7bd21b094a812e0592afa33", "sha256": "cb868de3ce6adb7727a4d6ec7510c151c51cdbde875f70a696d772d425b093f6" }, "downloads": -1, "filename": "OleFileIO_PL-0.41.zip", "has_sig": false, "md5_digest": "8e04e447d7bd21b094a812e0592afa33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 118436, "upload_time": "2014-11-25T21:34:59", "url": "https://files.pythonhosted.org/packages/1a/5b/3c6803bb51336b71525bce4c811c598107073dc642c9fafffc6a79b0e4b7/OleFileIO_PL-0.41.zip" } ], "0.42.1": [ { "comment_text": "", "digests": { "md5": "624270bf59af831e54a2642d17097d9d", "sha256": "3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e" }, "downloads": -1, "filename": "OleFileIO_PL-0.42.1.zip", "has_sig": false, "md5_digest": "624270bf59af831e54a2642d17097d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 120042, "upload_time": "2015-01-25T21:21:46", "url": "https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "624270bf59af831e54a2642d17097d9d", "sha256": "3466f8e9bce80bbe447aef69cb5653d40d425944cb9f9052bbd8f1511eeca98e" }, "downloads": -1, "filename": "OleFileIO_PL-0.42.1.zip", "has_sig": false, "md5_digest": "624270bf59af831e54a2642d17097d9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 120042, "upload_time": "2015-01-25T21:21:46", "url": "https://files.pythonhosted.org/packages/a0/05/f124ecb536ae2090891d3bcb6a65facd1358f4fd10422c1354357687e8dc/OleFileIO_PL-0.42.1.zip" } ] }