AWS and boto3 recipes for Python
The above code will create a sqs client and get the URL for the queue named "queuename".
Library: boto3
import boto3
# Create SQS client
sqs = boto3.client('sqs')
# Get URL for SQS queue
response = sqs.get_queue_url(QueueName='queuename')
print(response['QueueUrl'])