{"id":37073939,"url":"https://github.com/chigwell/text-geo-map","last_synced_at":"2026-01-14T08:42:13.313Z","repository":{"id":329830884,"uuid":"1120771216","full_name":"chigwell/text-geo-map","owner":"chigwell","description":"text-geo-map turns plain text location descriptions into standardized geospatial data for interactive maps.","archived":false,"fork":false,"pushed_at":"2025-12-21T22:54:57.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T10:04:12.092Z","etag":null,"topics":["addressvalidation","coordinatesextraction","geocoding","geospatialanalysis","geospatialdata","geospatialvisualization","interactivemaps","landmarkidentification","llmatch-messages","locationbasedservices","locationextraction","naturallanguageprocessing","structureddata","texttogeospatial","texttomap"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/text-geo-map/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chigwell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T22:54:40.000Z","updated_at":"2025-12-21T22:55:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"6e79e02d-4cc4-4b1d-b53c-7300f4d852bd","html_url":"https://github.com/chigwell/text-geo-map","commit_stats":null,"previous_names":["chigwell/text-geo-map"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chigwell/text-geo-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext-geo-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext-geo-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext-geo-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext-geo-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chigwell","download_url":"https://codeload.github.com/chigwell/text-geo-map/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext-geo-map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"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":["addressvalidation","coordinatesextraction","geocoding","geospatialanalysis","geospatialdata","geospatialvisualization","interactivemaps","landmarkidentification","llmatch-messages","locationbasedservices","locationextraction","naturallanguageprocessing","structureddata","texttogeospatial","texttomap"],"created_at":"2026-01-14T08:42:12.614Z","updated_at":"2026-01-14T08:42:13.306Z","avatar_url":"https://github.com/chigwell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Package Title\n[![PyPI version](https://badge.fury.io/py/text-geo-map.svg)](https://badge.fury.io/py/text-geo-map)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://static.pepy.tech/badge/text-geo-map)](https://pepy.tech/project/text-geo-map)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)\n\nTransforming Text Descriptions to Structured Geospatial Data\n================\n\n#### About the Package\n\nA new Python package that converts plain text descriptions of locations into structured geospatial data. The package extracts and validates key details such as coordinates, addresses, or landmarks from the text and outputs the information in a standardized format.\n\n#### Installing\n----------------\n\nInstall the package via pip:\n```bash\npip install text_geo_map\n```\n\n#### Using the Package\n--------------------\n\n```python\nfrom text_geo_map import text_geo_map\n\nuser_input = \"The Eiffel Tower in Paris, France\"\nresponse = text_geo_map(user_input)\nprint(response)\n```\n\n#### Parameters\n------------\n\nThe `text_geo_map` function accepts the following parameters:\n\n- `user_input`: The text description of a location.\n- `llm`: An instance of the LangChain `BaseChatModel` to use for LL7 queries (default is `ChatLLM7` from `langchain_llm7`).\n- `api_key`: The API key for LLM7 (default is `None`, which will use the `LLM7_API_KEY` environment variable).\n\nYou can also pass your own instance of a LangChain chat model by using the `llm` parameter. For example:\n\n```python\nimport os\n\nfrom langchain OpenAI import ChatOpenAI\nfrom text_geo_map import text_geo_map\n\nllm = ChatOpenAI()\nresponse = text_geo_map(user_input, llm=llm)\n```\n\nExample to use the Anthropics:\n\n```python\nimport os\n\nfrom langchain_anthropic import ChatAnthropic\nfrom text_geo_map import text_geo_map\n\nllm = ChatAnthropic()\nresponse = text_geo_map(user_input, llm=llm)\n```\n\nExample to use the Google generative ai:\n\n```python\nimport os\n\nfrom langchain_google_genai import ChatGoogleGenerativeAI\nfrom text_geo_map import text_geo_map\n\nllm = ChatGoogleGenerativeAI()\nresponse = text_geo_map(user_input, llm=llm)\n```\n\nNote: The default rate limits for LLM7 free tier should be sufficient for most use cases of this package. If you need higher rate limits, you can pass your own API key via the environment variable `LLM7_API_KEY` or directly as the `api_key` parameter.\n\nYou can obtain a free API key by registering on https://token.llm7.io/.\n\n#### Documentation\n-----------------\n\nMore information can be found on the GitHub repository at: https://github.com/chigwell/\n\n#### Author\n----------------\n\nThis package was created by Eugene Evstafev and can be reached at hi@euegne.plus.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchigwell%2Ftext-geo-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchigwell%2Ftext-geo-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchigwell%2Ftext-geo-map/lists"}