Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
s+,docs,meta: expose Result and bump version (#27, #28)
Browse files Browse the repository at this point in the history
  • Loading branch information
markjoshwel authored Sep 5, 2023
1 parent 5bc64ed commit bf26afb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ to iOS Shortcuts-like shareable text.

```text
$ surplus 9R3J+R9 Singapore
surplus version 2.0.0
surplus version 2.0.1
Thomson Plaza
301 Upper Thomson Road
Sin Ming, Bishan
Expand Down Expand Up @@ -255,7 +255,7 @@ of incorrect outputs.
```text
$ 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: _match_plus_code: portion_plus_code='8QJF+RP', portion_locality='Singapore'
debug: cli: query=Result(value=LocalCodeQuery(code='8QJF+RP', locality='Singapore'), error=None)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
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."
authors = ["Mark Joshwel <mark@joshwel.co>"]
license = "Unlicense"
Expand Down
1 change: 1 addition & 0 deletions surplus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
PlusCodeNotFoundError,
PlusCodeQuery,
Query,
Result,
ResultType,
StringQuery,
SurplusException,
Expand Down
2 changes: 1 addition & 1 deletion surplus/surplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

# constants

VERSION: Final[tuple[int, int, int]] = (2, 0, 0)
VERSION: Final[tuple[int, int, int]] = (2, 0, 1)
USER_AGENT: Final[str] = "surplus"
SHAREABLE_TEXT_LINE_0_KEYS: Final[tuple[str, ...]] = (
"emergency",
Expand Down

0 comments on commit bf26afb

Please sign in to comment.