Skip to main content

ole-py

shieldsio-pypi-badge

Microsoft OLE file parser in pure Python. You can read more about OLE file at here.

Installation

pip install ole-py

Example

import ole

with ole.open('examples\\testfile.hwp') as f:
    print(f.list_streams())
    print('=' * 40)
    print(f.get_stream('PrvText').read().decode('utf-16le'))

Result:

('FileHeader', 'DocInfo', '\x05HwpSummaryInformation', 'PrvImage', 'PrvText', 'Scripts/JScriptVersion', 'Scripts/DefaultJScript', 'DocOptions/_LinkDoc', 'BodyText/Section0')
========================================
2018년 육군 전문특기병(어학병 포함) 모집 일정
<특기명><모집인원><접수기간><1차발표><면접일시><면접장소><최종발표><입영시기>
<영어어학병><55><2017-11-03><~><2017-11-14><2017-11-14><2017-12-07   2017-12-07><09:00
14:00><합동군사대학교   국방어학원><2017-12-22><18년 1~3월><66><2018-01-25><~><2018-02-08><2018-02-08><2018-03-08   2018-03-08><09:00  14:00><2018-03-23><18년 4~6월><64><2018-04-25><~><2018-05-09><2018-05-09><2018-06-07   2018-06-07><09:00  14:00><2018-06-22><18년 7~9월><65><2018-07-25><~><2018-08-09><2018-08-09><2018-09-06   2018-09-06><09:00  14:00><2018-09-21><18년 10~12월>
<프랑스어어학병><1><2018-05-24><~><2018-06-07><없음><2018-07-04><13:00><2018-07-27><18년 8월><1><2018-09-27><~><2018-10-11><없음><2018-11-06><13:00><2018-11-23><18년 12월>
<스페인어어학병><1><2018-04-25><~><2018-05-09><없음><2018-06-12><13:00><2018-06-22><18년 7월><1><2018-09-27><~><2018-10-11><없음><2018-11-07><13:00><2018-11-23><18년 12월>
<독일어어학병><1><2017-11-03><~><2017-11-14><없음><2017-12-04><13:00><2017-12-22><18년 1월><2><2018-05-24><~><2018-06-07><없음><2018-07-05><13:00><2018-07-27><18년 8월>
<일본어어학병><2><2017-11-03><~><>

License

MIT

Metadata

Release files for ole-py 1.1.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 ole-py 1.1.2
File Size Uploaded Provenance Actions
ole-py-1.1.2.tar.gz 6.2 kB Without provenance Details for ole-py-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ole-py 1.1.2
File Interpreter ABI Platform Actions
ole_py-1.1.2-py3-none-any.whl Python 3 none any Details for ole_py-1.1.2-py3-none-any.whl

Total release size: 13.7 kB

Release files / ole-py-1.1.2.tar.gz

Download URL ole-py-1.1.2.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7ad3e66e82624cb095f60947fe36c89130d478716290406ef6343283df875b43
BLAKE2b-256 checksum
How to use checksums
b16e4901a820fc3668b5af888462e575a95cd72febf8fb9a66f489d7d996f798
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Release files / ole_py-1.1.2-py3-none-any.whl

Download URL ole_py-1.1.2-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a022d2d35c96d3876ca3a1344a9401f22975e830ecd39d1db91270ca7ea946f
BLAKE2b-256 checksum
How to use checksums
faa546b173d3518e7702c07da1d1c4766b9019a381a94c672cdd1875603f38da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Security for ole-py 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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