API Multiprocessing is a collection of some python and bash scripts that helps to perform API requests using multiprocessing technique.
Genderize names that consist of 2 alphabetic characters.
Result based on
Genderize names example. Tested on Linux machine (i5, 2.50GHz)
- clone this repo:
git clone email@example.com:khaledalam/api-multiprocessing.git
777permissions to all files:
sudo chmod -R 777 api-multiprocessing/
- set the number of lines per file in split command parameter
- after all processes done, merge results by run
to use single process use script in the
single folder by run
python3 ./single/single.py names.txt
You can customize scripts based regarding your tasks!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.