You can put your bud in a pvc pipe with both ends closed off.

I'd suggest that if you're using a non-metal extraction chamber, check to be sure it's butane grade. Not all plastics are butane-proof and they may leach unwanted stuff into the product. I use standard iron plumbing pipe for my extraction unit. It's heavy, but it will take a lot of internal pressure and it is inert to butane.

One end of pipe needs 1 hole so the butane tip will fit in it.
The other end needs atleast 6-8 holes like a salt shaker so the butane can run out.
You will need a coffee filter inside the pipe on the end of pvc with 6-8holes to filter your extraction.

I drill a single hole in each end cap of my plumbing pipe and solder a piece of copper tubing as a "stub". Then I can put plugs, tubing, or valves on them as needed. Same can be done with plastics, except you need a butane-grade glue instead of solder to seal in the stubs. I use a fine steel wool instead of coffee filters at the bottom. Steel wool doesn't add a taste, won't break, is reusable, and you can just wad it into the bottom before adding the weed. One biscuit of 000 steel wool in the bottom of a 2" dia extraction chamber passes filters virtually all of my coffee-grindered donor weed -- no discernable particles in the finished product.

A .38 shell with the (used) primer installed makes a great plug for 3/8 tubing and hose. A .38 shell with the primer removed is the perfect injection port for the butane. The ignition hole is just smaller than the snout on an 8oz butane can. If you don't own a .38, you ought to!