Answer: Trichuris trichiura (whipworm)
As pointed out by Arthur V and the other readers, the shape of the adult worms (narrow anterior end, broad posterior end) and the eggs are characteristic for this roundworm. Note that there is both a female (second image, straight posterior) and a male (image, curved posterior) in this specimen.
Another interesting feature of this case is that we were able to express both immature and mature eggs out of the female worm using blunt manipulation. The differences in maturity are responsible for the slightly different appearances of the eggs (kudos to the readers that pointed this out!) Here are the 2 eggs side-by-side for comparison: