As South Africa’s government struggles to provide sufficient electricity, public transport and other basic services, the country’s main tourist hub is increasingly going it alone.

Cape Town, which has been led by the opposition Democratic Alliance since 2006, is forging ahead with plans to secure its own energy supply. It’s also investigating the feasibility of taking over the city’s commuter rail network — currently operated by a State-owned company — and playing a role in getting the harbor to run more efficiently. And it’s hired more than 1 000 of its own security officers to complement the work of the police force, which it accuses of doing a dismal job of fighting gang violence and other crime.