BSD Ports

net/py-url-normalize 1.4.3_1 DragonFly

URL normalization for Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
net, python
Package size
10.0 KiB, 41.8 KiB installed

Description

URI Normalization function:

  • Take care of IDN domains.
  • Always provide the URI scheme in lowercase characters.
  • Always provide the host, if any, in lowercase characters.
  • Only perform percent-encoding where it is essential.
  • Always use uppercase A-through-F characters when percent-encoding.
  • Prevent dot-segments appearing in non-relative URI paths.
  • For schemes that define a default authority, use an empty authority if the default is desired.
  • For schemes that define an empty path to be equivalent to a path of "/", use "/".
  • For schemes that define a port, use an empty port if the default is desired
  • All portions of the URI must be utf-8 encoded NFC from Unicode strings

In the other systems

SystemPortVersion
DragonFlynet/py-url-normalize1.4.3_1
FreeBSDnet/py-url-normalize3.0.0
NetBSDwww/py-url-normalize3.0.0
MidnightBSDnet/py-url-normalize1.4.3_1
HardenedBSDnet/py-url-normalize3.0.0
GhostBSDnet/py-url-normalize3.0.0

Install

Binary package:

pkg install py311-url-normalize

From DPorts:

cd /usr/dports/net/py-url-normalize && make install clean

Dependencies

Run dependencies 2