A selection of the week’s best photos from across the African continent and beyond:
Kenyan ballet pupils rehearse before a show in Nairobi’s Kibera neighbourhood on Wednesday. [GORDWIN ODHIAMBO / AFP]
On Friday an artist paints a mural of Olympic champion boxer Imane Khelif in her hometown of Tiaret, in south-western Algeria. [BILLEL BENSALEM / GETTY IMAGES]
On the same day at the Olympic Games in Paris, Julia Vincent represents South Africa in the women’s three-metre springboard diving final. [OLI SCARFF / AFP]
The next day in Pretoria, former Miss South Africa Ndavi Nokeri takes to the red carpet ahead of this year’s event… [OUPA BOPAPRE / GETTY IMAGES]
Mia le Roux was crowned the eventual winner of the competition after a controversial few weeks in which one contestant withdrew following a public backlash over her Nigerian roots. [FRENNIE SHIVAMBU / GETTY IMAGES]
On Monday a Simb performer wears face paint and a costume in Senegal’s capital, Dakar… [ RICCI SHRYOCK / AFP ]
The group stages events throughout the year, including wrestling matches and on Independence Day. [RICCI SHRYOCK / AFP ]
A worshipper brings offerings in a calabash to the Osun-Osogbo Sacred Grove in Osogbo, south-western Nigeria, on Friday… [AKINTUNDE AKINLEYE / REUTERS]
The yearly Osun festival attracts devotees from far and wide. [AKINTUNDE AKINLEYE / REUTERS]
The next day in South Africa near Johannesburg, a cosplayer takes part in a medieval fantasy fair. [ EMMANUEL CROSET / AFP]
Huge crowds greet Letsile Tebogo on Tuesday in Gaborone after the Botswana sprinter is crowned the world’s fastest man over 200m at the Olympic Games. [ MONIRUL BHUIYAN / AFP]
As peace talks begin on Wednesday, Sudanese protestors in Switzerland call for an end to the civil war in their home country. [SALVATORE DI NOLFI/EPA]
Workers harvest delicate jasmine petals near the Nile delta in Egypt on Sunday. [AHMED GAMAL / GETTY IMAGES]
And in the same country days later, a man plays with a laser as people look to the night sky for a view of the Milky Way. [AHMED MOSAAD / GETTY IMAGES]
From the BBC in Africa this week:
[Getty Images/BBC]
Go to BBCAfrica.com for more news from the African continent.