René's URL Explorer Experiment


Title: Headers and Footers API by eupharis · Pull Request #236 · python-openxml/python-docx · GitHub

Open Graph Title: Headers and Footers API by eupharis · Pull Request #236 · python-openxml/python-docx

X Title: Headers and Footers API by eupharis · Pull Request #236 · python-openxml/python-docx

Description: Create and modify Word documents with Python. Contribute to python-openxml/python-docx development by creating an account on GitHub.

Open Graph Description: This PR is way not ready to actually be merged. Just want to get some feedback on the API before I go farther. All existing tests pass (Except for 3 hash comparison tests since I added a header an...

X Description: This PR is way not ready to actually be merged. Just want to get some feedback on the API before I go farther. All existing tests pass (Except for 3 hash comparison tests since I added a header an...

Opengraph URL: https://github.com/python-openxml/python-docx/pull/236

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:0ed2e42b-d3d8-f1c6-0781-23634b14914c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1BA:BACA4:D7EE66:10CCCB4:6AFF7E45
html-safe-nonce25e913d7ff1e644f640f341ba971631e04703a51a9981591753c531937f4f8f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUJBOkJBQ0E0OkQ3RUU2NjoxMENDQ0I0OjZBRkY3RTQ1IiwidmlzaXRvcl9pZCI6Ijg5MzM3MzE3OTY1MzM2MDgwMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac79c5f00525af6b32f24af7836969b64afe6c1b7ea09e32d12a6d40f284450bb7
hovercard-subject-tagpull_request:52579136
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-openxml/python-docx/pull/236/commits
twitter:imagehttps://opengraph.githubassets.com/92b15ff0cc6b7ea74917a2f2562c0fa664c35332f6f67573c4f735909eb89714/python-openxml/python-docx/pull/236
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/92b15ff0cc6b7ea74917a2f2562c0fa664c35332f6f67573c4f735909eb89714/python-openxml/python-docx/pull/236
og:image:altThis PR is way not ready to actually be merged. Just want to get some feedback on the API before I go farther. All existing tests pass (Except for 3 hash comparison tests since I added a header an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeupharis
hostnamegithub.com
expected-hostnamegithub.com
Noneb5a2047dbbde77e0ba2f8dfd78621e8a7313a105f7437ca693fcccd16cd137ee
turbo-cache-controlno-cache
go-importgithub.com/python-openxml/python-docx git https://github.com/python-openxml/python-docx.git
octolytics-dimension-user_id3403760
octolytics-dimension-user_loginpython-openxml
octolytics-dimension-repository_id13592924
octolytics-dimension-repository_nwopython-openxml/python-docx
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13592924
octolytics-dimension-repository_network_root_nwopython-openxml/python-docx
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release83e3dfa4de364d61589204ed35e53b2b7f77fba2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python-openxml/python-docx/pull/236/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-openxml%2Fpython-docx%2Fpull%2F236%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-openxml%2Fpython-docx%2Fpull%2F236%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python-openxml%2Fpython-docx
Reloadhttps://github.com/python-openxml/python-docx/pull/236/commits
Reloadhttps://github.com/python-openxml/python-docx/pull/236/commits
Reloadhttps://github.com/python-openxml/python-docx/pull/236/commits
python-openxmlhttps://github.com/python-openxml
python-docxhttps://github.com/python-openxml/python-docx
Codehttps://github.com/python-openxml/python-docx
Issues387 (387)https://github.com/python-openxml/python-docx/issues
Pull requests167 (167)https://github.com/python-openxml/python-docx/pulls
Actionshttps://github.com/python-openxml/python-docx/actions
Projectshttps://github.com/python-openxml/python-docx/projects
Wikihttps://github.com/python-openxml/python-docx/wiki
Security and qualityhttps://github.com/python-openxml/python-docx/security
Insightshttps://github.com/python-openxml/python-docx/insights
https://github.com/python-openxml/python-docx
eupharishttps://github.com/eupharis
python-openxml:develophttps://github.com/python-openxml/python-docx/tree/develop
eupharis:masterhttps://github.com/eupharis/python-docx/tree/master
Conversationhttps://github.com/python-openxml/python-docx/pull/236
Commits26 (26)https://github.com/python-openxml/python-docx/pull/236/commits
Checkshttps://github.com/python-openxml/python-docx/pull/236/checks
Files changedhttps://github.com/python-openxml/python-docx/pull/236/files
Headers and Footers APIhttps://github.com/python-openxml/python-docx/pull/236/commits#top
eupharishttps://github.com/eupharis
python-openxml:develophttps://github.com/python-openxml/python-docx/tree/develop
eupharis:masterhttps://github.com/eupharis/python-docx/tree/master
docs: document header/footer feature analysishttps://github.com/python-openxml/python-docx/pull/236/commits/e8fb68e743046240aed0d6396ef9cb1381cde4b4
e8fb68ehttps://github.com/python-openxml/python-docx/pull/236/commits/e8fb68e743046240aed0d6396ef9cb1381cde4b4
https://github.com/python-openxml/python-docx/tree/e8fb68e743046240aed0d6396ef9cb1381cde4b4
reformat single-line xml, add headerhttps://github.com/python-openxml/python-docx/pull/236/commits/c08ca7e080f28ddfa493cf833dc3653c4cbdd81b
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
c08ca7ehttps://github.com/python-openxml/python-docx/pull/236/commits/c08ca7e080f28ddfa493cf833dc3653c4cbdd81b
https://github.com/python-openxml/python-docx/tree/c08ca7e080f28ddfa493cf833dc3653c4cbdd81b
temporarily skip sha testshttps://github.com/python-openxml/python-docx/pull/236/commits/4b3713491cf7cce177d305b57bbbf69888147f80
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
4b37134https://github.com/python-openxml/python-docx/pull/236/commits/4b3713491cf7cce177d305b57bbbf69888147f80
https://github.com/python-openxml/python-docx/tree/4b3713491cf7cce177d305b57bbbf69888147f80
add v1 HeaderParthttps://github.com/python-openxml/python-docx/pull/236/commits/9c0544a02a46d1e40cbd66cb77ff8d99e15c2f41
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
9c0544ahttps://github.com/python-openxml/python-docx/pull/236/commits/9c0544a02a46d1e40cbd66cb77ff8d99e15c2f41
https://github.com/python-openxml/python-docx/tree/9c0544a02a46d1e40cbd66cb77ff8d99e15c2f41
v1 of remove headershttps://github.com/python-openxml/python-docx/pull/236/commits/a4999fe6050468a15fdd03cc652a7b4affa92c5a
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
a4999fehttps://github.com/python-openxml/python-docx/pull/236/commits/a4999fe6050468a15fdd03cc652a7b4affa92c5a
https://github.com/python-openxml/python-docx/tree/a4999fe6050468a15fdd03cc652a7b4affa92c5a
move header methods to _bodyhttps://github.com/python-openxml/python-docx/pull/236/commits/90e453c6bc479d6da2e582205718e2943fe20ea8
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
90e453chttps://github.com/python-openxml/python-docx/pull/236/commits/90e453c6bc479d6da2e582205718e2943fe20ea8
https://github.com/python-openxml/python-docx/tree/90e453c6bc479d6da2e582205718e2943fe20ea8
wiphttps://github.com/python-openxml/python-docx/pull/236/commits/a460f3ba9299d996e9016830c9e5dec947c87385
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
a460f3bhttps://github.com/python-openxml/python-docx/pull/236/commits/a460f3ba9299d996e9016830c9e5dec947c87385
https://github.com/python-openxml/python-docx/tree/a460f3ba9299d996e9016830c9e5dec947c87385
add header v1 works!https://github.com/python-openxml/python-docx/pull/236/commits/2a69e3ff659293c8c804866d907b89c870aa5d28
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
2a69e3fhttps://github.com/python-openxml/python-docx/pull/236/commits/2a69e3ff659293c8c804866d907b89c870aa5d28
https://github.com/python-openxml/python-docx/tree/2a69e3ff659293c8c804866d907b89c870aa5d28
remove null-op subclass of XmlParthttps://github.com/python-openxml/python-docx/pull/236/commits/205819ed3999999e50154ca71ce218872e4df332
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
205819ehttps://github.com/python-openxml/python-docx/pull/236/commits/205819ed3999999e50154ca71ce218872e4df332
https://github.com/python-openxml/python-docx/tree/205819ed3999999e50154ca71ce218872e4df332
footer methods and tests, all except add_footerhttps://github.com/python-openxml/python-docx/pull/236/commits/34161ec231adfc16ed138d5d9e0257e2648c3a22
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
34161echttps://github.com/python-openxml/python-docx/pull/236/commits/34161ec231adfc16ed138d5d9e0257e2648c3a22
https://github.com/python-openxml/python-docx/tree/34161ec231adfc16ed138d5d9e0257e2648c3a22
add add_footer methodhttps://github.com/python-openxml/python-docx/pull/236/commits/07566b5049e27f9c2667780a495e00cd472ad4a2
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
07566b5https://github.com/python-openxml/python-docx/pull/236/commits/07566b5049e27f9c2667780a495e00cd472ad4a2
https://github.com/python-openxml/python-docx/tree/07566b5049e27f9c2667780a495e00cd472ad4a2
make header / footer rels and styles play nicelyhttps://github.com/python-openxml/python-docx/pull/236/commits/5093714cc3d76cf4aa10a0a89b433aebc89062fc
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
5093714https://github.com/python-openxml/python-docx/pull/236/commits/5093714cc3d76cf4aa10a0a89b433aebc89062fc
https://github.com/python-openxml/python-docx/tree/5093714cc3d76cf4aa10a0a89b433aebc89062fc
put header and footer ref at proper locshttps://github.com/python-openxml/python-docx/pull/236/commits/b6016158defb3d0ef8349216eb11e8c127c09056
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
b601615https://github.com/python-openxml/python-docx/pull/236/commits/b6016158defb3d0ef8349216eb11e8c127c09056
https://github.com/python-openxml/python-docx/tree/b6016158defb3d0ef8349216eb11e8c127c09056
add v1 header / footer api docshttps://github.com/python-openxml/python-docx/pull/236/commits/3cf080226f0ae24986fc2111c801d1c5ca54d7f8
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
3cf0802https://github.com/python-openxml/python-docx/pull/236/commits/3cf080226f0ae24986fc2111c801d1c5ca54d7f8
https://github.com/python-openxml/python-docx/tree/3cf080226f0ae24986fc2111c801d1c5ca54d7f8
cleanuphttps://github.com/python-openxml/python-docx/pull/236/commits/67ae998f71d5153593cf41e05dc0006e6d63604c
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
67ae998https://github.com/python-openxml/python-docx/pull/236/commits/67ae998f71d5153593cf41e05dc0006e6d63604c
https://github.com/python-openxml/python-docx/tree/67ae998f71d5153593cf41e05dc0006e6d63604c
cleanuphttps://github.com/python-openxml/python-docx/pull/236/commits/178d8f7023f4e38949d257bcdfe1717cc0c2d971
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
178d8f7https://github.com/python-openxml/python-docx/pull/236/commits/178d8f7023f4e38949d257bcdfe1717cc0c2d971
https://github.com/python-openxml/python-docx/tree/178d8f7023f4e38949d257bcdfe1717cc0c2d971
fix tests on python3https://github.com/python-openxml/python-docx/pull/236/commits/bab2801abc1a1fc612ea7144905525f29a98f88a
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
bab2801https://github.com/python-openxml/python-docx/pull/236/commits/bab2801abc1a1fc612ea7144905525f29a98f88a
https://github.com/python-openxml/python-docx/tree/bab2801abc1a1fc612ea7144905525f29a98f88a
define header structurehttps://github.com/python-openxml/python-docx/pull/236/commits/3f3791f4ecf5a34b34febe99affeaa06ad46c22b
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
3f3791fhttps://github.com/python-openxml/python-docx/pull/236/commits/3f3791f4ecf5a34b34febe99affeaa06ad46c22b
https://github.com/python-openxml/python-docx/tree/3f3791f4ecf5a34b34febe99affeaa06ad46c22b
v1 header-footer protocolhttps://github.com/python-openxml/python-docx/pull/236/commits/8f843f419e99484e32d0030ea04f588f7721ebd2
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
8f843f4https://github.com/python-openxml/python-docx/pull/236/commits/8f843f419e99484e32d0030ea04f588f7721ebd2
https://github.com/python-openxml/python-docx/tree/8f843f419e99484e32d0030ea04f588f7721ebd2
tweakhttps://github.com/python-openxml/python-docx/pull/236/commits/e4d92c387f33ab49722f6bec6ffa0b51208bfa2d
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
e4d92c3https://github.com/python-openxml/python-docx/pull/236/commits/e4d92c387f33ab49722f6bec6ffa0b51208bfa2d
https://github.com/python-openxml/python-docx/tree/e4d92c387f33ab49722f6bec6ffa0b51208bfa2d
fix: a couple small fixeshttps://github.com/python-openxml/python-docx/pull/236/commits/b1f33b64f62eb6a0188ed5641dcaec37ce0d015f
b1f33b6https://github.com/python-openxml/python-docx/pull/236/commits/b1f33b64f62eb6a0188ed5641dcaec37ce0d015f
https://github.com/python-openxml/python-docx/tree/b1f33b64f62eb6a0188ed5641dcaec37ce0d015f
Merge branch 'feature/header' of github.com:python-openxml/python-docx into develophttps://github.com/python-openxml/python-docx/pull/236/commits/6a125cf260f7c03f809d65ac27572e63e5041afc
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
6a125cfhttps://github.com/python-openxml/python-docx/pull/236/commits/6a125cf260f7c03f809d65ac27572e63e5041afc
https://github.com/python-openxml/python-docx/tree/6a125cf260f7c03f809d65ac27572e63e5041afc
add failing test for section.add_header methodhttps://github.com/python-openxml/python-docx/pull/236/commits/329e990023f32ebb8196daef25913c80cbcdbfa7
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
329e990https://github.com/python-openxml/python-docx/pull/236/commits/329e990023f32ebb8196daef25913c80cbcdbfa7
https://github.com/python-openxml/python-docx/tree/329e990023f32ebb8196daef25913c80cbcdbfa7
wiphttps://github.com/python-openxml/python-docx/pull/236/commits/188e9435889ee0851e0f5e3928b379aa37cd0b53
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
188e943https://github.com/python-openxml/python-docx/pull/236/commits/188e9435889ee0851e0f5e3928b379aa37cd0b53
https://github.com/python-openxml/python-docx/tree/188e9435889ee0851e0f5e3928b379aa37cd0b53
finish fleshing out header / footer analysishttps://github.com/python-openxml/python-docx/pull/236/commits/26899a72095dba056b501888799a9330eded68f2
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
26899a7https://github.com/python-openxml/python-docx/pull/236/commits/26899a72095dba056b501888799a9330eded68f2
https://github.com/python-openxml/python-docx/tree/26899a72095dba056b501888799a9330eded68f2
cleanuphttps://github.com/python-openxml/python-docx/pull/236/commits/17d47bce0edff200fb8eb90aa0e0b6c777f0e508
https://github.com/eupharis
eupharishttps://github.com/python-openxml/python-docx/commits?author=eupharis
17d47bchttps://github.com/python-openxml/python-docx/pull/236/commits/17d47bce0edff200fb8eb90aa0e0b6c777f0e508
https://github.com/python-openxml/python-docx/tree/17d47bce0edff200fb8eb90aa0e0b6c777f0e508
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.