Coder Social home page Coder Social logo

mbto / maxmind-geoip2-csv2sql-converter Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 3.0 125.53 MB

Tool for convertering MaxMind GeoLite2 CSV to SQL

License: The Unlicense

Kotlin 0.76% Java 99.24%
maxmind maxmind-geoip geolite2 geoip geoip2 geolite2-country geolite2-city geolite2-database csv-converter maxmind-country

maxmind-geoip2-csv2sql-converter's Introduction

Features:

  • Downloads latest archive GeoLite2-(Country|City)-CSV_%Date%.zip using MaxMind API https://www.maxmind.com/ by free license key
  • Converts files GeoLite2-(Country|City)-Locations-%LocaleCode%.csv, GeoLite2-(Country|City)-Blocks-(IPv4|IPv6).csv to SQL DDL/DML
  • Builds archive maxmind-geoip2-csv2sql.zip with scripts splitted per N megabytes, using template engine (Example: If MySQL server max_allowed_packet parameter is too small - 64 MB by default)
  • Appends emoji country flags ๐Ÿ‡ฆ๐Ÿ‡ฉ ๐Ÿ‡ฆ๐Ÿ‡ช ๐Ÿ‡ฆ๐Ÿ‡ซ ๐Ÿ‡ฆ๐Ÿ‡ฌ ๐Ÿ‡ฆ๐Ÿ‡ฎ ๐Ÿ‡ฆ๐Ÿ‡ฑ ๐Ÿ‡ฆ๐Ÿ‡ฒ ๐Ÿ‡ฆ๐Ÿ‡ด ๐Ÿ‡ฆ๐Ÿ‡ถ ๐Ÿ‡ฆ๐Ÿ‡ท ๐Ÿ‡ฆ๐Ÿ‡ธ ๐Ÿ‡ฆ๐Ÿ‡น ๐Ÿ‡ฆ๐Ÿ‡บ ๐Ÿ‡ฆ๐Ÿ‡ผ ๐Ÿ‡ฆ๐Ÿ‡ฝ ๐Ÿ‡ฆ๐Ÿ‡ฟ ๐Ÿ‡ง๐Ÿ‡ฆ ๐Ÿ‡ง๐Ÿ‡ง ๐Ÿ‡ง๐Ÿ‡ฉ ๐Ÿ‡ง๐Ÿ‡ช ๐Ÿ‡ง๐Ÿ‡ซ ๐Ÿ‡ง๐Ÿ‡ฌ ๐Ÿ‡ง๐Ÿ‡ญ ๐Ÿ‡ง๐Ÿ‡ฎ ๐Ÿ‡ง๐Ÿ‡ฏ ๐Ÿ‡ง๐Ÿ‡ฑ ๐Ÿ‡ง๐Ÿ‡ฒ ๐Ÿ‡ง๐Ÿ‡ณ ๐Ÿ‡ง๐Ÿ‡ด ๐Ÿ‡ง๐Ÿ‡ถ ๐Ÿ‡ง๐Ÿ‡ท ๐Ÿ‡ง๐Ÿ‡ธ ๐Ÿ‡ง๐Ÿ‡น ๐Ÿ‡ง๐Ÿ‡ป ๐Ÿ‡ง๐Ÿ‡ผ ๐Ÿ‡ง๐Ÿ‡พ...
  • Supports MaxMind edition IDs: GeoLite2-Country-CSV, GeoLite2-City-CSV; IPv4, IPv6; Locations locale codes: en, ru, de, es, fr, ja, pt-BR, zh-CN
  • Provides template-ready configuration files for MySQL 8/PostgreSQL 13/Microsoft SQL Server 2019 and template engine with simple syntax for build DDL/DML. For custom DBMS, you can write a template yourself.
  • Win/Unix distribution

Requirements:

Examples:

Downloads:

Usage:

Compile & Build:

  • Requirements:
    • Gradle 5.4+
  • With tests:
    • gradlew.bat build
  • Without tests:
    • gradlew.bat build -x test

maxmind-geoip2-csv2sql-converter's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.