legg, I don't know the thread size or pitch. I have purchased master cylinders from two different sources, and brake lines from a third. Everything fit. One of my master cylinders looks a lot like yours. Only difference is mine is silver in color. They come with either male or banjo fittings on them, ( you need a banjo fitting on your master ). Can't see enough of your caliper to tell, but I 'm sure you can figure it out. Nice thing is, they are very flexible. One of my karts, I couldn't get the exact length I needed so l bought the next size up. Put a couple of extra bends in it to compensate for the slack, zip tied everything down nice and tight, been working well for three years and counting.
Go Power Sports, in the state of Texas sells a good selection of them. I realize that you are not in the States, and maybe your device will hold up for a little bit.
I just wouldn't want to bet my physical health on it, and I doubt that you do either. Sometimes getting them to go fast is the EASY part.