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.
- Host: GitHub
- URL: https://github.com/petehouston/geonames-db
- Owner: petehouston
- Created: 2019-03-20T09:46:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-20T09:53:28.000Z (about 7 years ago)
- Last Synced: 2025-05-30T16:17:41.574Z (about 1 year ago)
- Topics: geolocation, mysql, pandas, python, python3, sqlalchemy, zipcode
- Language: Python
- Size: 604 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```