libpostal

Parse and normalize street addresses worldwide

brewmacoslinux
Try with needOr install directly
Source

About

Library for parsing/normalizing street addresses around the world

Commands

libpostal

Examples

Parse a street address into components$ libpostal parse '123 Main Street, New York, NY 10001'
Normalize an address for standardized format$ libpostal normalize '123 main st new york ny'
Get address components with language specification$ libpostal parse --language en 'Rue de la Paix 1, Paris, France'