seppemans / pyzipcode Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fdintino/pyzipcode
Fork of pyzipcode with a fresh zip code database
This project forked from fdintino/pyzipcode
Fork of pyzipcode with a fresh zip code database
Introduction ============ This package will allow you to get zip code information. The data used in this package is retrieved from http://download.geonames.org/export/zip/ pyzipcode uses a local sqlite database to run. You can replace it with your own other storage mechanism with a little effort. Here is some basic usage.. >>> from pyzipcode import ZipCodeDatabase >>> zcdb = ZipCodeDatabase() >>> zipcode = zcdb[54115] >>> zipcode.zip u'54115' >>> zipcode.city u'De Pere' >>> zipcode.state u'WI' >>> zipcode.longitude -88.078959999999995 >>> zipcode.latitude 44.42042 >>> zipcode.timezone -6 Search zip codes... >>> from pyzipcode import ZipCodeDatabase >>> zcdb = ZipCodeDatabase() >>> len(zcdb.find_zip(city="Oshkosh")) 7 Get a list of zipcodes around a radius of a zipcode >>> from pyzipcode import ZipCodeDatabase >>> zcdb = ZipCodeDatabase() >>> [z.zip for z in zcdb.get_zipcodes_around_radius('54901', 10)] [u'54901', u'54902', u'54903', u'54904', u'54906', u'54927', u'54952', u'54956', u'54957', u'54979', u'54985']
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.