Skip to main content
Help us improve Python packaging – donate today!

Nice URLs for Python

Project Description

Sometimes it feels like working with URLs is harder than it should be. Urly is a little wrapper around the werkzeug URL class to make things easy and pleasant. One module to pip install, one import, and then everything is easy. For instance:

>>> from urly import URL
>>> url = URL('')
>>> url.path = '/new/path'
>>> url.add_param('a', 'c')
>>> print(url)
>>> print(url.relative_url)

Common tasks like changing a path, adding a parameter, and getting the relative URL, are all simple.

Urly also lets you parse URLs the way a browser would. For instance:

>>> url = URL('', parse_like_browser=True)
>>> print(url)


Full documentation is at


Simply install with pip:

$ pip install urly

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
urly-0.1.1455780396-py2.py3-none-any.whl (5.2 kB) Copy SHA256 hash SHA256 Wheel 3.5 Feb 18, 2016
urly-0.1.1455780396.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Feb 18, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page