{"id":19221102,"url":"https://github.com/ledermann/address_parser","last_synced_at":"2025-05-13T01:24:06.252Z","repository":{"id":1983523,"uuid":"2915363","full_name":"ledermann/address_parser","owner":"ledermann","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-19T07:37:38.000Z","size":15,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T23:39:50.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ledermann.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2011-12-05T09:05:41.000Z","updated_at":"2020-04-19T07:37:40.000Z","dependencies_parsed_at":"2022-08-06T03:01:18.842Z","dependency_job_id":null,"html_url":"https://github.com/ledermann/address_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Faddress_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Faddress_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Faddress_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ledermann%2Faddress_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ledermann","download_url":"https://codeload.github.com/ledermann/address_parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253851994,"owners_count":21973836,"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":[],"created_at":"2024-11-09T14:40:04.409Z","updated_at":"2025-05-13T01:24:06.234Z","avatar_url":"https://github.com/ledermann.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AddressParser\n\n[![Build Status](https://secure.travis-ci.org/ledermann/address_parser.png)](http://travis-ci.org/ledermann/address_parser)\n\nRuby gem for parsing a (multiline) string containing an address and identifying its parts with Regex. It's useful to copy \u0026 paste contact or address informations from unformatted source (e.g. a website) into your schema based database.\n\n**Beware:** This project is in early alpha state and needs a lot of work to be useful. So far it's just a project started on a rainy weekend. I'm not sure about its future.\n\n\n## Installation\n\nAdd this to your Gemfile:\n\n    gem 'address_parser', :git =\u003e 'git://github.com/ledermann/address_parser.git'\n\n(not released to rubygems.org, yet)\n\n## Usage\n\n    address = AddressParser::Address.new \u003c\u003c-EOT\n      Peter Meier\n      Marienburger Straße 29\n      50374 Erftstadt\n      Fon (02235) 123456\n      Fax (02235) 654321\n      Web www.peter-meier.de\n      E-Mail mail@peter-meier.de\n    EOT\n    \n    address.parts.should == {\n      :first_name     =\u003e 'Peter',\n      :last_name      =\u003e 'Meier',\n      :street         =\u003e 'Marienburger Straße 29',\n      :zip            =\u003e '50374',\n      :city           =\u003e 'Erftstadt',\n      :country        =\u003e 'DE',\n      :phone          =\u003e '(02235) 123456',\n      :fax            =\u003e '(02235) 654321',\n      :web            =\u003e 'www.peter-meier.de',\n      :email          =\u003e 'mail@peter-meier.de'\n    }\n\nA lot of variants are recognized\n\n\n## Limitations\n\n* It uses **no** databases (e.g. for first names or cities), so it can't be perfect\n* It recognizes only german addresses (yet)\n* It does not format any phone numbers. If you need this, look at additional Ruby gems like [Phony](https://github.com/floere/phony) or [Dialy](https://github.com/ledermann/dialy)\n\n\n## Note on Patches/Pull Requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it. No discussion. No tests, no game. We use rspec for testing.\n* Commit, do not mess with rakefile, version, or history. If you want to have your own version, thats fine. But bump your version in a seperate commit that can be ignored when pulling.\n* Send me a pull request. Bonus points for topic branches.\n\n\n## References\n\nThere is a commercial alternative named [RecogniContact](http://address-parser.com) which is **much more** powerful - but closed source.\n\n\n## Copyright\n\nCopyright © 2011,2012 [Georg Ledermann](http://georg-ledermann.de). See LICENSE for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledermann%2Faddress_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fledermann%2Faddress_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fledermann%2Faddress_parser/lists"}