parent
5bc64ed093
commit
bf26afb95a
|
@ -19,7 +19,7 @@ to iOS Shortcuts-like shareable text.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ surplus 9R3J+R9 Singapore
|
$ surplus 9R3J+R9 Singapore
|
||||||
surplus version 2.0.0
|
surplus version 2.0.1
|
||||||
Thomson Plaza
|
Thomson Plaza
|
||||||
301 Upper Thomson Road
|
301 Upper Thomson Road
|
||||||
Sin Ming, Bishan
|
Sin Ming, Bishan
|
||||||
|
@ -255,7 +255,7 @@ of incorrect outputs.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ s+ --debug 8QJF+RP Singapore
|
$ s+ --debug 8QJF+RP Singapore
|
||||||
surplus version 2.0.0, debug mode
|
surplus version 2.0.1, debug mode
|
||||||
debug: parse_query: behaviour.query=['8QJF+RP', 'Singapore']
|
debug: parse_query: behaviour.query=['8QJF+RP', 'Singapore']
|
||||||
debug: _match_plus_code: portion_plus_code='8QJF+RP', portion_locality='Singapore'
|
debug: _match_plus_code: portion_plus_code='8QJF+RP', portion_locality='Singapore'
|
||||||
debug: cli: query=Result(value=LocalCodeQuery(code='8QJF+RP', locality='Singapore'), error=None)
|
debug: cli: query=Result(value=LocalCodeQuery(code='8QJF+RP', locality='Singapore'), error=None)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "surplus"
|
name = "surplus"
|
||||||
version = "2.0.0"
|
version = "2.0.1"
|
||||||
description = "Python script to convert Google Maps Plus Codes to iOS Shortcuts-like shareable text."
|
description = "Python script to convert Google Maps Plus Codes to iOS Shortcuts-like shareable text."
|
||||||
authors = ["Mark Joshwel <mark@joshwel.co>"]
|
authors = ["Mark Joshwel <mark@joshwel.co>"]
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
|
|
|
@ -56,6 +56,7 @@ from .surplus import (
|
||||||
PlusCodeNotFoundError,
|
PlusCodeNotFoundError,
|
||||||
PlusCodeQuery,
|
PlusCodeQuery,
|
||||||
Query,
|
Query,
|
||||||
|
Result,
|
||||||
ResultType,
|
ResultType,
|
||||||
StringQuery,
|
StringQuery,
|
||||||
SurplusException,
|
SurplusException,
|
||||||
|
|
|
@ -56,7 +56,7 @@ from pluscodes.openlocationcode import ( # type: ignore # isort: skip
|
||||||
|
|
||||||
# constants
|
# constants
|
||||||
|
|
||||||
VERSION: Final[tuple[int, int, int]] = (2, 0, 0)
|
VERSION: Final[tuple[int, int, int]] = (2, 0, 1)
|
||||||
USER_AGENT: Final[str] = "surplus"
|
USER_AGENT: Final[str] = "surplus"
|
||||||
SHAREABLE_TEXT_LINE_0_KEYS: Final[tuple[str, ...]] = (
|
SHAREABLE_TEXT_LINE_0_KEYS: Final[tuple[str, ...]] = (
|
||||||
"emergency",
|
"emergency",
|
||||||
|
|
Loading…
Reference in a new issue