boto3 does not have a built-in sync ability, but awscli does. Since awscli is just a python package I figured there had to be a way to use the sync command. Here is how.
pip install boto3
pip install awscli
Run the code in the sync.py file.