By buying from Digikey or Mouser...
You're welcome to create a parts receiving and inspection program, but you will quickly find you are wasting hundreds of thousands of dollars to save a thousand here and there.
There is good reason why reputable sellers are more expensive yet are in no danger of dying out!
And if you mean not even corporate, but for your own own few euros of projects? Give me a break, you've wasted as much value in your own time as you could ever stand to save from those sources.
The economic choice is simple: find a second job to fill your time, so instead of asking questions you can afford real parts, to use in, uh, what little free time you have left.
Tim