pypi.org
Open in
urlscan Pro
2a04:4e42::223
Public Scan
URL:
https://pypi.org/project/python-docx/
Submission Tags: falconsandbox
Submission: On September 13 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On September 13 via api from US — Scanned from DE
Form analysis
3 forms found in the DOM/search/
<form class="search-form search-form--primary" action="/search/" role="search">
<label for="search" class="sr-only">Search PyPI</label>
<input id="search" class="search-form__search" type="text" name="q" placeholder="Search projects" value="" autocomplete="off" autocapitalize="off" spellcheck="false" data-controller="search-focus"
data-action="keydown@window->search-focus#focusSearchField" data-search-focus-target="searchField">
<button type="submit" class="search-form__button">
<i class="fa fa-search" aria-hidden="true"></i>
<span class="sr-only">Search</span>
</button>
</form>
/search/
<form class="search-form search-form--fullwidth" action="/search/" role="search">
<label for="mobile-search" class="sr-only">Search PyPI</label>
<input id="mobile-search" class="search-form__search" type="text" name="q" placeholder="Search projects" value="" autocomplete="off" autocapitalize="off" spellcheck="false">
<button type="submit" class="search-form__button">
<i class="fa fa-search" aria-hidden="true"></i>
<span class="sr-only">Search</span>
</button>
</form>
/locale/
<form action="/locale/">
<ul>
<li>
<button class="language-switcher__selected" name="locale_id" value="en" type="submit"> English </button>
</li>
<li>
<button name="locale_id" value="es" type="submit"> español </button>
</li>
<li>
<button name="locale_id" value="fr" type="submit"> français </button>
</li>
<li>
<button name="locale_id" value="ja" type="submit"> 日本語 </button>
</li>
<li>
<button name="locale_id" value="pt_BR" type="submit"> português (Brasil) </button>
</li>
<li>
<button name="locale_id" value="uk" type="submit"> українська </button>
</li>
<li>
<button name="locale_id" value="el" type="submit"> Ελληνικά </button>
</li>
<li>
<button name="locale_id" value="de" type="submit"> Deutsch </button>
</li>
<li>
<button name="locale_id" value="zh_Hans" type="submit"> 中文 (简体) </button>
</li>
<li>
<button name="locale_id" value="zh_Hant" type="submit"> 中文 (繁體) </button>
</li>
<li>
<button name="locale_id" value="ru" type="submit"> русский </button>
</li>
<li>
<button name="locale_id" value="he" type="submit"> עברית </button>
</li>
<li>
<button name="locale_id" value="eo" type="submit"> esperanto </button>
</li>
</ul>
</form>
Text Content
Skip to main content Switch to mobile version Warning Some features may not work without JavaScript. Please try enabling it if you encounter problems. We want your feedback on Python Packaging. Take our survey today! Search PyPI Search * Help * Sponsors * Log in * Register Menu * Help * Sponsors * Log in * Register Search PyPI Search PYTHON-DOCX 0.8.11 pip install python-docx Copy PIP instructions Latest version Released: May 15, 2021 Create and update Microsoft Word .docx files. NAVIGATION * Project description * Release history * Download files PROJECT LINKS * Homepage STATISTICS GitHub statistics: * Stars: 3,258 * Forks: 891 * Open issues/PRs: 555 View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery META License: MIT License (The MIT License (MIT)) Author: Steve Canny Tags docx, office, openxml, word MAINTAINERS scanny CLASSIFIERS * Development Status * 3 - Alpha * Environment * Console * Intended Audience * Developers * License * OSI Approved :: MIT License * Operating System * OS Independent * Programming Language * Python * Python :: 2 * Python :: 2.6 * Python :: 2.7 * Python :: 3 * Python :: 3.3 * Python :: 3.4 * Topic * Office/Business :: Office Suites * Software Development :: Libraries Corning Incorporated is a Maintaining sponsor of the Python Software Foundation. PSF Sponsor · Served ethically * Project description * Project details * Release history * Download files PROJECT DESCRIPTION python-docx is a Python library for creating and updating Microsoft Word (.docx) files. More information is available in the python-docx documentation. RELEASE HISTORY 0.8.11 (2021-05-15) * Small build changes and Python 3.8 version changes like collections.abc location. 0.8.10 (2019-01-08) * Revert use of expanded package directory for default.docx to work around setup.py problem with filenames containing square brackets. 0.8.9 (2019-01-08) * Fix gap in MANIFEST.in that excluded default document template directory 0.8.8 (2019-01-07) * Add support for headers and footers 0.8.7 (2018-08-18) * Add _Row.height_rule * Add _Row.height * Add _Cell.vertical_alignment * Fix #455: increment next_id, don’t fill gaps * Add #375: import docx failure on –OO optimization * Add #254: remove default zoom percentage * Add #266: miscellaneous documentation fixes * Add #175: refine MANIFEST.ini * Add #168: Unicode error on core-props in Python 2 0.8.6 (2016-06-22) * Add #257: add Font.highlight_color * Add #261: add ParagraphFormat.tab_stops * Add #303: disallow XML entity expansion 0.8.5 (2015-02-21) * Fix #149: KeyError on Document.add_table() * Fix #78: feature: add_table() sets cell widths * Add #106: feature: Table.direction (i.e. right-to-left) * Add #102: feature: add CT_Row.trPr 0.8.4 (2015-02-20) * Fix #151: tests won’t run on PyPI distribution * Fix #124: default to inches on no TIFF resolution unit 0.8.3 (2015-02-19) * Add #121, #135, #139: feature: Font.color 0.8.2 (2015-02-16) * Fix #94: picture prints at wrong size when scaled * Extract docx.document.Document object from DocumentPart Refactor docx.Document from an object into a factory function for new docx.document.Document object. Extract methods from prior docx.Document and docx.parts.document.DocumentPart to form the new API class and retire docx.Document class. * Migrate Document.numbering_part to DocumentPart.numbering_part. The numbering_part property is not part of the published API and is an interim internal feature to be replaced in a future release, perhaps with something like Document.numbering_definitions. In the meantime, it can now be accessed using Document.part.numbering_part. 0.8.1 (2015-02-10) * Fix #140: Warning triggered on Document.add_heading/table() 0.8.0 (2015-02-08) * Add styles. Provides general capability to access and manipulate paragraph, character, and table styles. * Add ParagraphFormat object, accessible on Paragraph.paragraph_format, and providing the following paragraph formatting properties: * paragraph alignment (justfification) * space before and after paragraph * line spacing * indentation * keep together, keep with next, page break before, and widow control * Add Font object, accessible on Run.font, providing character-level formatting including: * typeface (e.g. ‘Arial’) * point size * underline * italic * bold * superscript and subscript The following issues were retired: * Add feature #56: superscript/subscript * Add feature #67: lookup style by UI name * Add feature #98: Paragraph indentation * Add feature #120: Document.styles Backward incompatibilities Paragraph.style now returns a Style object. Previously it returned the style name as a string. The name can now be retrieved using the Style.name property, for example, paragraph.style.name. 0.7.6 (2014-12-14) * Add feature #69: Table.alignment * Add feature #29: Document.core_properties 0.7.5 (2014-11-29) * Add feature #65: _Cell.merge() 0.7.4 (2014-07-18) * Add feature #45: _Cell.add_table() * Add feature #76: _Cell.add_paragraph() * Add _Cell.tables property (read-only) 0.7.3 (2014-07-14) * Add Table.autofit * Add feature #46: _Cell.width 0.7.2 (2014-07-13) * Fix: Word does not interpret <w:cr/> as line feed 0.7.1 (2014-07-11) * Add feature #14: Run.add_picture() 0.7.0 (2014-06-27) * Add feature #68: Paragraph.insert_paragraph_before() * Add feature #51: Paragraph.alignment (read/write) * Add feature #61: Paragraph.text setter * Add feature #58: Run.add_tab() * Add feature #70: Run.clear() * Add feature #60: Run.text setter * Add feature #39: Run.text and Paragraph.text interpret ‘n’ and ‘t’ chars 0.6.0 (2014-06-22) * Add feature #15: section page size * Add feature #66: add section * Add page margins and page orientation properties on Section * Major refactoring of oxml layer 0.5.3 (2014-05-10) * Add feature #19: Run.underline property 0.5.2 (2014-05-06) * Add feature #17: character style 0.5.1 (2014-04-02) * Fix issue #23, Document.add_picture() raises ValueError when document contains VML drawing. 0.5.0 (2014-03-02) * Add 20 tri-state properties on Run, including all-caps, double-strike, hidden, shadow, small-caps, and 15 others. 0.4.0 (2014-03-01) * Advance from alpha to beta status. * Add pure-python image header parsing; drop Pillow dependency 0.3.0A5 (2014-01-10) * Hotfix: issue #4, Document.add_picture() fails on second and subsequent images. 0.3.0A4 (2014-01-07) * Complete Python 3 support, tested on Python 3.3 0.3.0A3 (2014-01-06) * Fix setup.py error on some Windows installs 0.3.0A1 (2014-01-05) * Full object-oriented rewrite * Feature-parity with prior version * text: add paragraph, run, text, bold, italic * table: add table, add row, add column * styles: specify style for paragraph, table * picture: add inline picture, auto-scaling * breaks: add page break * tests: full pytest and behave-based 2-layer test suite 0.3.0DEV1 (2013-12-14) * Round-trip .docx file, preserving all parts and relationships * Load default “template” .docx on open with no filename * Open from stream and save to stream (file-like object) * Add paragraph at and of document PROJECT DETAILS PROJECT LINKS * Homepage STATISTICS GitHub statistics: * Stars: 3,258 * Forks: 891 * Open issues/PRs: 555 View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery META License: MIT License (The MIT License (MIT)) Author: Steve Canny Tags docx, office, openxml, word MAINTAINERS scanny CLASSIFIERS * Development Status * 3 - Alpha * Environment * Console * Intended Audience * Developers * License * OSI Approved :: MIT License * Operating System * OS Independent * Programming Language * Python * Python :: 2 * Python :: 2.6 * Python :: 2.7 * Python :: 3 * Python :: 3.3 * Python :: 3.4 * Topic * Office/Business :: Office Suites * Software Development :: Libraries RELEASE HISTORY RELEASE NOTIFICATIONS | RSS FEED This version 0.8.11 May 15, 2021 0.8.10 Jan 9, 2019 0.8.9 Jan 8, 2019 0.8.8 Jan 8, 2019 0.8.7 Aug 19, 2018 0.8.6 Jun 22, 2016 0.8.5 Feb 22, 2015 0.8.4 Feb 21, 2015 0.8.3 Feb 20, 2015 0.8.2 Feb 16, 2015 0.8.1 Feb 11, 2015 0.8.0 Feb 9, 2015 0.7.6 Dec 14, 2014 0.7.5 Nov 29, 2014 0.7.4 Jul 18, 2014 0.7.3 Jul 14, 2014 0.7.2 Jul 13, 2014 0.7.1 Jul 12, 2014 0.7.0 Jun 27, 2014 0.6.0 Jun 22, 2014 0.5.3 May 10, 2014 0.5.2 May 7, 2014 0.5.1 Apr 3, 2014 0.5.0 Mar 2, 2014 0.4.0 Mar 1, 2014 0.3.0a5 pre-release Jan 10, 2014 0.3.0a4 pre-release Jan 7, 2014 0.3.0a3 pre-release Jan 6, 2014 0.3.0a2 pre-release Jan 6, 2014 0.3.0a1 pre-release Jan 5, 2014 0.3.0dev1 pre-release Dec 20, 2013 DOWNLOAD FILES Download the file for your platform. If you're not sure which to choose, learn more about installing packages. SOURCE DISTRIBUTION python-docx-0.8.11.tar.gz (5.6 MB view hashes) Uploaded May 15, 2021 source Close HASHES FOR PYTHON-DOCX-0.8.11.TAR.GZ Hashes for python-docx-0.8.11.tar.gz Algorithm Hash digest SHA256 1105d233a0956dd8dd1e710d20b159e2d72ac3c301041b95f4d4ceb3e0ebebc4 Copy MD5 231baf33ba280d3d751ce50d48872a1e Copy BLAKE2-256 8ba052729ce4aa026f31b74cc877be1d11e4ddeaa361dc7aebec148171644b33 Copy Close HELP * Installing packages * Uploading packages * User guide * FAQs ABOUT PYPI * PyPI on Twitter * Infrastructure dashboard * Package index name retention * Our sponsors CONTRIBUTING TO PYPI * Bugs and feedback * Contribute on GitHub * Translate PyPI * Development credits USING PYPI * Code of conduct * Report security issue * Privacy policy * Terms of use -------------------------------------------------------------------------------- Status: All Systems Operational Developed and maintained by the Python community, for the Python community. Donate today! © 2022 Python Software Foundation Site map Switch to desktop version * English * español * français * 日本語 * português (Brasil) * українська * Ελληνικά * Deutsch * 中文 (简体) * 中文 (繁體) * русский * עברית * esperanto Supported by AWS Cloud computing Datadog Monitoring Facebook / Instagram PSF Sponsor Fastly CDN Google Object Storage and Download Analytics Huawei PSF Sponsor Microsoft PSF Sponsor NVIDIA PSF Sponsor Pingdom Monitoring Salesforce PSF Sponsor Sentry Error logging StatusPage Status page