o
    f                     @   s&   d dl Z d dlZe d dd ZdS )    Nzhttps://xkcd.com/353/c                 C   s`   t j|dd }dd |dd |dd fD \}}td| |d	d ||d	d f  dS )
zCompute geohash() using the Munroe algorithm.

    >>> geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
    37.857713 -122.544543

    F)usedforsecurityc                 S   s   g | ]}d t d|  qS )z%fz0.)floatfromhex).0x r   "/usr/lib/python3.10/antigravity.py
<listcomp>   s    zgeohash.<locals>.<listcomp>N       z	%d%s %d%s   )hashlibmd5	hexdigestprint)latitude	longitudedatedowhpqr   r   r   geohash   s   &(r   )
webbrowserr   openr   r   r   r   r   <module>   s   
