The present disclosure provides various pumps and compressors for energizing fluids. In accordance with a preferred embodiment, pumps are provided for compressing hydrogen gas produced by electrolysis at a first location. The pump includes a bore with a piston disposed in the bore, and a magnetic drive external to the bore. The piston is moved through the bore to compress the fluid using permanent magnets or electromagnets. Using the disclosed embodiments, hydrogen compressed at a first location can be directed to a second location, such as a power plant or a fueling station.