You asked

Is the panasonic leica dg 12mm f 1 4 good for astrophotography?

The guide doesn't cover astrophotography, so it can't say how the Panasonic Leica DG 12mm f/1.4 performs on stars or the Milky Way. What it does show is the spec that matters most for dim scenes. The lens is a fast prime, and the guide's rule for low light is that aperture and sensor size matter more than stabilisation. On Micro Four Thirds it frames like 24mm on full frame, a wide view that suits a large patch of sky. It isn't stabilised, but stabilisation steadies the camera rather than the stars, and for night sky shots a tripod usually matters more.

The lens fits many Micro Four Thirds bodies. Three from its list are a sensible place to start:

The guide doesn't say how any of these handle high-ISO night shots, so check their individual pages before choosing.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.