This service processes phone numbers from CSV files by integrating C++ and Python.
- C++ Module: Uses pybind11 to compile high-performance phone number processing logic.
- Python Integration: Reads a CSV file, applies the processing from the C++ module, and writes the results to a text file.
- Shell Script: Automates compilation of the C++ module and executes the Python processing script.
- Efficient Processing: Leverages C++ for performance-critical operations.
- Simple Integration: Uses pybind11 for a seamless interface between C++ and Python.
- Easy Deployment: Shell script (
run.sh) compiles code and runs the entire workflow.
-
Ensure Python3, g++, and pybind11 are installed.
-
Run the service using the shell script:
./run.sh
-
Processed phone numbers are saved in
processed_phone_numbers.txt.
- phone_processor.cpp: C++ code that processes phone numbers.
- process_csv.py: Python script that reads, processes, and saves phone numbers.
- run.sh: Shell script to compile and run the project.
- .gitignore: Configuration to ignore unwanted or generated files.
This project is designed for Linux-based environments.