CrawlerDetect is a Python class for detecting bots/crawlers/spiders via the user agent.
conda install conda-forge::crawlerdetect