Use Cells Cloud SDK for Python to password-protect local Microsoft Excel and OpenOffice Calc spreadsheets.
Python library for password-protecting local Microsoft Excel and OpenOffice Calc spreadsheets
Utilize the Cells Protect REST API to secure local Microsoft Excel and OpenOffice Calc spreadsheets with passwords in Python workflows. This professional solution enables password protection for Microsoft Excel and OpenOffice Calc spreadsheets online using Python.
Secure local Microsoft Excel and OpenOffice Calc spreadsheets with a password using Cells Cloud SDK for Python.
API
POST
https://api.aspose.cloud/v3.0/cells/protect
Password protection for a local spreadsheet can be a complex task. Our Python SDK handles the process, preserving the main structural and logical content of the source spreadsheet. Our Python library offers a professional solution for online password protection of local spreadsheets. This Cloud SDK empowers Python developers with robust functionality and a seamless API.
Code example in Python using REST API to encryption local spreadsheets
How to use Cells Cloud SDK for Python to protect Excel file
- Create an account at Dashboard to get free API quota & authorization details
- Initialize CellsApi with Client Id, Client Secret, Base URL & API version
- Call post_protect method to get the resultant stream
System Requirements
- Python 2.7 or newer
- Python 3.10 or newer