Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python-openxml
/
python-docx
Public
Notifications
You must be signed in to change notification settings
Fork
1.3k
Star
5.7k
Code
Issues
372
Pull requests
140
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
python-docx
tests
parts
on
develop
User selector
All users
All time
Commit history
Commits on Jun 12, 2025
modn: improve ruff compliance
Show description for 592fa8f
scanny
committed
592fa8f
View commit details
Copy full SHA for 592fa8f
View code at this point
Browse repository at this point
modn: modernize tests
Show description for afa670a
scanny
committed
afa670a
View commit details
Copy full SHA for afa670a
View code at this point
Browse repository at this point
Commits on Oct 10, 2023
rfctr: remove obsolete inherit-from-`object`
scanny
committed
12a6bb8
View commit details
Copy full SHA for 12a6bb8
View code at this point
Browse repository at this point
Commits on Oct 2, 2023
rfctr: rename private classes now used for typing
Show description for 160e709
scanny
committed
160e709
View commit details
Copy full SHA for 160e709
View code at this point
Browse repository at this point
lint: add isort linting in ruff
Show description for 163cfc1
scanny
committed
163cfc1
View commit details
Copy full SHA for 163cfc1
View code at this point
Browse repository at this point
Commits on Sep 24, 2023
rfctr: Blacken code base
scanny
committed
629f942
View commit details
Copy full SHA for 629f942
View code at this point
Browse repository at this point
Commits on Jan 6, 2019
hdr: add BaseStoryPart.next_id
scanny
committed
3923fe8
View commit details
Copy full SHA for 3923fe8
View code at this point
Browse repository at this point
hdr: add BaseStoryPart.get_or_add_image()
Show description for 002e37f
scanny
committed
002e37f
View commit details
Copy full SHA for 002e37f
View code at this point
Browse repository at this point
hdr: add BaseStoryPart.new_pic_inline()
Show description for 7f32a65
scanny
committed
7f32a65
View commit details
Copy full SHA for 7f32a65
View code at this point
Browse repository at this point
hdr: add BaseStoryPart.get_style()
scanny
committed
db72fe7
View commit details
Copy full SHA for db72fe7
View code at this point
Browse repository at this point
hdr: add BaseStoryPart._document_part
scanny
committed
f1ca510
View commit details
Copy full SHA for f1ca510
View code at this point
Browse repository at this point
hdr: add BaseStoryPart.get_style_id()
scanny
committed
004ac14
View commit details
Copy full SHA for 004ac14
View code at this point
Browse repository at this point
hdr: add PartFactory loads FooterPart
scanny
committed
0c90ce3
View commit details
Copy full SHA for 0c90ce3
View code at this point
Browse repository at this point
hdr: add DocumentPart.footer_part()
scanny
committed
47d7e4b
View commit details
Copy full SHA for 47d7e4b
View code at this point
Browse repository at this point
hdr: add FooterPart._default_footer_xml()
scanny
committed
11e0fb3
View commit details
Copy full SHA for 11e0fb3
View code at this point
Browse repository at this point
hdr: add FooterPart.new()
scanny
committed
64e9836
View commit details
Copy full SHA for 64e9836
View code at this point
Browse repository at this point
hdr: add DocumentPart.add_footer_part()
scanny
committed
7f4e820
View commit details
Copy full SHA for 7f4e820
View code at this point
Browse repository at this point
hdr: add PartFactory loads HeaderPart
scanny
committed
f31cb07
View commit details
Copy full SHA for f31cb07
View code at this point
Browse repository at this point
hdr: add DocumentPart.header_part()
scanny
committed
5e60b97
View commit details
Copy full SHA for 5e60b97
View code at this point
Browse repository at this point
hdr: add HeaderPart._default_header_xml()
scanny
committed
b0f81bc
View commit details
Copy full SHA for b0f81bc
View code at this point
Browse repository at this point
hdr: add HeaderPart.new()
ondrej-111
authored and
scanny
committed
4ed8545
View commit details
Copy full SHA for 4ed8545
View code at this point
Browse repository at this point
hdr: add DocumentPart.add_header_part()
ondrej-111
authored and
scanny
committed
3512601
View commit details
Copy full SHA for 3512601
View code at this point
Browse repository at this point
hdr: add DocumentPart.drop_header_part()
ondrej-111
authored and
scanny
committed
d5a03da
View commit details
Copy full SHA for d5a03da
View code at this point
Browse repository at this point
Commits on Jan 4, 2019
test: upgrade mock helpers to autospec by default
scanny
committed
5dcb24c
View commit details
Copy full SHA for 5dcb24c
View code at this point
Browse repository at this point
Commits on Aug 18, 2018
fix: #455 Increment max-id, don't fill gaps
Show description for bdf4c36
scanny
committed
bdf4c36
View commit details
Copy full SHA for bdf4c36
View code at this point
Browse repository at this point
Commits on Mar 16, 2015
set: add SettingsPart.default()
Steve Canny
committed
6fbda35
View commit details
Copy full SHA for 6fbda35
View code at this point
Browse repository at this point
set: configure loader for SettingsPart
Steve Canny
committed
f60fddd
View commit details
Copy full SHA for f60fddd
View code at this point
Browse repository at this point
set: add SettingsPart.settings
Steve Canny
committed
72167b7
View commit details
Copy full SHA for 72167b7
View code at this point
Browse repository at this point
doc: add DocumentPart._settings_part
Steve Canny
committed
6a8d207
View commit details
Copy full SHA for 6a8d207
View code at this point
Browse repository at this point
doc: add DocumentPart.settings
Steve Canny
committed
c729d2b
View commit details
Copy full SHA for c729d2b
View code at this point
Browse repository at this point
Commits on Feb 16, 2015
doc: rewrite DocumentPart.get_or_add_image()
Show description for c96e946
Steve Canny
committed
c96e946
View commit details
Copy full SHA for c96e946
View code at this point
Browse repository at this point
doc: add DocumentPart.new_pic_inline()
Steve Canny
committed
f1368d2
View commit details
Copy full SHA for f1368d2
View code at this point
Browse repository at this point
Commits on Feb 15, 2015
reorg: mv oxml.parts.numbering oxml.numbering
Steve Canny
committed
e9ad897
View commit details
Copy full SHA for e9ad897
View code at this point
Browse repository at this point
shp: migrate InlineShapes to docx.shape
Steve Canny
committed
e648135
View commit details
Copy full SHA for e648135
View code at this point
Browse repository at this point
doc: migrate _Body to docx.document
Steve Canny
committed
8202bb7
View commit details
Copy full SHA for 8202bb7
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.