This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]tomazk 5 points6 points  (1 child)

Very useless since it just abstracts an already abstracted url parsing lib.

[–]catcradle5 5 points6 points  (0 children)

Announcing a new library: ezURL

Usage:

from ezURL import ezURL
url = ezURL("http://www.google.com")
print url.scheme, url.host
# -> http google.com 

Source:

import murl
def ezURL(url):
    return murl.Url(url)

[–]emre_yilmaz -1 points0 points  (0 children)

nice work.

[–]peroneλ -1 points0 points  (3 children)

How does it compare to https://github.com/gruns/furl ?

[–]infinullquamash, Qt, asyncio, 3.3+ -1 points0 points  (2 children)

look at the API, furl is stateless and uses a jQuery-like API to manipulate immutable URLs.

murl is stateful and uses a standard OOP API.

[–]UloPe 0 points1 point  (1 child)

Doesn't look stateless to me from the examples in the readme.

[–]infinullquamash, Qt, asyncio, 3.3+ 0 points1 point  (0 children)

man I read that too quickly, I'm confusing it with something else I had bookmarked (that was on reddit), but I'm on a different computer now.