- Create Economist SubmissionTracking package correctly: * mainArticle = full blog post content * coverLetter = 216-word SIR— letter * Links to blog post via blogPostId - Archive 'Letter to The Economist' from blog posts (it's the cover letter) - Fix date display on article cards (use published_at) - Target publication already displaying via blue badge Database changes: - Make blogPostId optional in SubmissionTracking model - Economist package ID: 68fa85ae49d4900e7f2ecd83 - Le Monde package ID: 68fa2abd2e6acd5691932150 Next: Enhanced modal with tabs, validation, export 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
58 lines
2 KiB
Text
58 lines
2 KiB
Text
Metadata-Version: 2.4
|
|
Name: python-docx
|
|
Version: 1.2.0
|
|
Summary: Create, read, and update Microsoft Word .docx files.
|
|
Author-email: Steve Canny <stcanny@gmail.com>
|
|
License: MIT
|
|
Project-URL: Changelog, https://github.com/python-openxml/python-docx/blob/master/HISTORY.rst
|
|
Project-URL: Documentation, https://python-docx.readthedocs.org/en/latest/
|
|
Project-URL: Homepage, https://github.com/python-openxml/python-docx
|
|
Project-URL: Repository, https://github.com/python-openxml/python-docx
|
|
Keywords: docx,office,openxml,word
|
|
Classifier: Development Status :: 5 - Production/Stable
|
|
Classifier: Environment :: Console
|
|
Classifier: Intended Audience :: Developers
|
|
Classifier: License :: OSI Approved :: MIT License
|
|
Classifier: Operating System :: OS Independent
|
|
Classifier: Programming Language :: Python
|
|
Classifier: Programming Language :: Python :: 3
|
|
Classifier: Programming Language :: Python :: 3.7
|
|
Classifier: Programming Language :: Python :: 3.8
|
|
Classifier: Programming Language :: Python :: 3.9
|
|
Classifier: Programming Language :: Python :: 3.10
|
|
Classifier: Programming Language :: Python :: 3.11
|
|
Classifier: Topic :: Office/Business :: Office Suites
|
|
Classifier: Topic :: Software Development :: Libraries
|
|
Requires-Python: >=3.9
|
|
Description-Content-Type: text/markdown
|
|
License-File: LICENSE
|
|
Requires-Dist: lxml>=3.1.0
|
|
Requires-Dist: typing_extensions>=4.9.0
|
|
Dynamic: license-file
|
|
|
|
# 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/)
|