Skip to main content

DO NOT USE, THIS IS A WORK IN PROGRESS -- A library that allows the editing of form XML components in .docx files.

Project description

docx-form

Description

This package allows you to easily modify the values of content controls on forms in Microsoft Word with python scripts. This project currently supports reading and editting of the combo box, check box, plain text, datepicker, and dropdown content controls through the package's functions. The file being modified can be overwritten with the new values or saved to a new file.

Setup For Use

Requirements:

  • Pip
  • Python version 3.10.6 or higher

Simply run "pip install docx-form" to install docx-form and its required dependencies. After pip is installed, all that is left to do is import the project with "from docx_form import DocxForm". Link to Pip project

Setup For Contribution

Requirements:

  • Pip
  • Python version 3.10.6 or higher
  • Poetry 1.2.0

Clone the repository, for those who aren't familiar https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository.

Poetry Installation

First install Python using powershell. Link to install: https://python-poetry.org/docs/ Once installed, grab poetry application from the poetry script folder and manually add it to your Python scripts folder. Then in the project environment set the interpreter path to the pypoetry virtual environment. Run Poetry install to install all poetry's dependecies. For visual studio code, cmd + p is the command to select intepreter.

Then fetch development and pull in changes and make a new branch off development to start contributing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docx_form-0.1.5.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

docx_form-0.1.5-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file docx_form-0.1.5.tar.gz.

File metadata

  • Download URL: docx_form-0.1.5.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-1022-azure

File hashes

Hashes for docx_form-0.1.5.tar.gz
Algorithm Hash digest
SHA256 df2bc1ccaaba9eccc2c31e03471cd83b9e6af87f16b78b9cc23431511d467af1
MD5 1658631f14fd647fcdb2b1c80f03e6e6
BLAKE2b-256 4e66e57d34f8c2af551a0b0c59f7e7a43f710b578cf8cdbc9d3bea00ecdc00f6

See more details on using hashes here.

File details

Details for the file docx_form-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: docx_form-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-1022-azure

File hashes

Hashes for docx_form-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 15bc3daca797a351f07b4542b08b213826964f6be15717223622a3bb1961c548
MD5 d92a48ecb06325bcf95447c5996a52f9
BLAKE2b-256 10d52aae6a789372648cc7ba1d04463514e2a27eb5231464b1ab608071779b64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page