Skip to main content

Parser d'adresses françaises

Project description

#PyAddresseParser Parser d’addresses françaises.

#Lancement

Vous pouvez l’installer avec pip: `bash pip install AdresseParser ` Exemple d’utilisation en console Python: `bash >>> from AdresseParser import AdresseParser >>> adr_parser = AdresseParser() >>> result = adr_parser.parse("88 rue de rivoli 75002 paris") >>> print(result) {'numero': '88', 'rue': {'type': 'RUE', 'nom': 'RIVOLI'}, 'code_postal': '75002', 'ville': {'arrondissement': 2, 'nom': 'PARIS'}, 'departement': {'numero': 75, 'nom': 'Paris'}, 'region': 'Île-de-France', 'pays': 'France'} >>> print(result['rue']) {'type': 'RUE', 'nom': 'RIVOLI'} >>> print(result['ville']['arrondissement']) 2 `

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

AdresseParser-0.1.0-py3-none-any.whl (271.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page