Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
/ slimurl Public archive

SlimURL - Fast library for parsing and building URL addresses

Notifications You must be signed in to change notification settings

mosquito/slimurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slim URL [DEPRICATED]

Latest Version

This module is deprecated. Please use the YARL instead.

Slim URL - is fast wrapper for construction or/and parse URL components. Parsing based on regular expressions.

Example:

from slimurl import URL

url = URL('http://example.net')
print("%r" % url)
# <URL "http://example.net/">

print((url.host, url.port, url.scheme))
# ('example.net', 80, 'http')

URL('http://example.net') == URL('http://example.net/')
# True

URL('http://example.net:80') == URL('http://example.net/')
# True

URL('http://example.net') == URL('http://example.net/?foo=bar')
# False

About

SlimURL - Fast library for parsing and building URL addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages