Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziptastic/ziptastic-python
Official Ziptastic Python Library
https://github.com/ziptastic/ziptastic-python
forward-geocoding geocoding geographical-information-system geolocation gis lookup postal-code python reverse-geocode reverse-geocoding zipcode zipcodes ziptastic
Last synced: about 1 month ago
JSON representation
Official Ziptastic Python Library
- Host: GitHub
- URL: https://github.com/ziptastic/ziptastic-python
- Owner: Ziptastic
- License: mit
- Created: 2015-10-11T02:03:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-22T21:34:18.000Z (over 1 year ago)
- Last Synced: 2024-11-08T11:56:17.225Z (about 1 month ago)
- Topics: forward-geocoding, geocoding, geographical-information-system, geolocation, gis, lookup, postal-code, python, reverse-geocode, reverse-geocoding, zipcode, zipcodes, ziptastic
- Language: Python
- Homepage: https://www.getziptastic.com
- Size: 32.2 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Official Ziptastic Python Library
=================================Python library for `GetZiptastic.com `_
---------------------------------------------------------------------.. image:: https://readthedocs.org/projects/ziptastic-python/badge/?version=latest
:target: http://ziptastic-python.readthedocs.org/en/latest/?badge=latest.. image:: https://codecov.io/gh/ziptastic/ziptastic-python/branch/master/graph/badge.svg
:target: https://codecov.io/gh/ziptastic/ziptastic-python/branch/master.. image:: https://travis-ci.org/Ziptastic/ziptastic-python.svg?branch=master
:target: https://travis-ci.org/Ziptastic/ziptastic-python.. image:: https://circleci.com/gh/Ziptastic/ziptastic-python.png
:target: https://circleci.com/gh/Ziptastic/ziptastic-pythonInstallation
------------>>> pip install ziptastic-python
Running tests
-------------$ nosetests
Running tests with coverage
---------------------------$ nosetests --with-coverage --cover-package=ziptastic
Usage
=====Forward geocoding
----------------->>> from ziptastic import Ziptastic
>>> api = Ziptastic('')
>>> result = api.get_from_postal_code('48867')Reverse geocoding
----------------->>> from ziptastic import Ziptastic
>>> api = Ziptastic('')
>>> result = api.get_from_coordinates('42.9934', '-84.1595')