Need a explanation

So I found a carpet python in my garage, didn’t manage to catch it but as I was looking for it I found this sac on the ground, at first glance I thought it was a snake egg but corrected myself so I put it in a container for now. Around a broken sac was 5-7 very small (a inch maybe) red semi transparent worm/snakes with spines, I cut the sac open and a very small what I could assume is a bird was in it.

So my question is can someone complete the story for me, did the snake throw the sacs up, if it’s a egg why is it clear and what were the small red wrigglies cause they didn’t look like snakes but the spines throw me off cheers in advanced

So I found a carpet python in my garage, didn’t manage to catch it but as I was looking for it I found this sac on the ground, at first glance I thought it was a snake egg but corrected myself so I put it in a container for now. Around a broken sac was 5-7 very small (a inch maybe) red semi transparent worm/snakes with spines, I cut the sac open and a very small what I could assume is a bird was in it.

So my question is can someone complete the story for me, did the snake throw the sacs up, if it’s a egg why is it clear and what were the small red wrigglies cause they didn’t look like snakes but the spines throw me off cheers in advanced