Parallel Script Execution using Appium

I have got an appium automation script. Now I a want to run this script across 2 Andriod devices that are being plugged into the same.

Can you kindly suggest the code to do this please.

You can take a look at
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwifjZeJiprMAhXBGqYKHdB3AzwQtwIIIDAB&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DDr5p35bH1QQ&usg=AFQjCNEe4Be8UPNMHeWfxKKGKv_WrAcrfg&sig2=BFY43vUrNe-HKDeBv-tb3w&bvm=bv.119745492,d.dGY

and

you can use below framework developed by @saikrishna321 https://github.com/saikrishna321/AppiumTestDistribution
Which work with Android and IOS devices parallel.