sqrlserver.utils module

sqrlserver.utils.addquery(url, params)

Adds/replaces query paramters to a url

For predictability and testing, they are sorted alphabetically.

sqrlserver.utils.delquery(url, *args)

Removes requested query paramters from a url

For predictability and testing, they are sorted alphabetically.

sqrlserver.utils.depad(data)

Removes padding characters from the end of b64u encoded strings

sqrlserver.utils.pad(data)

Pads a string so the length is a multiple of 4

sqrlserver.utils.stripurl(url)

Strips scheme and netloc from urls