Python client for receiving SMS from sms-reg.com.
pip install smsreg_python --upgrade
from smsreg_python.smsreg import SmsReg
from smsreg_python.dataclasses import Services
# Creating SMS-client instance
sms_client = SmsReg()
# Requesting number
sms_client.request_number(Services.INSTAGRAM)
# Receiving number and code
number = sms_client.wait_number_from_transaction()
input('Enter anything after entering number to form')
code = sms_client.wait_code_from_transaction()
You can see other usage example in examples