You asked
Is the tamron 20mm f 2 8 di iii osd m1 2 good for astrophotography?
The guide doesn't cover astrophotography, so it can't say whether this lens is good for it. What it does give is the Tamron 20mm f/2.8 Di III OSD M1:2's specs: a small, inexpensive full-frame prime for Sony E mounts, with autofocus and no stabilisation. The f/2.8 aperture lets in more light than slower lenses, and the lenses guide explains that a wider aperture gives faster shutter speeds in dim light. For night sky work, the guide's general advice is that a fast lens and a larger sensor matter more than stabilisation, which steadies the camera rather than the subject.
The lens fits full-frame and APS-C Sony E bodies. On full frame it frames as a true 20mm, which is a wide view. On APS-C it frames like 30mm and gives the depth of field of about f/4.2. A full-frame body is the better match for dim scenes, so the guide would start with the Sony a7 III or the Sony a7 IV. Both are on the lens's list of compatible cameras, and the Sony a7R IV is another option if you want more resolution.
For the full picture, read the lens page and check its specs against what you plan to shoot.
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}.