There is significant code duplication across the providers, particularly in the main.py file where the logic for each provider has been mixed in for general application logic.
This, and other parts, could be refactored to deduplicate. It would have the additional benefit of making it easier to add additional providers in the future.
There is significant code duplication across the providers, particularly in the
main.py
file where the logic for each provider has been mixed in for general application logic.This, and other parts, could be refactored to deduplicate. It would have the additional benefit of making it easier to add additional providers in the future.