Python module for enabling document protection on docx files
Project description
docx-locker
Simple python module with a single dependency for getting and setting document protection on docx files.
Compatibility
The module has been tested against documents generated by word 2016 and higher, and should be compatible with other modules that generate standard docx files.
Usage
from docx_locker import apply_docx_protection
docx_path = 'full/file/path.docx'
apply_docx_protection(docx_path, 'password')
Checkout the docs for a full list of supported arguments and helper functions.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docx_locker-0.5.0.tar.gz.
File metadata
- Download URL: docx_locker-0.5.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
159f8b2573545e0158567019db65ede7b3c206d778da8279b27ee9b05ac470b3
|
|
| MD5 |
658a97bf64afbb0f5c4c479406b92a0f
|
|
| BLAKE2b-256 |
cb484e34c4557d7245ddfbd34f573528e8d5ef805b6ce72c425f496bfc24ade0
|
File details
Details for the file docx_locker-0.5.0-py3-none-any.whl.
File metadata
- Download URL: docx_locker-0.5.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ff436e66e2900ef906eb7ef41124b595bef7fee3495c22703895388722ac87f
|
|
| MD5 |
e898785bf7bda6ba1f196f6954aa88b2
|
|
| BLAKE2b-256 |
ff42107393b549c5d085b9dc8bb8a2c1ce34df5143226ca37a8c401c105a2506
|