Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Effective Location Storage via a Maidenhead Locator System For Python

Project Description

# mlocs - sensible location storage… # # mlocs provides a simple, yet effective location hashing algorithm. # it’s not super precise (> 750m.) but it provides perfect results. # # There are 5 levels available. # Lvl 1 : World Scope # Lvl 2 : Region Scope # Lvl 3 : Metro Scope # Lvl 4 : City Scope # Lvl 5 : I See You # # toMaiden([lat, lon], level) returns a char (len = lvl*2) # toLoc(mloc) takes any string and returns topleft [lat,lon] within mloc

Github repository :

Version 1.0.4 :

Just prepped for github too. No other changes….

Addedd genNonSense(loc) for other map :) Version 1.0.3 : =============== Addedd genNonSense(loc) for other map :)

Version 1.0.2 :

Added genGooleMap() for generating static google-map images out of MLOCS :)
–> for large scale (>25k req/day) these must be cached somehow….

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.1 kB) Copy SHA256 Hash SHA256
Dumb Binary any Mar 28, 2014
(2.1 kB) Copy SHA256 Hash SHA256
Source None Mar 28, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting