in reply to similar module in perl for pika in python

Do you know how to use search engines? A google search shows that pika is a "an AMQP 0-9-1 client library for Python". Does the script connect to RabbitMQ specifically? If so, I'd suggest Net::RabbitMQ which I've had success with, otherwise a search shows other choices such as Net::Async::AMQP that you could try.

sys "provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter". You'd need to look in the script for functions or attributes like sys.foo then read the docs to see what foo does, then find a way to do the same job in Perl. Some likely candidates are sys.argv which is @ARGV in Perl, and sys.exit which is exit in Perl.