Skip to main content

SlimURL - Fast library for parsing and building URL addresses

Project description

https://travis-ci.org/mosquito/slimurl.svg Latest Version https://img.shields.io/pypi/wheel/slimurl.svg https://img.shields.io/pypi/pyversions/slimurl.svg https://img.shields.io/pypi/l/slimurl.svg

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

Project details


Download files

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

Source Distribution

slimurl-0.5.3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distributions

slimurl-0.5.3.macosx-10.11-x86_64.tar.gz (6.3 kB view details)

Uploaded Source

slimurl-0.5.3-py2-none-any.whl (5.0 kB view details)

Uploaded Python 2

File details

Details for the file slimurl-0.5.3.tar.gz.

File metadata

  • Download URL: slimurl-0.5.3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for slimurl-0.5.3.tar.gz
Algorithm Hash digest
SHA256 54d7d0be69083154d72a93d5d2725fc5302866c58150bb544448234ff3dae811
MD5 c567bc8c2a5f56a5157c80ac7b9bc3a5
BLAKE2b-256 c801bd15641a9f585211d452bc89d8c9f91e329e35ce53d76d719a0b6a6b5336

See more details on using hashes here.

File details

Details for the file slimurl-0.5.3.macosx-10.11-x86_64.tar.gz.

File metadata

File hashes

Hashes for slimurl-0.5.3.macosx-10.11-x86_64.tar.gz
Algorithm Hash digest
SHA256 29b41038e14827b36788ab6cef5278b6b7fb0f931fbff0e91fed296cdbdea474
MD5 8632f1ee771bf5b310225c69db7e801e
BLAKE2b-256 69aee284beb5ebccae8ac9cb17b0375b75131008d8506e1cd55045b2b5869a6a

See more details on using hashes here.

File details

Details for the file slimurl-0.5.3-py2-none-any.whl.

File metadata

File hashes

Hashes for slimurl-0.5.3-py2-none-any.whl
Algorithm Hash digest
SHA256 c40b936aa324d3ceba49e0f0df69d7eda7776205e40eee98b6d27011aa1dcdd2
MD5 365f39eb9b07e13a8b07ba83ea05e7e9
BLAKE2b-256 190b7e11f31b277cca298154c1800148c3e74a6209a417fa8401e339b0d6373f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page