You asked
7artisans af 40mm f 2 5 vs sony fe 40mm f 2 5 g?
The two lenses are close to identical on paper. Both are 40mm primes with a maximum aperture of f/2.5, both are full frame, both autofocus, and neither is stabilised. On a full-frame body they frame and blur the background the same way. On APS-C they both behave like a 60mm with the depth of field of about f/3.8.
The difference is mounts. The Sony FE 40mm f/2.5 G fits only Sony E bodies, and the guide describes it as tiny and sharp, a lovely everyday lens on the compact bodies. The 7Artisans AF 40mm f/2.5 also fits Nikon Z and L-Mount, so it's the better choice if you use or may move to one of those systems. Its catalogue page doesn't include a sharpness verdict, so the guide can't say how the two compare optically.
If you already shoot Sony E, the Sony lens is the simpler pick. If you're choosing a body as well, the 7Artisans gives you more freedom. Neither lens helps much in dim light or with moving subjects. Its f/2.5 is not fast, and without stabilisation it won't steady the camera either. For that you'd need a faster lens and a larger sensor.
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}.