python-docx-ml6


Namepython-docx-ml6 JSON
Version 1.0.2 PyPI version JSON
download
home_page
SummaryCreate, read, and update Microsoft Word .docx files. This is a fork from the original library that includes feature requests that have been provided by the open source community but have not yet been merged in the original package.
upload_time2023-11-09 17:12:17
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT
keywords docx office openxml word
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # python-docx

This package is a fork from the original `python-docx`. It includes feature requests that are yet to be merged in the original one.
*python-docx* is a Python library for reading, creating, and updating Microsoft Word 2007+ (.docx) files.

## Installation

```
pip install python-docx-ml6
```

## 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",
    "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/b2/9b/df0e7cb205c820d2b43092495dce9a21628428ac6b2891b88486adc57f55/python-docx-ml6-1.0.2.tar.gz",
    "platform": null,
    "description": "# python-docx\n\nThis package is a fork from the original `python-docx`. It includes feature requests that are yet to be merged in the original one.\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-ml6\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 is a fork from the original library that includes feature requests that have been provided by the open source community but have not yet been merged in the original package.",
    "version": "1.0.2",
    "project_urls": {
        "Changelog": "https://github.com/ml6team/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/ml6team/python-docx"
    },
    "split_keywords": [
        "docx",
        "office",
        "openxml",
        "word"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bd1556d15d570372d056767aa0df8e72a3ccf1f691411a189f47fd8d44f8fcee",
                "md5": "403b4a19983e5212a5fb5769d3e16ed0",
                "sha256": "6031da64073323cf70f7a2b6766df56860c9c2ebfc3a948a66bbb771f90f1c74"
            },
            "downloads": -1,
            "filename": "python_docx_ml6-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "403b4a19983e5212a5fb5769d3e16ed0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 242856,
            "upload_time": "2023-11-09T17:12:12",
            "upload_time_iso_8601": "2023-11-09T17:12:12.984209Z",
            "url": "https://files.pythonhosted.org/packages/bd/15/56d15d570372d056767aa0df8e72a3ccf1f691411a189f47fd8d44f8fcee/python_docx_ml6-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b29bdf0e7cb205c820d2b43092495dce9a21628428ac6b2891b88486adc57f55",
                "md5": "7a8782cdd671e26b88a5e3e07eb39db6",
                "sha256": "31d968776a5f937a341ae93fab477c35c0d047dbdfde01099a7580855d7bd099"
            },
            "downloads": -1,
            "filename": "python-docx-ml6-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7a8782cdd671e26b88a5e3e07eb39db6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5563425,
            "upload_time": "2023-11-09T17:12:17",
            "upload_time_iso_8601": "2023-11-09T17:12:17.346103Z",
            "url": "https://files.pythonhosted.org/packages/b2/9b/df0e7cb205c820d2b43092495dce9a21628428ac6b2891b88486adc57f55/python-docx-ml6-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-09 17:12:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ml6team",
    "github_project": "python-docx",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "python-docx-ml6"
}
        
Elapsed time: 0.23150s