Name | python-docx-ml6-fork JSON |
Version |
1.0.1
JSON |
| download |
home_page | |
Summary | Create, read, and update Microsoft Word .docx files. This a a fork from the orginal python-docx library that includes some not yet merged features. All credits to Steve Canny and all contributors who've created this library. |
upload_time | 2023-11-09 16:34:28 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | MIT |
keywords |
docx
office
openxml
word
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
|
coveralls test coverage |
No coveralls.
|
# python-docx
*python-docx* is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.
## Installation
```
pip install python-docx
```
## Example
```python
>>> from docx import Document
>>> document = Document()
>>> document.add_paragraph("It was a dark and stormy night.")
<docx.text.paragraph.Paragraph object at 0x10f19e760>
>>> document.save("dark-and-stormy.docx")
>>> document = Document("dark-and-stormy.docx")
>>> document.paragraphs[0].text
'It was a dark and stormy night.'
```
More information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)
Raw data
{
"_id": null,
"home_page": "",
"name": "python-docx-ml6-fork",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "docx,office,openxml,word",
"author": "",
"author_email": "Steve Canny <stcanny@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/d9/fe/2285fff31ed605879776971d26cfd401706b35dca877b93f40d3024321f4/python-docx-ml6-fork-1.0.1.tar.gz",
"platform": null,
"description": "# python-docx\n\n*python-docx* is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.\n\n## Installation\n\n```\npip install python-docx\n```\n\n## Example\n\n```python\n>>> from docx import Document\n\n>>> document = Document()\n>>> document.add_paragraph(\"It was a dark and stormy night.\")\n<docx.text.paragraph.Paragraph object at 0x10f19e760>\n>>> document.save(\"dark-and-stormy.docx\")\n\n>>> document = Document(\"dark-and-stormy.docx\")\n>>> document.paragraphs[0].text\n'It was a dark and stormy night.'\n```\n\nMore information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Create, read, and update Microsoft Word .docx files. This a a fork from the orginal python-docx library that includes some not yet merged features. All credits to Steve Canny and all contributors who've created this library.",
"version": "1.0.1",
"project_urls": {
"Changelog": "https://github.com/python-openxml/python-docx/blob/master/HISTORY.rst",
"Documentation": "https://python-docx.readthedocs.org/en/latest/",
"Homepage": "https://github.com/python-openxml/python-docx",
"Repository": "https://github.com/python-openxml/python-docx"
},
"split_keywords": [
"docx",
"office",
"openxml",
"word"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "708331e657569e5fd3c5f44b2278ab290121a22767a7bd008d760533c1808e76",
"md5": "53218d78f48a40973473b597d57075df",
"sha256": "962423b44b2b3a1e10ab7d21d7e22ff231d406807b2e4e625de8ca25797dfb21"
},
"downloads": -1,
"filename": "python_docx_ml6_fork-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "53218d78f48a40973473b597d57075df",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 242866,
"upload_time": "2023-11-09T16:34:23",
"upload_time_iso_8601": "2023-11-09T16:34:23.758309Z",
"url": "https://files.pythonhosted.org/packages/70/83/31e657569e5fd3c5f44b2278ab290121a22767a7bd008d760533c1808e76/python_docx_ml6_fork-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d9fe2285fff31ed605879776971d26cfd401706b35dca877b93f40d3024321f4",
"md5": "2d7962627ceced6731a91fe732f60c38",
"sha256": "9fe19310872e3aefc5bed84ad1f962e0683c61adbb2d7d32284df3309cb054a3"
},
"downloads": -1,
"filename": "python-docx-ml6-fork-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "2d7962627ceced6731a91fe732f60c38",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5563581,
"upload_time": "2023-11-09T16:34:28",
"upload_time_iso_8601": "2023-11-09T16:34:28.521738Z",
"url": "https://files.pythonhosted.org/packages/d9/fe/2285fff31ed605879776971d26cfd401706b35dca877b93f40d3024321f4/python-docx-ml6-fork-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-09 16:34:28",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "python-openxml",
"github_project": "python-docx",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "python-docx-ml6-fork"
}