Some epoxy manufacturers make it pretty easy. For example, West System sells special hand pumps[1] for their resin and hardener, which attach directly to the product's cans and provide the right ratio for you--just use the same number of pumps from each product and you're good. Maybe a lot of manufacturers offer their own ratio pumps--I'm only really familiar with West.
1: https://www.westsystem.com/the-105-system/metering-pumps/300...