Choose your number, and enter it. Primitive Pythagorean triplets are like the prime numbers of Pythagorean triplets. If you multiply the right Primitive Pythagorean Triplet by any integer,like so: (3,4,5) times 6= (18,24,30), you can get any Pythagorean triplet. I generate only primitives because of the 200000 item limit for lists. The code for non primitives is inside, and you can just put it into the main script and it will generate until you hit 200000 different triplets or it gets them all. Going higher than 80000400001 will result in an unfinished list.
warning, there are some primitive triples this does not find like 8,15,17. At some point I will try to fix this.