ofdlib


Nameofdlib JSON
Version 0.0.1 PyPI version JSON
download
home_page
Summary
upload_time2023-08-01 08:46:52
maintainer
docs_urlNone
authorhbh112233abc
requires_python>=3.7,<4.0
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OFD

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

- [x] Reader
- [ ] Writer
- [ ] Convertor

## OFD 解析

```python
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](https://github.com/jyh2012/ofd-parser)
[DLTech21/ofd.js](https://github.com/DLTech21/ofd.js)
[ofdrw/ofdrw](https://github.com/ofdrw/ofdrw)

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ofdlib",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "hbh112233abc",
    "author_email": "hbh112233abc@163.com",
    "download_url": "https://files.pythonhosted.org/packages/c0/51/f9040ebf89d3cd393f33dcbc116914c903827cf4867b0690debea2c0e98b/ofdlib-0.0.1.tar.gz",
    "platform": null,
    "description": "# OFD\n\nOFD \u6587\u6863\u89e3\u6790\u5e93,\u5f00\u53d1\u4e2d...\n\n- [x] Reader\n- [ ] Writer\n- [ ] Convertor\n\n## OFD \u89e3\u6790\n\n```python\nfrom ofdlib import Reader\n\nfile = \"your_path_of_ofd_document.ofd\"\nofd = Reader(file)\n\nprint(ofd.OFD)\nprint(ofd.documents)\n\nfor page in ofd.documents[0].pages():\n    print(page)\n    page.show()\n\n```\n\n## \u53c2\u8003\u8d44\u6599\n\n[jyh2012/ofd-parser](https://github.com/jyh2012/ofd-parser)\n[DLTech21/ofd.js](https://github.com/DLTech21/ofd.js)\n[ofdrw/ofdrw](https://github.com/ofdrw/ofdrw)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.0.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5ea4a2498345e3e44f2a4c1867bc7e1917bb100f11b599357aee09729c946c0c",
                "md5": "838495cadffd68b847fb7aa7e9120e3d",
                "sha256": "f00b9525bbed041611439c0b693ba194d1be26ae5cbd9bdeff6419f1245bda32"
            },
            "downloads": -1,
            "filename": "ofdlib-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "838495cadffd68b847fb7aa7e9120e3d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 2294,
            "upload_time": "2023-08-01T08:46:50",
            "upload_time_iso_8601": "2023-08-01T08:46:50.850938Z",
            "url": "https://files.pythonhosted.org/packages/5e/a4/a2498345e3e44f2a4c1867bc7e1917bb100f11b599357aee09729c946c0c/ofdlib-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c051f9040ebf89d3cd393f33dcbc116914c903827cf4867b0690debea2c0e98b",
                "md5": "6394362e8b7cdd9382a64266da2a2064",
                "sha256": "0277dc450a842948767149592f161440d83381d7cf268b9b66d3982437dd9aea"
            },
            "downloads": -1,
            "filename": "ofdlib-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6394362e8b7cdd9382a64266da2a2064",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 2381,
            "upload_time": "2023-08-01T08:46:52",
            "upload_time_iso_8601": "2023-08-01T08:46:52.161127Z",
            "url": "https://files.pythonhosted.org/packages/c0/51/f9040ebf89d3cd393f33dcbc116914c903827cf4867b0690debea2c0e98b/ofdlib-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-01 08:46:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ofdlib"
}
        
Elapsed time: 0.23966s