This repository contains Python scripts for converting Airtel and Tata rate tables into a standardized format for use with Telecomsxchange.com's platform.
convert_airtel.py
: Python script to convert Airtel's voice rate tableconvert_tata.py
: Python script to convert Tata's voice rate table
To use these scripts, follow these steps:
-
Place the rate table file (in Excel format) in the same directory as the script.
-
Run the Python script.
python convert_airtel.py
python convert_tata.py
- The script will generate a CSV file with the converted rate table. The name of the output file will include the name of the carrier and a timestamp.
The scripts provide logging functionality. They log both to the console and to a log file named airtel_log.log
or tata_log.log
.
Contributions to improve these scripts are welcome. Please feel free to fork this repository, make changes, and submit a pull request.
These scripts were created by Ameed Jamous for Telecomsxchange.com.
These scripts are provided as-is under the MIT license. See LICENSE
for more information.