In captivity Anthill pythons can be housed (and bred) in something as smalls as a 5.5 gallon tank. Though reptile specific enclosures are best a simple fish tank may be used. They may be fed mice as part of their regular diet and supplemented wit fuzzy rats. Anything larger is usually a stressor on their system even though they will still try to eat it. Once Anthill pythons get started eating they rarely refuse a meal except for breeding season or during part of their shedding cycle.
After only a about 6 months they still are measured in gram wieght due to their small "pocket" size.