{"id":28386584,"url":"https://github.com/geocodefarm/geocodefarm-py","last_synced_at":"2026-02-21T19:04:33.230Z","repository":{"id":286255670,"uuid":"960873717","full_name":"geocodefarm/geocodefarm-py","owner":"geocodefarm","description":"Python3 Library for Geocode.Farm API","archived":false,"fork":false,"pushed_at":"2025-04-05T09:23:33.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T10:28:38.817Z","etag":null,"topics":["geocode","geocode-api","geocode-farm","geocodefarm","geocoder","geocoder-api","geocoder-provider","geocoding-api","geocoding-library","geocoding-service","geocoding-services","python-library","python-sdk","python-sdks","python3","python3-library","python3-sdk"],"latest_commit_sha":null,"homepage":"https://geocode.farm","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geocodefarm.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":"2025-04-05T08:49:06.000Z","updated_at":"2025-04-05T20:29:40.000Z","dependencies_parsed_at":"2025-04-05T09:38:59.234Z","dependency_job_id":null,"html_url":"https://github.com/geocodefarm/geocodefarm-py","commit_stats":null,"previous_names":["geocodefarm/geocodefarm-py"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/geocodefarm/geocodefarm-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geocodefarm","download_url":"https://codeload.github.com/geocodefarm/geocodefarm-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geocodefarm%2Fgeocodefarm-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29690662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: 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":["geocode","geocode-api","geocode-farm","geocodefarm","geocoder","geocoder-api","geocoder-provider","geocoding-api","geocoding-library","geocoding-service","geocoding-services","python-library","python-sdk","python-sdks","python3","python3-library","python3-sdk"],"created_at":"2025-05-30T15:11:40.854Z","updated_at":"2026-02-21T19:04:33.193Z","avatar_url":"https://github.com/geocodefarm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeocodeFarm Python Client\n\nA lightweight, dependency-free Python client for the [Geocode.Farm](https://www.geocode.farm/) API (v4).  \nSupports both forward and reverse geocoding with simple, structured results.\n\n\u003e ⚡ No third-party dependencies  \n\u003e 🌍 Supports Geocode.Farm v4  \n\u003e 🧵 Easy to use and extend\n\n---\n\n## 🔧 Installation\n\n```bash\npip install geocodefarm\n```\n\nOr clone from GitHub:\n\n```bash\ngit clone https://github.com/geocodefarm/geocodefarm-py.git\ncd geocodefarm-py\npip install .\n```\n\n---\n\n## 🗺️ Usage\n\n```python\nfrom geocodefarm import GeocodeFarmClient\n\nclient = GeocodeFarmClient(\"your_api_key_here\")\n\n# Forward geocoding (address -\u003e lat/lon)\nresult = client.forward(\"1600 Amphitheatre Parkway, Mountain View, CA\")\nprint(result)\n\n# Reverse geocoding (lat/lon -\u003e address)\nreverse = client.reverse(37.4221, -122.0841)\nprint(reverse)\n```\n\n---\n\n## 📦 Response Format\n\nAll responses are normalized into this format:\n\n```python\n{\n    \"success\": True,\n    \"status_code\": 200,\n    \"lat\": 37.4221,\n    \"lon\": -122.0841,\n    \"accuracy\": \"ROOFTOP\",\n    \"full_address\": \"1600 Amphitheatre Parkway, Mountain View, CA 94043, USA\",\n    \"result\": {\n        \"house_number\": \"1600\",\n        \"street_name\": \"Amphitheatre Parkway\",\n        \"locality\": \"Mountain View\",\n        \"admin_2\": \"Santa Clara County\",\n        \"admin_1\": \"California\",\n        \"country\": \"United States\",\n        \"postal_code\": \"94043\",\n        \"formatted_address\": \"...\",\n        \"latitude\": ...,\n        \"longitude\": ...\n    }\n}\n```\n\nIf the request fails, `success` will be `False`, and an `error` message will be included.\n\n---\n\n## 🛠️ Requirements\n\n- Python 3.7+\n- No external dependencies\n\n---\n\n## 🪪 License\n\nThis project is released under [The Unlicense](https://unlicense.org) — public domain dedication.\n\n---\n\n## 🌐 Links\n\n- [Geocode.Farm API Documentation](https://www.geocode.farm/our-apis/)\n- [GitHub Repository](https://github.com/geocodefarm/geocodefarm-py)\n- [PyPI Package](https://pypi.org/project/geocodefarm/)\n\n---\n\n## 🤝 Contributing\n\nPull requests are welcome. If you find bugs or want to improve the client, feel free to open an issue or PR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodefarm%2Fgeocodefarm-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeocodefarm%2Fgeocodefarm-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeocodefarm%2Fgeocodefarm-py/lists"}