Skip to content

Parser for creating a CSV file with MCC and MNC information of mobile networks from wikipedia

License

Notifications You must be signed in to change notification settings

romankh/mcc-mnc-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MCC-MNC-Parser

This is a parser which creates a CSV file containing the information about the MCC and MNC as provided by the Wikipedia page at https://en.wikipedia.org/wiki/Mobile_country_code.

The parser was inspired by https://github.com/pbakondy/mcc-mnc-list, but was rewritten in python.

Installation and Usage

The script itself doesn't need to be installed at all. However the following python packages have to be installed on the machine:

  • argparse
  • argcomplete
  • beautifulsoup4

Usage:

# show help
./parse-mcc.py -h

# create the csv
./parse-mcc.py -o /some/where/mcc-mnc-list.csv

# create the csv with a header
./parse-mcc.py -o /some/where/mcc-mnc-list.csv --csv-header

About

Parser for creating a CSV file with MCC and MNC information of mobile networks from wikipedia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages