Skip to main content

GitHub GitHub contributors Python package PyPI PyPI - Format Build Status GitHub Release Date

AddresseParser

Package Python pour parser et comparer les adresses françaises.

Lancement

Package disponible sur PyPI

Vous pouvez l'installer avec pip:

pip install AdresseParser

Exemple d'utilisation en console Python:

>>> from AdresseParser import AdresseParser
>>> adr_parser = AdresseParser()
>>> result = adr_parser.parse("88 rue de rivoli 75002 paris")
>>> print(result)
{'numero': '88', 'indice': None, 'rue': {'type': 'RUE', 'nom': 'RIVOLI'}, 'code_postal': '75002', 'ville': {'arrondissement': 2, 'nom': 'PARIS'}, 'cedex': [], 'departement': {'numero': 75, 'nom': 'Paris'}, 'region': 'Île-de-France', 'pays': 'France'}
>>> print(result['rue'])
{'type': 'RUE', 'nom': 'RIVOLI'}
>>> print(result['ville']['arrondissement'])
2

Return

{
    "numero": "str",
    "indice": "str",
    "rue":{
          "type": "str",
          "nom": "str"
     },
    "code_postal": "str",
    "ville": {
          "arrondissement": "int",
          "nom": "str"
     },
     "cedex":[
       {
        "libelle": "str",
        "code_insee": "str"
       }
     ],
    "departement": {
          "numero": "str",
          "nom": "str"
     },
    "region": "str",
    "pays": "France"
 }

Metadata

Release files for AdresseParser 1.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AdresseParser 1.0.9
File Size Uploaded Provenance Actions
AdresseParser-1.0.9.tar.gz 338.6 kB Without provenance Details for AdresseParser-1.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for AdresseParser 1.0.9
File Interpreter ABI Platform Actions
AdresseParser-1.0.9-py3-none-any.whl Python 3 none any Details for AdresseParser-1.0.9-py3-none-any.whl

Total release size: 689.8 kB

Release files / AdresseParser-1.0.9.tar.gz

Download URL AdresseParser-1.0.9.tar.gz
Size 338.6 kB
Tags Source
SHA-256 checksum
How to use checksums
338543ce8c57873b2a6c8ae9b2dc833d6229c74daa520368ee5805665ae75776
BLAKE2b-256 checksum
How to use checksums
be76ad5a1d6c28aa3129ab9a13808818b84f7b055c911242e8ce8ed9fe0d1486
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release files / AdresseParser-1.0.9-py3-none-any.whl

Download URL AdresseParser-1.0.9-py3-none-any.whl
Size 351.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d03276447e5223aa11eb124d1ce049395eacf8e6ae5a01a8c9e2bda861525683
BLAKE2b-256 checksum
How to use checksums
7bbf3badf66cde4872f2b39a944bd39a86b0086a44dd20a181aa3bb2fbcb5d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Security for AdresseParser 1.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page