There are 2 repositories under bruteforce-protection topic.
Bruteforce protection for Django projects based on Redis. Simple, powerful, extendable.
Bruteforce HTTP POST with CSRF token bypass (anti-CSRF)
Anti-robot challenges for Express.js