An open API service indexing awesome lists of open source software.

https://github.com/petehouston/geonames-db

Create your own geo database.
https://github.com/petehouston/geonames-db

geolocation mysql pandas python python3 sqlalchemy zipcode

Last synced: 3 months ago
JSON representation

Create your own geo database.

Awesome Lists containing this project

README

          

# Build your own geo databases

Geo source from http://download.geonames.org/export/zip/

## Installation

```bash
$ pip install wget
$ pip install pandas
$ pip install mysql-connector-python
$ pip install sqlalchemy
```

## Usage

To download geo source file:

```bash
$ python downloader.py
```

To put into MySQL/MariaDB:

```bash
$ python main.py
```