if license_key in valid_license_keys: user_info = valid_license_keys[license_key] if user_info['expiration_date'] >= datetime.date.today().strftime('%Y-%m-%d'): return True, user_info return False, None
If you prefer not to purchase a license, several reputable free tools offer similar bandwidth monitoring features: NetSpeedMonitor networx license key top