`requests.utils` has `quote` function.

```
In [93]: requests.utils.quote("https://hacknight.in?q=jsfoo 2013")
Out[93]: 'https%3A//hacknight.in%3Fq%3Djsfoo%202013'
```
Thought `requests.utils.quote` is from `urllib`.