{ "info": { "author": "Steve Canny", "author_email": "python-docx@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Office/Business :: Office Suites", "Topic :: Software Development :: Libraries" ], "description": "# python-docx-whtsky\n\n![https://travis-ci.com/whtsky/python-docx.svg?branch=master](https://travis-ci.com/whtsky/python-docx)\n\n_python-docx-whtsky_ is a Python library for creating and updating Microsoft Word\n(.docx) files.\n\nMore information is available in the [python-docx documentation](https://python-docx.readthedocs.org/en/latest/)\n\n## Release History\n\n### 0.8.10.3 (2019-11-11)\n\n- TableCell's `add_table` method accepts `firstCol, firstRow, lastCol, lastRow, hBand, vBand)` now.\n\n### 0.8.10.2 (2019-10-23)\n\n- Add ability to restart list numbering. ( https://github.com/python-openxml/python-docx/pull/210 )\n\n
\nExample\n\nhttps://github.com/python-openxml/python-docx/issues/25#issuecomment-143231954\n\n```python\nfrom docx import Document\n\ndocument = Document()\n\n# Add desired numbering styles to your template file.\n\n# Extract abstractNumId from there. In this example, abstractNumId is 10\n\nnumId = document.get_new_list(\"10\")\n\n# Add a list\n\np = document.add_paragraph(style = 'ListParagraph', text = \"a\")\np.num_id = numId\np.level = 0\np = document.add_paragraph(style = 'ListParagraph', text = \"b\")\np.num_id = numId\np.level = 1\np = document.add_paragraph(style = 'ListParagraph', text = \"c\")\np.num_id = numId\np.level = 1\np = document.add_paragraph(style = 'ListParagraph', text = \"d\")\np.num_id = numId\np.level = 0\np = document.add_paragraph(style = 'ListParagraph', text = \"e\")\np.num_id = numId\np.level = 1\np = document.add_paragraph(style = 'ListParagraph', text = \"f\")\np.num_id = numId\np.level = 0\n\n# Restart numbering at the outer level\n\nnumId = document.get_new_list(\"10\")\n\n# Add the same list once again. The numbering is restarted\n\np = document.add_paragraph(style = 'ListParagraph', text = \"a\")\np.num_id = numId\np.level = 0\np = document.add_paragraph(style = 'ListParagraph', text = \"b\")\np.num_id = numId\np.level = 1\np = document.add_paragraph(style = 'ListParagraph', text = \"c\")\np.num_id = numId\np.level = 1\np = document.add_paragraph(style = 'ListParagraph', text = \"d\")\np.num_id = numId\np.level = 0\np = document.add_paragraph(style = 'ListParagraph', text = \"e\")\np.num_id = numId\np.level = 1\np = document.add_paragraph(style = 'ListParagraph', text = \"f\")\np.num_id = numId\np.level = 0\n\ndocument.save(\"num.docx\")\n\n```\n\n
\n\n### 0.8.10.1 (2019-10-16)\n\n- allow table looking (header row/col, footer row/col, bands) modification. https://github.com/python-openxml/python-docx/pull/579\n- Added font property to paragraph. https://github.com/python-openxml/python-docx/pull/417\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/whtsky/python-docx", "keywords": "docx office openxml word", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "python-docx-whtsky", "package_url": "https://pypi.org/project/python-docx-whtsky/", "platform": "", "project_url": "https://pypi.org/project/python-docx-whtsky/", "project_urls": { "Homepage": "https://github.com/whtsky/python-docx" }, "release_url": "https://pypi.org/project/python-docx-whtsky/0.8.10.3/", "requires_dist": [ "lxml (>=2.3.2)" ], "requires_python": "", "summary": "Create and update Microsoft Word .docx files.", "version": "0.8.10.3", "yanked": false, "yanked_reason": null }, "last_serial": 6115286, "releases": { "0.8.10.1": [ { "comment_text": "", "digests": { "md5": "41323a779bc619c0af7a9c9b4fab35da", "sha256": "137d0abb335e02124ecd009fd8a0361fcbf06f37936afd13ba00a02461f6b8f8" }, "downloads": -1, "filename": "python_docx_whtsky-0.8.10.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "41323a779bc619c0af7a9c9b4fab35da", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 182219, "upload_time": "2019-10-16T07:23:05", "upload_time_iso_8601": "2019-10-16T07:23:05.906785Z", "url": "https://files.pythonhosted.org/packages/2f/6d/a1c5d96f83ecbbee182a8f2e35be10bf3aca64732a0a5020fa715d6b1599/python_docx_whtsky-0.8.10.1-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "7de9ae3e97d7550cdb7dd9ae8f2d6f8f", "sha256": "9970147f366e77dff81cde12e65da64baed0de4933842f9fb702859786561acc" }, "downloads": -1, "filename": "python-docx-whtsky-0.8.10.1.tar.gz", "has_sig": false, "md5_digest": "7de9ae3e97d7550cdb7dd9ae8f2d6f8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5493699, "upload_time": "2019-10-16T07:23:13", "upload_time_iso_8601": "2019-10-16T07:23:13.714787Z", "url": "https://files.pythonhosted.org/packages/ce/7c/ebdc0a5d9e60c0e4941e0e0a1df488cf3129733eacbed11c9509940ddb35/python-docx-whtsky-0.8.10.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.8.10.2": [ { "comment_text": "", "digests": { "md5": "8d3b8521ecc0073d908c5649717a304b", "sha256": "473fcf8007222bace0462080ea3f8f71f3ed379c44e148b268ebbaff262e2aab" }, "downloads": -1, "filename": "python_docx_whtsky-0.8.10.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8d3b8521ecc0073d908c5649717a304b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 183028, "upload_time": "2019-10-23T06:30:57", "upload_time_iso_8601": "2019-10-23T06:30:57.369646Z", "url": "https://files.pythonhosted.org/packages/9b/8b/11b2ba0f35a4718fa72c5e5e4593ea94387e0ced99e26fa689d8f0efd8ab/python_docx_whtsky-0.8.10.2-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "6c453d99824e357c514d3b951689360a", "sha256": "603c7db2fb5a03c754428c20823b3eba1904b80da22b5f754131636b1bdcf240" }, "downloads": -1, "filename": "python-docx-whtsky-0.8.10.2.tar.gz", "has_sig": false, "md5_digest": "6c453d99824e357c514d3b951689360a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494905, "upload_time": "2019-10-23T06:31:02", "upload_time_iso_8601": "2019-10-23T06:31:02.799785Z", "url": "https://files.pythonhosted.org/packages/3b/aa/7f06a6b82f6e73ad3e6078d255e7693ff86e26ab4ef7b7f51cb06b7cf2a5/python-docx-whtsky-0.8.10.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.8.10.3": [ { "comment_text": "", "digests": { "md5": "feb89e63692d7315f5711ed84d34336a", "sha256": "a487a25ea6f3d66816d8c5cbb54659f773eeea019d34c126c6cb6ee0db856456" }, "downloads": -1, "filename": "python_docx_whtsky-0.8.10.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "feb89e63692d7315f5711ed84d34336a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 183169, "upload_time": "2019-11-11T08:55:28", "upload_time_iso_8601": "2019-11-11T08:55:28.931985Z", "url": "https://files.pythonhosted.org/packages/52/79/ebaaaad26bc2c8bbc7a955b462c7f125caf88a00453cd09be41c8669a647/python_docx_whtsky-0.8.10.3-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "27040e9cd93bc9a52465c8a4e401e8a7", "sha256": "54d41ac8699af7783857b64befea755e39db5e00e917e7b9f7d675f0c3bf751b" }, "downloads": -1, "filename": "python-docx-whtsky-0.8.10.3.tar.gz", "has_sig": false, "md5_digest": "27040e9cd93bc9a52465c8a4e401e8a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494996, "upload_time": "2019-11-11T09:20:06", "upload_time_iso_8601": "2019-11-11T09:20:06.411137Z", "url": "https://files.pythonhosted.org/packages/e0/34/aa5d4a789badf5ae753544eb66ecf09fb227353e1f655449df0188583b48/python-docx-whtsky-0.8.10.3.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "feb89e63692d7315f5711ed84d34336a", "sha256": "a487a25ea6f3d66816d8c5cbb54659f773eeea019d34c126c6cb6ee0db856456" }, "downloads": -1, "filename": "python_docx_whtsky-0.8.10.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "feb89e63692d7315f5711ed84d34336a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 183169, "upload_time": "2019-11-11T08:55:28", "upload_time_iso_8601": "2019-11-11T08:55:28.931985Z", "url": "https://files.pythonhosted.org/packages/52/79/ebaaaad26bc2c8bbc7a955b462c7f125caf88a00453cd09be41c8669a647/python_docx_whtsky-0.8.10.3-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "27040e9cd93bc9a52465c8a4e401e8a7", "sha256": "54d41ac8699af7783857b64befea755e39db5e00e917e7b9f7d675f0c3bf751b" }, "downloads": -1, "filename": "python-docx-whtsky-0.8.10.3.tar.gz", "has_sig": false, "md5_digest": "27040e9cd93bc9a52465c8a4e401e8a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5494996, "upload_time": "2019-11-11T09:20:06", "upload_time_iso_8601": "2019-11-11T09:20:06.411137Z", "url": "https://files.pythonhosted.org/packages/e0/34/aa5d4a789badf5ae753544eb66ecf09fb227353e1f655449df0188583b48/python-docx-whtsky-0.8.10.3.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }