{"id":27106234,"url":"https://github.com/blockbusterdev/python-docx-project","last_synced_at":"2025-08-01T14:02:57.478Z","repository":{"id":242513935,"uuid":"809754006","full_name":"blockbusterdev/python-docx-project","owner":"blockbusterdev","description":"It's a simple manager between Web \u0026 Microsoft Word and Excel.","archived":false,"fork":false,"pushed_at":"2024-06-03T11:57:34.000Z","size":151,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-10T13:27:48.939Z","etag":null,"topics":["office365","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blockbusterdev.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-03T11:41:38.000Z","updated_at":"2025-05-05T06:31:44.000Z","dependencies_parsed_at":"2024-06-03T13:57:43.584Z","dependency_job_id":"4febc379-b55f-41e6-bc06-96375d25979a","html_url":"https://github.com/blockbusterdev/python-docx-project","commit_stats":null,"previous_names":["talenteddev36428/python-docx-project","devtwinkler/python-docx-project","blockbusterdev/python-docx-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blockbusterdev/python-docx-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockbusterdev%2Fpython-docx-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockbusterdev%2Fpython-docx-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockbusterdev%2Fpython-docx-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockbusterdev%2Fpython-docx-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blockbusterdev","download_url":"https://codeload.github.com/blockbusterdev/python-docx-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blockbusterdev%2Fpython-docx-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268240278,"owners_count":24218355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["office365","python"],"created_at":"2025-04-06T19:38:30.133Z","updated_at":"2025-08-01T14:02:57.405Z","avatar_url":"https://github.com/blockbusterdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"###########\nPython DocX\n###########\n\n*Python DocX* is now part of Python OpenXML**. There's all kinds of new stuff, including Python 3 support, sister libraries for doing Excel files, and more. \n\nIntroduction\n============\n\nThe docx module creates, reads and writes Microsoft Office Word 2007 docx\nfiles.\n\nThese are referred to as 'WordML', 'Office Open XML' and 'Open XML' by\nMicrosoft.\n\nThese documents can be opened in Microsoft Office 2007 / 2010, Microsoft Mac\nOffice 2008, Google Docs, OpenOffice.org 3, and Apple iWork 08.\n\nThey also `validate as well formed XML \u003chttp://validator.w3.org/check\u003e`_.\n\nThe module was created when I was looking for a Python support for MS Word\n.docx files, but could only find various hacks involving COM automation,\ncalling .Net or Java, or automating OpenOffice or MS Office.\n\nThe docx module has the following features:\n\nMaking documents\n----------------\n\nFeatures for making documents include:\n\n- Paragraphs\n- Bullets\n- Numbered lists\n- Document properties (author, company, etc)\n- Multiple levels of headings\n- Tables\n- Section and page breaks\n- Images\n\nEditing documents\n-----------------\n\nThanks to the awesomeness of the lxml module, we can:\n\n- Search and replace\n- Extract plain text of document\n- Add and delete items anywhere within the document\n- Change document properties\n- Run xpath queries against particular locations in the document - useful for\n  retrieving data from user-completed templates.\n\n\nGetting started\n===============\n\nMaking and Modifying Documents\n------------------------------\n\n- clone \n- Use **pip** or **easy_install** to fetch the **lxml** and **PIL** modules.\n- Then run::\n\n    example-makedocument.py\n\n\nCongratulations, you just made and then modified a Word document!\n\n\nExtracting Text from a Document\n-------------------------------\n\nIf you just want to extract the text from a Word file, run::\n\n    example-extracttext.py 'Some word file.docx' 'new file.txt'\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockbusterdev%2Fpython-docx-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockbusterdev%2Fpython-docx-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockbusterdev%2Fpython-docx-project/lists"}