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.1.0.tar.gz (31.1 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.1.0-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wikipicture-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e925deffa2ca907dc3242039449de868d005b5fc4e1aeb3bf42ae156370a6307
MD5 8bc902e4a990430b706f2810b1eed657
BLAKE2b-256 0ec8061b442d7e11427f072135d39209a890ad0230093f7321c2dcbda7f74a72

See more details on using hashes here.

Provenance

The following attestation bundles were made for wikipicture-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: wikipicture-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3252e693f64acd71b1ee0a25a5747221a24c82ca9b4eead0ee6b4a199aa51344
MD5 3a984185267b54398895a72fdd0f99fb
BLAKE2b-256 931869b9523ddeb41ab01105a7967d93a4b4f3dc6aba684869c986e2a01557f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for wikipicture-0.1.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