/photos_extractor

Photos Extractor helps extract images from a ZIP file, containing nested folders/directories.

Primary LanguagePythonMIT LicenseMIT

Photos Extractor

Photos Extractor is a Python module which can help extract images from zipped folders/directories.

Google Photos creates folders and sub-folders when Google Takeouts is used for downloading all/selected Google Photos. Google Photos also downloads multiple versions of the same photo and mark them as edited and original.

By default, Photos Extractor will keep the latest version of your photos downloaded from Google Takeouts.

Installation

Use GitHub's git clone command or download this repository using Download option.

git clone https://github.com/MadhavVij/photos_extractor.git

Usage

To set-up the Python project, please install Python and add python to your path (if needed). For running the test scripts, the project would need pytest library.

pip install pytest

To run the project, open terminal/cmd and navigate to the root of project. Type in the terminal:

python -m photos_extractor.image_extractor

For executing test scripts:

python -m test.test_image_extractor

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT