{"id":25485293,"url":"https://github.com/cumulus13/django_client_ip","last_synced_at":"2025-11-07T10:30:34.587Z","repository":{"id":258610030,"uuid":"874261385","full_name":"cumulus13/django_client_ip","owner":"cumulus13","description":"Django middleware that retrieves the client IP address and optionally fetches geolocation data using ip-api.com.","archived":false,"fork":false,"pushed_at":"2024-10-17T14:21:31.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T20:41:25.718Z","etag":null,"topics":["client","client-ip","django","ip"],"latest_commit_sha":null,"homepage":"https://github.com/cumulus13/django_client_ip","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/cumulus13.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T14:16:39.000Z","updated_at":"2024-10-17T14:22:57.000Z","dependencies_parsed_at":"2024-10-19T20:52:10.993Z","dependency_job_id":null,"html_url":"https://github.com/cumulus13/django_client_ip","commit_stats":null,"previous_names":["cumulus13/django_client_ip"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2Fdjango_client_ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2Fdjango_client_ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2Fdjango_client_ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cumulus13%2Fdjango_client_ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cumulus13","download_url":"https://codeload.github.com/cumulus13/django_client_ip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239527778,"owners_count":19653807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["client","client-ip","django","ip"],"created_at":"2025-02-18T18:35:35.650Z","updated_at":"2025-02-18T18:35:36.097Z","avatar_url":"https://github.com/cumulus13.png","language":"Python","funding_links":["https://www.buymeacoffee.com/cumulus13","https://ko-fi.com/cumulus13","https://www.patreon.com/cumulus13"],"categories":[],"sub_categories":[],"readme":"# django-client-ip\n\n`django-client-ip` is a Django middleware that retrieves the client IP address and optionally fetches geolocation data using `ip-api.com`.\n\n## Installation\n\n1. Install the package using pip:\n```bash\npip install django-client-ip\n```\n\n2. Add the middleware to your Django project in settings.py:\n```python\nMIDDLEWARE = [\n    # Other middlewares\n    'django_client_ip.GetClientIP',\n]\n```\n\n## Usage\nOnce installed, every `request` object will have a `client_ip` attribute containing the IP address and geolocation data (if available).\n\n## Author\n[Hadi Cahyadi](mailto:cumulus13@gmail.com)\n\n[![Buy Me a Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/cumulus13)\n\n[![Donate via Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cumulus13)\n [Support me on Patreon](https://www.patreon.com/cumulus13)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcumulus13%2Fdjango_client_ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcumulus13%2Fdjango_client_ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcumulus13%2Fdjango_client_ip/lists"}