Skip to main content

Scan geotagged photos and find Wikipedia articles that need images at those locations

Project description

WikiPicture

Scan your geotagged travel photos and discover which Wikipedia articles need images at those locations.

Features

  • EXIF GPS extraction from JPEG and HEIC/HEIF photos
  • Reverse geocoding via OpenStreetMap Nominatim
  • Wikipedia analysis — finds articles missing images or tagged "needs photo"
  • Wikimedia Commons saturation check — see how many photos already exist nearby
  • Photo quality screening — resolution and blur detection
  • Opportunity scoring — prioritizes your best upload candidates
  • HTML report — sortable table with thumbnails, links, and color-coded priority

Installation

pip install -e .

Usage

# Scan a folder of photos and generate a report
wikipicture /path/to/photos --output report.html

# Limit to a specific number of photos
wikipicture /path/to/photos --output report.html --limit 50

# Skip quality filtering
wikipicture /path/to/photos --output report.html --skip-quality-check

How It Works

  1. Scans your photo folder for JPEG and HEIC/HEIF files with GPS data
  2. Clusters nearby photos to reduce API calls
  3. Reverse-geocodes each unique location via Nominatim
  4. Searches Wikipedia for articles about each location
  5. Checks if those articles need images (few/no photos, "needs photo" tags)
  6. Searches Wikimedia Commons to see how saturated each location is
  7. Scores each photo by upload opportunity and generates an HTML report

API Usage

This tool uses public, unauthenticated Wikimedia and OpenStreetMap APIs. Rate limits are respected automatically (1 request/second for Nominatim). Results are cached in a local SQLite database so re-runs are fast.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikipicture-0.2.0.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wikipicture-0.2.0-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file wikipicture-0.2.0.tar.gz.

File metadata

  • Download URL: wikipicture-0.2.0.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wikipicture-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6886bcf935f3734ae02746addcf4eb62219e6586fbd8cb38ca5a1b55d45e5be4
MD5 6cd6578781e3ff4dc9880390e12b79e7
BLAKE2b-256 6a5e3e7a4f7801b558c6bf66c13c1a583b367d752a4c9b6c0d49d621614bc6cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for wikipicture-0.2.0.tar.gz:

Publisher: publish.yml on willtheorangeguy/wikipicture

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wikipicture-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wikipicture-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wikipicture-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d94f0d9e4fb6628878cd0e2dbdf792f623f6bee13f4adc6cdcc837a0a391f3
MD5 fbc1ca381c6572d2d11ab79867369a4f
BLAKE2b-256 90534daaf508fe24085afbf6a7be25caca6476b4a14bfb2436ce0f1cd92d470c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wikipicture-0.2.0-py3-none-any.whl:

Publisher: publish.yml on willtheorangeguy/wikipicture

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page