{"id":16420785,"url":"https://github.com/cinaaaa/django-mosquito","last_synced_at":"2026-05-12T20:34:45.278Z","repository":{"id":57420910,"uuid":"297909947","full_name":"cinaaaa/django-mosquito","owner":"cinaaaa","description":"Limit the mosquitos from your Django app","archived":false,"fork":false,"pushed_at":"2020-09-23T12:28:37.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-15T15:00:31.934Z","etag":null,"topics":["django","filter","limiter","mosquito"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/djangomosquito/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cinaaaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-23T08:52:26.000Z","updated_at":"2023-09-07T13:27:16.000Z","dependencies_parsed_at":"2022-09-16T10:00:39.616Z","dependency_job_id":null,"html_url":"https://github.com/cinaaaa/django-mosquito","commit_stats":null,"previous_names":["e-rror/django-mosquito"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cinaaaa/django-mosquito","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinaaaa%2Fdjango-mosquito","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinaaaa%2Fdjango-mosquito/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinaaaa%2Fdjango-mosquito/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinaaaa%2Fdjango-mosquito/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinaaaa","download_url":"https://codeload.github.com/cinaaaa/django-mosquito/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinaaaa%2Fdjango-mosquito/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32956165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","filter","limiter","mosquito"],"created_at":"2024-10-11T07:29:11.111Z","updated_at":"2026-05-12T20:34:45.257Z","avatar_url":"https://github.com/cinaaaa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://www.flaticon.com/svg/static/icons/svg/2297/2297334.svg\" height=\"250\" width=\"250\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eDjango Mosquito 🦟\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eLimit visitors to your django app by count\u003c/h4\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/pypi/v/djangomosquito\"/\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/E-RROR/django-mosquito\"/\u003e\n\u003c/p\u003e\n\n# Whats Django Mosquito\nMosquito middleware helps you set limit of visiting you django for each user\n\n# Installation\n```\npip install djangomosquito\n```\n\n# Import\nimport it inside middleware in django settings\n```\nmiddlewares = [\n  ...,\n  'djangomosquito.middleware.DjangoMosquito',\n  ...,\n]\n```\n\n# Usage\nThis middleware do it job you just need to set limit number and\nby setting the limit number after reaching this number user get banned from\nyour website for 1 day\n\n# How\n`settings.py`\n```\n# after 100 requests user get banned\nLIMIT_MOSQUITO = 100\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinaaaa%2Fdjango-mosquito","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinaaaa%2Fdjango-mosquito","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinaaaa%2Fdjango-mosquito/lists"}