Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

merrywhether/ip6plus-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iPhone 6+ CLI tracking Tool

This is a Python-based command line tool to allow you track the inventory of iPhone 6+s at your local Apple Store. I can only guarantee that it will run on a Mac (from testing) but it is designed for cross-platform functionality, and it is based entirely on standard-library functionality to ensure the easiest setup for non-developers.

This tool was developed for the MacRumors community, as posted here.


It tracks phones by model number, and it features 2 main modes:

  • a loud song alert so that you don't have to be at your computer to know that inventory levels have changed
  • a quiet beep alert when you are at your computer so that you can be a little more discrete

You can mix these modes as well, if there's one you're really hoping for but are also curious about other closely-spec'ed models.

It also supports restarting your last search (which is automatically saved).


To start the program on a Mac (for those uncomfortable with command line):

  • navigate in Finder to the folder containing the python files
  • open Terminal.app (in /Applications/Utilities or searchable with Spotlight)
  • drag the 'run.py' file into the terminal window (this should auto-input the path to the file)
  • hit enter and follow the on-screen prompts

For Linux people, the above process is similar (without the drag-and-drop), as run.py is executable. I don't really have an Windows-python experience, so I can't offer any advice (maybe 'start /path/to/run.py'?).

Other notes:

  • I've made this entirely with vanilla python 2.7, which is built-in to OS X Mountain Lion and OS X Mavericks, so you won't need to download any additional software.
  • The program enters an infinite loop searching for inventory on a regular basis. In order to quit the program at any time, press ctrl-c.
  • To restart, you can press the up arrow (this will show you the previously entered command) in the same terminal window it was previously using and then press enter again.

If you want to track iPhone 6 models, they are listed in the models.py folder in the ip6plus_tracker folder but are currently commented out. If you'd like to enable them, just delete the hashes in front of any you'd like to track.

About

A python command line tool for tracking iPhone 6+ inventory

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages