A selection of the week’s best photos from across the continent and beyond:
AFP
Children perform at an after-school club in Nairobi on Saturday, run by ex-professional Kenyan dancer Mike Wamaya.
AFP
On the same day, Gnawa performers in the Moroccan city of Essaouira celebrate the tradition’s newly minted Unesco heritage status…
AFP
It says Gnawa is primarily “a Sufi brotherhood music combined with lyrics with a generally religious content, invoking ancestors and spirits”.
AFP
In central Somalia on the same day, 74-year-old Omar Dule is among those sheltering at a UN camp after losing his home to floods that have hit thousands of people in East Africa.
AFP
On Friday, candidates for the Miss Indoni cultural pageant title wait backstage in Durban, South Africa…
AFP
The annual Indoni Cultural Festival brings together cultural groups from South Africa’s many provinces.
AFP
On Thursday, celebrations begin in Sudan’s capital Khartoum as the country marks one year since the start of protests which led to the ousting of former President Omar al-Bashir after nearly 30 years in power.
AFP
On Friday, families watch kite surfers off the coast of Libya’s capital, Tripoli.
AFP
On the same day in eastern Libya, a man practises parkour among the ruins of the the ancient Greek city of Cyrene.
AFP
At the Rugby World Sevens series in Cape Town on Saturday, a fan sports the South African flag-print swimming trunks that were popularised by player Faf de Klerk after the country’s World Cup win last month.
AFP
Bathers look on as a military plane lands at an airbase in Somalia’s capital, Mogadishu, on Friday.
NurPhoto
This tribute to ancient Egypt is among the ice sculptures on display at a festival in the Netherlands on Saturday.
AFP
On Wednesday, people visit a house decked out in hundreds of Christmas lights in a suburb of Durban, South Africa.
AFP
And visitors to Durban Botanical Gardens walk through its Trail of Lights on the same day.