Tiny read-only unlocker for MS Office documents
Unoffice can remove the read-only protection of:
- Full and partial protected Word files.
- Full Excel file and partially protected sheets
- PowerPoint protected files.
- via script:
from unoffice import unlock
unlock('path\\to\\file.docx')
- via terminal:
python unoffice.py "first-path" "second-path" ... "nth-path"
You can python tests.py
to see unoffice results
Please contribute! If you want to fix a bug, suggest improvements, or add new features to the project, just open an issue or send me a pull request.