Git Product home page Git Product logo

albertferre / excel-sheet-protection-remover Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 12 KB

This Python repo allows you to remove sheet protection from Excel files stored in a zip archive. The main script processes the Excel file, removes the sheet protection from worksheets, and saves the modified contents in a new zip archive.

License: MIT License

Python 100.00%
cracking-password excel

excel-sheet-protection-remover's Introduction

Excel Sheet Protection Remover

Description

This Python script allows you to remove sheet protection from Excel files stored in a zip archive. The script processes the Excel file, removes the sheet protection from worksheets, and saves the modified contents in a new Excel archive.

Installation

  1. Clone the repository or download the source code files.

  2. Install the required libraries. The script uses argparse for handling command-line arguments. You can install them using pip:

pip install argparse

Usage

To run the script, use the following command-line format:

python main.py path/to/your/file.xslx

Replace path/to/your/file.xlsx with the path to the Excel file you want to process.

Example:

python main.py data/file_example_XLSX_10.xlsx.

Note: There is a sample Excel file named file_example_XLSX_10.xlsxavailable in the data directory. You can use this file to test the script.

The script will process the specified Excel file, remove sheet protection from the worksheets, and save the modified contents in a new Excel file with the prefix "modified_". The new Excel file will be created in the same directory as the original Excel file.

Notes

This script will only remove sheet protection from Excel files that are not password protected. If a file requires a password to open or modify, the script will not be able to remove the sheet protection.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributions

Contributions to this project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Disclaimer

This script is intended for educational and informational purposes only. Use it responsibly and only on files that you have the right to modify. The author and contributors are not responsible for any misuse or damage resulting from the use of this script. Always make backups of your files before processing them with this or any other script.

excel-sheet-protection-remover's People

Contributors

albertferre avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.