This downloads BAH rates and searches them by ZIP code. To use it:
- Replace
YEAR
with the current year, or whichever year's data you want to use. The default is2023
. - Replace
PAY_GRADE
with your pay grade. The default isE-5
. - Set
DEPENDENTS
toTrue
orFalse
depending on whether you have dependents. The default isFalse
. - Run the script with the ZIP code you want to search. For example,
python3 bah-rate-search.py 90210
or./bah-rate-search.py 90210
.