Client Python para a API Nominatim (FMConsult Geocode)
Instalação
pip install nominatim-python-sdk
Configuração
Defina as variáveis de ambiente antes de usar:
nominatim.api.app.namenominatim.api.app.versionnominatim.api.email.address
Base URL: https://api-geocode.fmconsult.com.br
Endpoints suportados
| Classe | Método | Endpoint |
|---|---|---|
SearchAddress |
search |
/search |
ReverseGeocoding |
reverse |
/reverse |
LookupAddress |
lookup |
/lookup |
Lookup (até 50 OSM IDs)
from nominatim.apis.lookup_address import LookupAddress
from nominatim.dtos.geocoder import LookupFilter
client = LookupAddress()
results = client.lookup(LookupFilter(
osm_ids=["R1852505", "W1068591929"],
format="json",
polygon_geojson=1,
))
CI/CD
- CI (
.github/workflows/ci.yml): roda testes em push/PR paramain - CD (
.github/workflows/publish.yml): publica no PyPI ao criar tagv*
Metadata
Release files for nominatim-python-sdk 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nominatim_python_sdk-1.0.3.tar.gz | 6.1 kB | Without provenance | Details for nominatim_python_sdk-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nominatim_python_sdk-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for nominatim_python_sdk-1.0.3-py3-none-any.whl |
Total release size: 12.5 kB
Release files / nominatim_python_sdk-1.0.3.tar.gz
| Download URL | nominatim_python_sdk-1.0.3.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35fb0bf3add91ed5aaa682abf5912c17d7f5f9da942727bd4bdb01897be93d32
|
|
BLAKE2b-256 checksum How to use checksums |
052d5460303a197687e428564f9a12f0d4adf309ce11f1a72f5be612e0781788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / nominatim_python_sdk-1.0.3-py3-none-any.whl
| Download URL | nominatim_python_sdk-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce4f44c60826c3ae4693ff8b9f38a0a15ca46484e1ffc6d3488913bceae549d1
|
|
BLAKE2b-256 checksum How to use checksums |
4634109a43f58c248affed00d5c8fbf77cfd01581291fc6d94ed2394039dc53d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for nominatim-python-sdk 1.0.3
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.