Skip to content

Commit f901a57

Browse files
rowilliaRoy Williams
authored and
Roy Williams
committed
Add stubs for geohash (python#2)
1 parent 44b6360 commit f901a57

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

third_party/2and3/geohash.pyi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Stubs for geohash (Python 3.5)
2+
#
3+
# NOTE: This dynamically typed stub was automatically generated by stubgen.
4+
5+
from typing import Dict, List, Text, Tuple
6+
7+
def encode(latitude: float, longitude: float, precision: int = ...) -> Text: ...
8+
def decode(hashcode: Text, delta: bool = ...) -> Tuple[float, float]: ...
9+
def decode_exactly(hashcode: Text) -> Tuple[float, float]: ...
10+
def bbox(hashcode: Text) -> Dict[Text, float]: ...
11+
def neighbors(hashcode: Text) -> List[Text]: ...
12+
def expand(hashcode: Text) -> List[Text]: ...

0 commit comments

Comments
 (0)