🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

slimurl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slimurl

SlimURL - Fast library for parsing and building URL addresses

0.7.8
PyPI
Maintainers
1

Slim URL [DEPRICATED]

.. image:: https://travis-ci.org/mosquito/slimurl.svg :target: https://travis-ci.org/mosquito/slimurl

.. image:: https://img.shields.io/pypi/v/slimurl.svg :target: https://pypi.python.org/pypi/slimurl/ :alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/slimurl.svg :target: https://pypi.python.org/pypi/slimurl/

.. image:: https://img.shields.io/pypi/pyversions/slimurl.svg :target: https://pypi.python.org/pypi/slimurl/

.. image:: https://img.shields.io/pypi/l/slimurl.svg :target: https://pypi.python.org/pypi/slimurl/

This module is deprecated. Please use the YARL_ instead.

.. _YARL: https://pypi.python.org/pypi/yarl

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts