Skip to main content

OFD

OFD 文档解析库,开发中...

  • Reader
  • Writer
  • Convertor

OFD 解析

from ofdlib import Reader

file = "your_path_of_ofd_document.ofd"
ofd = Reader(file)

print(ofd.OFD)
print(ofd.documents)

for page in ofd.documents[0].pages():
    print(page)
    page.show()

参考资料

jyh2012/ofd-parser DLTech21/ofd.js ofdrw/ofdrw

Metadata

Release files for ofdlib 0.0.1

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

Source distribution (sdist)

Source distribution for ofdlib 0.0.1
File Size Uploaded
ofdlib-0.0.1.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ofdlib 0.0.1
File Interpreter ABI Platform
ofdlib-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.7 kB

Release files / ofdlib-0.0.1.tar.gz

Download URL ofdlib-0.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0277dc450a842948767149592f161440d83381d7cf268b9b66d3982437dd9aea
BLAKE2b-256 checksum
How to use checksums
c051f9040ebf89d3cd393f33dcbc116914c903827cf4867b0690debea2c0e98b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.7.3 Windows/10

Release files / ofdlib-0.0.1-py3-none-any.whl

Download URL ofdlib-0.0.1-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f00b9525bbed041611439c0b693ba194d1be26ae5cbd9bdeff6419f1245bda32
BLAKE2b-256 checksum
How to use checksums
5ea4a2498345e3e44f2a4c1867bc7e1917bb100f11b599357aee09729c946c0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.7.3 Windows/10

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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