Addok plugin for France-specific address geocoding.
Project description
addok-france
Addok plugin for France-specific address geocoding with advanced query processing and result formatting.
Features
- Query preprocessing: Extract and clean French address components
- Ordinal number handling: Proper processing of ordinal numbers (1er, 2ème, etc.)
- House number flagging: Specialized handling of French house numbers
- French labels: France-specific result label formatting
Installation
pip install addok-france
Configuration
Query processors
Add France-specific query processors to handle address extraction and cleaning:
QUERY_PROCESSORS_PYPATHS = [
…,
"addok_france.extract_address",
"addok_france.clean_query",
]
String processors
Add processors for ordinal numbers and house number handling:
PROCESSORS_PYPATHS = [
…,
"addok_france.glue_ordinal",
"addok_france.fold_ordinal",
"addok_france.flag_housenumber",
…,
]
Result processors
Replace default make_labels with France-specific label formatting:
SEARCH_RESULT_PROCESSORS_PYPATHS = [
'addok_france.make_labels',
…,
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file addok_france-1.2.0.tar.gz.
File metadata
- Download URL: addok_france-1.2.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9e8b81d5ece8fa76e90a90f89fe171c2701760787be24ad989b8490c89bebc4
|
|
| MD5 |
48b56c056f01390db8b03d6843076d28
|
|
| BLAKE2b-256 |
377bb4b0b97f152370660071f5befe31d7ce6dc686ca8bba0e748c212c1178c1
|
File details
Details for the file addok_france-1.2.0-py3-none-any.whl.
File metadata
- Download URL: addok_france-1.2.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382fb7ec74b35c1342a14ad423f148fc1823770eb59b6f3d3affe744b2c5658b
|
|
| MD5 |
aa248f51e5b4fc4bd766aecf1c51412e
|
|
| BLAKE2b-256 |
72a76d3c61d898ba8701827f9384dac5100a84f2cee4a3a9ce8565e190c001f8
|