If you want to build the assembly in the photos above, the KiCAD files are attached.
The mounting hardware is uhh...a little exotic? If I had a 3D printer, I'd probably just print a holder instead of purchasing 6 different pieces of hardware below.. There is an STL file available for the plastic holder shown in the this blog post.
https://electronicprojectsforfun.wordpress.com/injection-transformers/ Even if you don't have a 3D printer, you could probably order it from Xometry (or some other service) for less than the cost of all the hardware I list below, just because you have to buy 10 or 25pcs of each from McMaster. Home Depot carries a few of the parts, but is similarly expensive.
Nonetheless, if you want a reasonably robust solution with no 3D printing here's what you need. (McMaster Carr part numbers listed.) Obviously feel free to substitute whatever is available to you, metric sizes, etc.
Brass pan head Phillips screw (1/4"-20 Thread Size, 1-1/4" Long) / McMC:94070A544
Brass extra-wide thin hex nut (1/4"-20 Thread Size) / McMC:92683A029
Bronze external-tooth lock washer (for 1/4" Screw Size 0.51" OD) / McMC:92164A029
Nylon unthreaded spacer (5/8" OD, 9/16" Long, for 1/4" Screw) / McMC: 94639A753
Brass washer (Oversized, 1/4" Screw Size, 0.75" OD) / McMC: 92916A380
Rubber cushioning washer (for 1/4" Screw Size, 0.25" ID, 1" OD) / McMC: 90131A305
For the winding wire, I used regular enamel wire for the primary and TIW for the secondary, just because it was available to me. TIW is pretty much unnecessary as you really just need functional isolation. Nonetheless, I like the contrast between the two windings. It's easier to keep track of when twisting beforehand.
For the AC coupling / DC blocking caps, I used pretty overkill 47nF/450V NP0 caps (TDK CKG45KC0G2W473J290JH). Since I sometimes work with PFC circuits, I selected 450Vdc just in case, by some stroke of luck, the injector became connected to the HV DC rail. In this case, the caps should prevent obliteration of the scope and/or PC by connection of 400V to the front-end. They do not, of course, prevent other issues related to probing the primary side of an offline power supply. (i.e. power the DUT through an isolation transformer.) If you do not plan to work on such applications, you can use smaller caps with sufficiently high voltage rating to block the nominal DC output voltage of the converter you are working on.
Generally speaking, NP0 is probably not strictly necessary. The distortion introduced by X7R is probably not that much at low voltages, but nonetheless, I used NP0 for good measure.