A rotary piston machine includes a driving part driven by an electric motor, and a driven part that have mutually engaging end-face denticulation for delivering a medium, the driving part and the driven part being housed in a machine housing and connected to the machine housing via respective bottom bearings of the driving/driven parts, creating a unit.