A Python library for accessing the Tranco top sites ranking, which is hardened against manipulation. Current version 0.8.1. Released periodically.
pip install trancoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize Tranco client with caching, fetch latest list, and print top 5 domains.
Use `from tranco import Tranco` and then `Tranco()`.
Use `latest_list.top(n)` to get top n domains or `list(latest_list)` to get all.
Set `cache=False` or delete the cache directory (`./.tranco` by default).
Install with `pip install tranco` and use `from tranco import Tranco`.
Use `from tranco import Tranco` and then instantiate with `Tranco()`.
Use `t.list(date='latest')` or check available dates with `t.available_dates()`.
No dependency data recorded yet.