A lightweight offline reverse geocoder implemented in Rust.
Project description
RGeocoder: a reverse geocoding module for Python
================================================
[![PyPI version](https://img.shields.io/pypi/v/rgeocoder.svg)](https://pypi.python.org/pypi/rgeocoder)
[![Build Status](https://img.shields.io/travis/Phil-V/rgeocoder.svg)](https://travis-ci.org/Phil-V/rgeocoder)
[![Updates](https://pyup.io/repos/github/Phil-V/rgeocoder/shield.svg)](https://pyup.io/repos/github/Phil-V/rgeocoder/)
A lightweight offline reverse geocoder implemented in Rust with
[pyo3](https://github.com/PyO3/pyo3) python bindings.
Based on [llambda/rust-reverse-geocoder](https://github.com/llambda/rust-reverse-geocoder) and
[thampiman/reverse-geocoder](https://github.com/thampiman/reverse-geocoder).
**Note:** *Still in an early, pre-release state.*
Basic usage
-----------
```sh
pip install rgeocoder
```
```py
>>> from rgeocoder import ReverseGeocoder
>>> rg = ReverseGeocoder()
>>> r = rg.nearest(41.891929,12.511331) # lat, lon
>>> print(r.name, r.cc)
'Rome IT'
>>> print(r.lat, r.lon)
41.89193 12.51133
```
Some locations include the first-
and second-level administrative divisions:
```py
>>> print(r.admin1)
'Latium'
>>> print(r.admin2)
'Citta metropolitana di Roma Capitale'
```
See http://download.geonames.org/export/dump/readme.txt for more
information on the dataset.
License
-------
[MIT License](LICENSE)
Credits
-------
This package was created with
[audreyr/cookiecutter](https://github.com/audreyr/cookiecutter)
and the [mckaymatt/cookiecutter-pypackage-rust-cross-platform-publish](https://github.com/mckaymatt/cookiecutter-pypackage-rust-cross-platform-publish) project template.
=======
History
=======
0.1.2 (2018-05-03)
------------------
* First release on PyPI.
================================================
[![PyPI version](https://img.shields.io/pypi/v/rgeocoder.svg)](https://pypi.python.org/pypi/rgeocoder)
[![Build Status](https://img.shields.io/travis/Phil-V/rgeocoder.svg)](https://travis-ci.org/Phil-V/rgeocoder)
[![Updates](https://pyup.io/repos/github/Phil-V/rgeocoder/shield.svg)](https://pyup.io/repos/github/Phil-V/rgeocoder/)
A lightweight offline reverse geocoder implemented in Rust with
[pyo3](https://github.com/PyO3/pyo3) python bindings.
Based on [llambda/rust-reverse-geocoder](https://github.com/llambda/rust-reverse-geocoder) and
[thampiman/reverse-geocoder](https://github.com/thampiman/reverse-geocoder).
**Note:** *Still in an early, pre-release state.*
Basic usage
-----------
```sh
pip install rgeocoder
```
```py
>>> from rgeocoder import ReverseGeocoder
>>> rg = ReverseGeocoder()
>>> r = rg.nearest(41.891929,12.511331) # lat, lon
>>> print(r.name, r.cc)
'Rome IT'
>>> print(r.lat, r.lon)
41.89193 12.51133
```
Some locations include the first-
and second-level administrative divisions:
```py
>>> print(r.admin1)
'Latium'
>>> print(r.admin2)
'Citta metropolitana di Roma Capitale'
```
See http://download.geonames.org/export/dump/readme.txt for more
information on the dataset.
License
-------
[MIT License](LICENSE)
Credits
-------
This package was created with
[audreyr/cookiecutter](https://github.com/audreyr/cookiecutter)
and the [mckaymatt/cookiecutter-pypackage-rust-cross-platform-publish](https://github.com/mckaymatt/cookiecutter-pypackage-rust-cross-platform-publish) project template.
=======
History
=======
0.1.2 (2018-05-03)
------------------
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for rgeocoder-0.1.2-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a513c1036344568e8799de4a3cb675e4c225a5a15c7d711afa7685a88c81501e |
|
MD5 | 24f970c4d853bdd33ab09745bcdd96cd |
|
BLAKE2b-256 | ecc350f1c1fb659df0e2c70500a878611bbb124e56df15dddaa7369a035be406 |
Close
Hashes for rgeocoder-0.1.2-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a59867ca9172bb4ef756d131eded1273b8f0edc82205dc18b72ab2ea49d67cc |
|
MD5 | 3cf8fd79213ed97a873882f5cce4b48a |
|
BLAKE2b-256 | f4fd0ca300456d5c0166f0e482f6aa2ba5137bb5b158ed54aace596c4972d3f0 |
Close
Hashes for rgeocoder-0.1.2-cp36-cp36m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09662e5a218a5ec4f8d28792fd89846b2aa410c0c610179520f65a53e3e33132 |
|
MD5 | 5c6c5467bfcd7ef64c9e62b1e7ad0470 |
|
BLAKE2b-256 | bdfb2cb8a86cb3b14de1933db20fd490e0b548b3763e5d914c09d8cc41ddd745 |
Close
Hashes for rgeocoder-0.1.2-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b269749853ccf1d4be31409a5740f130de0bacfa6054e8b750ba419ede687c07 |
|
MD5 | b767c254d0ea9f4c7482e07e20a9e221 |
|
BLAKE2b-256 | b6e2e9c44d841b18bbfad4cb99a7e36bf5c3b7e9a5a220daf86282be8b0c90e2 |
Close
Hashes for rgeocoder-0.1.2-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b836fbf318ea917b0484d1d6d7aa824428e2aced6815db7906363412854eadd |
|
MD5 | 7161de322224a0b996d8d2f88aac75e2 |
|
BLAKE2b-256 | 43f577d0719081330fe5206c1978e094819ac02f0da71e09f603b8516851690b |
Close
Hashes for rgeocoder-0.1.2-cp35-cp35m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c11aff8747677d23ef29faff8198617b2557d8ccda29e44cb5ce0ae227473475 |
|
MD5 | d0d7b971e53c0aa59c85120f1f1ffb3e |
|
BLAKE2b-256 | 139d4b20e5e80b22745e2b4332cc7b5ba1f1b1745380e4321faec46492479f06 |
Close
Hashes for rgeocoder-0.1.2-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca3ca6f5170f366d347f7f41d0ac29833ce66bf84364b3954e8ccfcd16a414e |
|
MD5 | 6cb2111d672b0740751133d7737d8783 |
|
BLAKE2b-256 | bbb8abdc745cb055377afa5a1239d08d41ad2a6cec55cb6d0a1d4617a0647f18 |
Close
Hashes for rgeocoder-0.1.2-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a1a11cf4f1be575a9d64ff25b0fbfd5a107e31bff7518ceaa3486384c7eff72 |
|
MD5 | 9eb0b6e84f5f6a6cd8a2f6cac11fdfdb |
|
BLAKE2b-256 | 16f1a6ab9fadec4fdafe4be472e21ff58c4bf6dbe709ef498e8aa82819136ccd |
Close
Hashes for rgeocoder-0.1.2-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5713a521a34613ff938252f0777562a941b0b1ee70c754dfc1082835ef97b4fc |
|
MD5 | 6800faefd966167b4128b639f9f76dc7 |
|
BLAKE2b-256 | 3965e77dc07084b3fd87b2d5e3344dde41476b0d096c73bc96bad54db45ac263 |
Close
Hashes for rgeocoder-0.1.2-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8a1551b1802e47814eae306a5a30403d94f7776255ee98df55cd38111385277 |
|
MD5 | 7918ce2f88f663d1c5e7cfd5765c854a |
|
BLAKE2b-256 | a4c248e60e25351ef8126288f602a3f81c0374bda7dede6bc70e0695395acdcd |
Close
Hashes for rgeocoder-0.1.2-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcd8ef4aeff691fb1197f33618f8b23fb00449af8c55c717f5ad472e0894cd1b |
|
MD5 | c0844d394bcf57b5e06c6ddb89b54e4b |
|
BLAKE2b-256 | 7b20edc0b9e1117c1a616868f7150754dc48a3e34fbdd5367282e54dede45dc9 |