Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
e5fe84a
starting refactor
anqixxx Aug 11, 2025
044f9b0
first pass in adding transliteration, still issues with searching Dan…
anqixxx Aug 13, 2025
39b59a8
Minor issue, realized also I need to add mock information about the D…
anqixxx Aug 13, 2025
f6f3334
mypy fixed
anqixxx Aug 13, 2025
67457fc
Testing
anqixxx Aug 13, 2025
aff2617
linting fix
anqixxx Aug 13, 2025
d0b40cc
Made from_accept_languages an abstract class, make display name and d…
anqixxx Aug 13, 2025
8ebe2ab
Changed from global to attribute, removed mock search
anqixxx Aug 14, 2025
7243239
updated .toml for dependenies
anqixxx Aug 15, 2025
fae3942
fixed issue with display name with locales
anqixxx Aug 15, 2025
4f7f301
renaming and adding lang info file
anqixxx Aug 15, 2025
9e02fcc
linting issues
anqixxx Aug 15, 2025
9c6334d
integrated yaml reading from config
anqixxx Aug 18, 2025
10746f3
fixed issue with test normalization
anqixxx Aug 18, 2025
7086dc9
removed old locales class
anqixxx Aug 19, 2025
db7211e
tried to add localize and localize results as abstract methods, had t…
anqixxx Aug 19, 2025
d6e93e0
refactored code a bit, rewrote test to use actual result object not j…
anqixxx Aug 19, 2025
8ad49ee
restructured code for readablity, added a latin transliterator, howev…
anqixxx Aug 19, 2025
ea59607
fixed mypy issues with base.py
anqixxx Aug 19, 2025
4556de7
integrated latin transliteration for cleaner code
anqixxx Aug 19, 2025
39e734a
made some comments better
anqixxx Aug 19, 2025
5279479
reverted back to original git ignore
anqixxx Aug 22, 2025
d32e47c
Dict to mapping change
anqixxx Aug 22, 2025
06c069e
Double quotes to single quotes
anqixxx Aug 22, 2025
de77f7b
data country and language migration to api
anqixxx Aug 22, 2025
bd5df19
added optional dependencies
anqixxx Aug 22, 2025
60728eb
add optional dependencies
anqixxx Aug 24, 2025
d2463aa
better job at optional imports
anqixxx Aug 24, 2025
78edba7
lint
anqixxx Aug 24, 2025
b00a731
Added data information in init
anqixxx Aug 24, 2025
9022eb2
Added more dependencies to fix import issue
anqixxx Aug 24, 2025
1fbf685
Trying to fix import
anqixxx Aug 24, 2025
cf0a803
Revert server glue
anqixxx Aug 26, 2025
312a7b6
Added fix for linter than is not on local machine
anqixxx Aug 26, 2025
047f3e4
Lint
anqixxx Aug 26, 2025
4b429b4
fighting linter
anqixxx Aug 26, 2025
cbda99a
added git workflow for optional dependencies
anqixxx Aug 26, 2025
254928b
trying agfain for optional
anqixxx Aug 26, 2025
9e60b43
linting again:(
anqixxx Aug 26, 2025
55923c1
optional dependencies github again
anqixxx Aug 26, 2025
642172e
trying to fix opt dependencies 24
anqixxx Aug 26, 2025
c8df633
opt dep again
anqixxx Aug 26, 2025
e7e75cd
lint
anqixxx Aug 26, 2025
c8aee67
changes in server_glue integration
anqixxx Aug 27, 2025
7aa2d16
fixed right initalization
anqixxx Aug 27, 2025
42eb25a
first stab at integrating hong kong transliteration
anqixxx Aug 27, 2025
6e6d7a8
lint
anqixxx Aug 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,12 @@ jobs:
LUA_VERSION: ${{ matrix.lua }}

- name: Install test prerequisites (apt)
run: sudo apt-get install -y -qq python3-pytest python3-pytest-asyncio uvicorn python3-falcon python3-aiosqlite python3-pyosmium
run: sudo apt-get install -y -qq python3-pytest python3-pytest-asyncio uvicorn python3-falcon python3-aiosqlite python3-pyosmium python3-unidecode
if: matrix.dependencies == 'apt'

- name: Install test prerequisites (pip)
run: ./venv/bin/pip install pytest-asyncio falcon starlette asgi_lifespan aiosqlite osmium uvicorn
run: |
./venv/bin/pip install pytest-asyncio falcon starlette asgi_lifespan aiosqlite osmium uvicorn cantonese-romanisation unidecode opencc
if: matrix.dependencies == 'pip'

- name: Install test prerequisites
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dist
.coverage

.vagrant
data/country_osm_grid.sql.gz
data/country_osm_grid.sql.gz
7 changes: 7 additions & 0 deletions packaging/nominatim-api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ dependencies = [
]
dynamic = ["version"]

[project.optional-dependencies]
transliteration = [
"cantonese-romanisation",
"unidecode",
"opencc"
]

[project.urls]
Homepage = "https://nominatim.org"
Documentation = "https://nominatim.org/release-docs/latest/"
Expand Down
Loading