23 x 15 x 16 for a hatchling ball python is pretty big. I'd say it could live comfortably in there until its in the realm of 700g. A male might not even get much bigger than 700g.
Why is your humidity bad in your tub? Did you poke holes in the lid or put too many holes? You should have no humidity problems in a tub.