Sarah Hoffmann
1f07967787
fix style issue found by flake8
2024-11-10 22:47:14 +01:00
Sarah Hoffmann
15eb7f0bb1
add new format 'raw' for CLI commands
...
This dumps the original results with all details available.
2024-09-30 08:58:40 +02:00
Sarah Hoffmann
adce7261ac
translate UsageError in CLI API commands
...
UsageErrors are handled specially and don't show backtraces
unless explicitly requested. We want the same behaviour for
errors coming from the API functions.
2024-08-19 12:02:33 +02:00
Sarah Hoffmann
b01a836d1e
use NominatimAPI in with context in CLI tool
2024-08-19 11:42:22 +02:00
Sarah Hoffmann
d648561a87
CLI: more useful error messages on JSON formatting errors
2024-08-16 19:47:48 +02:00
Sarah Hoffmann
8e8f7a641b
use custom result formatters in CLI commands
2024-08-16 19:30:57 +02:00
Sarah Hoffmann
4da4cbfe27
reduce from 3 to 2 packages
2024-06-28 09:13:22 +02:00
Sarah Hoffmann
63da70685a
fix linting issues
2024-06-26 11:52:47 +02:00
Sarah Hoffmann
2bab0ca060
port unit tests to new python package layout
2024-06-26 11:52:47 +02:00
Sarah Hoffmann
c903559415
move API dependent functions out of args structure
2024-06-26 11:52:47 +02:00
Sarah Hoffmann
6e89310a92
split code into submodules
2024-06-26 11:52:47 +02:00