pslr documentation

Extract public suffixes and registrable domains in Python.


Get better at command line Git with my book Boost Your Git DX.


Welcome to the documentation for pslr, a Rust-powered library covering the core API of the publicsuffixlist package, running many times faster:

>>> import pslr
>>> pslr.publicsuffix("www.tfl.gov.uk")
'gov.uk'
>>> pslr.privatesuffix("www.tfl.gov.uk")
'tfl.gov.uk'

Indices and tables