Skip to content

CLI tools for batch geotagging and image compression. GPS tagging by folder name, size-based compression, WebP conversion, and optional .exe builds.

Notifications You must be signed in to change notification settings

jacobEliasMoya/ProductivePython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ› οΈ ProductivePyton

ProductivePyton is a suite of lightweight command-line tools for bulk image processing and optimization. It includes:

  • πŸ“ BulkGeoTagger β€” Geotags images by folder-based city names using embedded GPS metadata.
  • πŸ“· BulkCompressor β€” Compresses, resizes, and optionally converts images to WebP format with target file size control.

πŸ“ Tools Included

πŸ“ BulkGeoTagger

Auto-tag your images by location.

Usage:

  1. Add folders named after cities (e.g. phoenix, mesa)
  2. Make sure city_coords.json matches folder names:
{
  "phoenix": [33.4484, -112.0740],
  "mesa": [33.4152, -111.8315]
}
  1. Run:
python geo_tag_images.py

Or use the prebuilt .exe (Windows only).

πŸ“‚ Your image structure should look like:

/phoenix/photo1.jpg
/mesa/photo2.jpg

πŸ“· BulkCompressor

Resize, compress, and optionally convert images to WebP.

Features:

  • Resizes images wider than 1920px
  • Compresses to a user-defined file size
  • Optional .webp conversion
  • Zips final output

Usage:

python resize_images.py

You’ll be prompted for:

  • Desired file size in KB
  • WebP conversion option

Input images must go in the /input directory. Output is saved to /output.


πŸ’Ύ Folder Structure

ProductivePyton/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ geotag/
β”‚   β”‚   β”œβ”€β”€ geo_tag_images.py
β”‚   β”‚   β”œβ”€β”€ city_coords.json
β”‚   β”œβ”€β”€ resize/
β”‚   β”‚   └── resize_images.py
β”œβ”€β”€ dist/                        # Windows executables
β”œβ”€β”€ releases/                   # Zip release bundles

πŸ“¦ Dependencies

Install required Python packages:

pip install Pillow piexif

πŸ‘€ Author

Made by Jacob Elias Moya
Built for efficient image prep at scale.


πŸ“„ License

MIT License β€” free to use, modify, and distribute.

About

CLI tools for batch geotagging and image compression. GPS tagging by folder name, size-based compression, WebP conversion, and optional .exe builds.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages