This is a 8x2 magnet dispenser. There is a cavity at the one end where you can glue in a magnet, this holds the magnets in place and pulls down the next magnet. Print 2 of these of different colors and glue opposite polarity magnets in the bottom and you have opposite polarity magnet dispensers.
Use with my magnet applicator to easily press the magnets into your build.
https://makerworld.com/en/models/165335#profileId-181555
Additional magnet sizes have been added
8x2
6x2
5x2
8x3
6x3
5x3
The print profile uses PLA, but I do suggest using PETG, it has more flexibility.