Skip to main content

Push images to a Toshiba FlashAir Wifi SD card

Project description


Download images from an authenticated Flickr account and push them wirelessly to a Toshiba FlashAir Wifi SD card mounted in a digital photo frame.


  • Authenticates to Flickr to get your private photos
  • Only downloads photos with specified tags
  • Caches and syncs the photos to the Wifi SD card


$ pip install airframe


First, go to Flickr and get a private key at

Then, create a directory from where you will start airframe, and create a file called flickr_api.yaml:


Then, setup your FlashAir card as described in this post’s “Enabling the FlashAir” section.

Now, you’re ready to sync some photos! Just run:

$ airframe -n 100 -t photoframe YOUR_AIRFRAME_IP

This will download and sync the 100 most recent photos tagged with “photoframe” to your AirFrame.


Any other image files in the FlashAir upload directory will be deleted, so make sure you backup anything you want to keep from your SD card.

The image files from Flickr will be cached in a sub-directory called .airframe in the location you invoked airframe from, so as long as you rerun from the same directory, the script will only download new files from Flickr. If you want to redownload all the files from scratch, just rm .airframe these files.

The script will also only upload new images to the FlashAir card, and ignore any files that are already present on the card. If you want to force a clean upload, do the following:

$ airframe -n 100 -t photoframe -f YOUR_AIRFRAME_IP

This will delete all images already on the card, and upload every image again.


0.1.0 (2014-01-10)

  • First release on PyPI.

Todo list

  • Add tests
  • Add docstrings
  • Travis integration
  • Use docopt instead of argparse
  • Better error handling

Project details

Download files

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

Files for airframe, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size airframe-0.1.1.tar.gz (13.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page