{"id":18289756,"url":"https://github.com/sweetiq/expostal","last_synced_at":"2025-04-09T22:17:42.426Z","repository":{"id":48895503,"uuid":"92530086","full_name":"SweetIQ/expostal","owner":"SweetIQ","description":"Elixir binding for Libpostal - a library for parsing/normalizing street addresses around the world. Powered by statistical NLP and open geo data.","archived":false,"fork":false,"pushed_at":"2023-07-23T09:55:31.000Z","size":36,"stargazers_count":98,"open_issues_count":5,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T22:17:38.528Z","etag":null,"topics":["address","binding","elixir","geocoding","libpostal","nif","parser"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/SweetIQ.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}},"created_at":"2017-05-26T16:42:12.000Z","updated_at":"2025-02-26T13:07:33.000Z","dependencies_parsed_at":"2022-09-23T23:13:50.143Z","dependency_job_id":"ecbc736a-3f67-4cbd-b2ce-5a4dd2a25e33","html_url":"https://github.com/SweetIQ/expostal","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SweetIQ%2Fexpostal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SweetIQ%2Fexpostal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SweetIQ%2Fexpostal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SweetIQ%2Fexpostal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SweetIQ","download_url":"https://codeload.github.com/SweetIQ/expostal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119286,"owners_count":21050755,"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":["address","binding","elixir","geocoding","libpostal","nif","parser"],"created_at":"2024-11-05T14:07:57.314Z","updated_at":"2025-04-09T22:17:42.400Z","avatar_url":"https://github.com/SweetIQ.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Elixir](https://hexdocs.pm/ex_unit/assets/logo.png) expostal\n\n[![Build Status](https://travis-ci.org/SweetIQ/expostal.svg?branch=master)](https://travis-ci.org/SweetIQ/expostal)\n[![Hex.pm](https://img.shields.io/hexpm/v/expostal.svg)](https://hex.pm/packages/expostal)\n[![license](https://img.shields.io/github/license/sweetiq/expostal.svg)](https://github.com/SweetIQ/expostal/blob/master/LICENSE)\n\nElixir binding for [Libpostal] - a library for parsing/normalizing street addresses around the world. \nPowered by statistical NLP and open geo data.\n\nTutorial on how to write Elixir/Erlang NIF: http://cs.mcgill.ca/~mxia3/2017/06/18/tutorial-extending-elixir-with-c-using-NIF/\n\n## Installation\n\nThe package can be installed by adding `expostal` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:expostal, \"~\u003e 0.2.0\"}]\nend\n```\n\n### Dependencies\n\nDepends on [system-wide installation of libpostal](https://github.com/openvenues/libpostal#installation).\n\n[Libpostal]: https://github.com/openvenues/libpostal\n\n## Usage\n\nParsing an address: \n\n```\niex\u003e Expostal.parse_address(\"615 Rene Levesque Ouest, Montreal, QC, Canada\")\n\n%{city: \"montreal\", country: \"canada\", house_number: \"615\",\n  road: \"rene levesque ouest\", state: \"qc\"}\n\n```\n\nExpanding an address: \n\n```\niex\u003e Expostal.expand_address(\"781 Franklin Ave Crown Hts Brooklyn NY\")\n\n[\"781 franklin avenue crown heights brooklyn new york\",\n  \"781 franklin avenue crown heights brooklyn ny\"]\n```\n\n## Documentation\n\nView the docs on [https://hexdocs.pm/expostal](https://hexdocs.pm/expostal), or\ngenerate the docs locally with `mix docs`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweetiq%2Fexpostal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsweetiq%2Fexpostal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweetiq%2Fexpostal/lists"}