{"repo":"tn3w/flask-Humanify","free":true,"listed":false,"github":"https://github.com/tn3w/flask-Humanify","clone":"git clone https://github.com/tn3w/flask-Humanify.git","description":"A strong bot protection system for Flask with many features: rate limiting, special rules for users, web crawler detection, and automatic bot detection.","language":"Python","stars":21,"topics":["captcha","ddos","flask","python","bot-protection","crawler","rate-limiting","robot"],"license":"GPL-3.0","category":"scrapers-browser-automation","readme_excerpt":"[!TIP] Want more challenge types, better performance, a cleaner API, and active feature development? Use flask-Vouch , the successor to this project. flask-Humanify receives security fixes only. flask-Humanify A strong bot protection system for Flask with many features: rate limiting, special rules for users, web crawler detection, and automatic bot detection. Advanced Protection Rules You can customize bot protection with advanced filtering rules: Route-Level Protection with Decorators Flask-Humanify provides powerful decorators for fine-grained bot protection on specific routes: @require human(action=\"challenge\") Protects a route by challenging suspected bots with a captcha. Parameters: - action (str): Action to take when a bot is detected - \"challenge\" (default): Show captcha challenge - \"deny access\" : Block access immediately @always challenge Forces all visitors (including humans) to solve a captcha before accessing the route. @block bots Immediately blocks all detected bots without showing a captcha challenge. @exempt from protection Exempts a route from all Humanify protection, including middleware rules. Decorator Priority When both middleware and decorators are used: 1. @exempt from protection - Highest priority, bypasses all protection 2. Route-specific decorators - Override middleware settings for that route 3. Middleware rules - Apply to routes without decorators Usage Installation Install the package with pip: Optional: Enhanced Security with re2 For better perf","default_branch":null,"files":null,"tree":[],"storefront":"/r/tn3w","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tn3w/flask-Humanify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}