The county fair — where a week’s worth of calories can be found fried, grilled and dried. It’s where amusement rides flip, twist, drop and swing brave young souls through the air, and where piglets named Harry Porker and Voldepork race toward victory.

The Alameda County Fair has returned to Pleasanton and will remain open through July 6 with new attractions that recognize the area’s diversity, food and agriculture.

“It’s been around 113 years since this started out as an agriculture fair,” Alameda County Fair spokesperson Kim Bardakian said. “It has now, over a century later, grown into much more than that — but it still has its roots.”

The newest addition to the fair, the Safeway Barn, is a memorial to the county’s agricultural past. The newly unveiled barn stables showcase “baa-rilliant” floppy-eared Boer goats, sheep and lambs, and a family of pigs. Opposite the barn is a horseshoe-shaped track set up for piglet racing throughout the day.

Don’t blink when 2-month-old piglets — such as the aforementioned Harry Potter namesakes, as well as Luke Skyporker, Strawberry and Bob — fly over hurdles around the track.

The fair also boasts a panoply of food mixing ingredients in interesting and strange ways. From the chewy, spicy Cajun octopus on a stick to the cultural melting pot of a cheeseburger egg roll and the artery-hardening deep-fried Twinkie with peanut butter and bacon, the options are unlimited — and not always for the faint of heart.

“What also makes the fair fun is the crazy, out-of-the-box-thinking creative food items,” Bardakian said. “At the fair, anything on a stick sounds better — or deep- fried.”

The fair’s music schedule is heavily stacked with Bay Area artists old and new. The opening weekend featured WAR on June 13, the hip-hop group Gym Class Heroes on June 14 and the swinging southern R&B of the Gap Band on June 15.

Other high-profile acts include rock band Sugar Ray today and the rap legend Too $hort on Wednesday.

“The lineup literally has something for everyone,” Bardakian said. “It’s just a total and complete celebration of Alameda County in all its diversity … That’s what we love about the fair.”