horsetalk
For horse racing enthusiasts, a series of classes and functions to help you parse and structure horse racing data. Most of the classes are parsers which automatically take a string and create an object out of it.
For example, with the current year being 2024…
>>> from horsetalk import Horse
>>> h = Horse("Dobbin (GB) 3")
>>> h.name
'Dobbin'
>>> h.country
'GB'
>>> h.age
3
>>> h.year_of_birth
2021
For more information, see API
- Home
- API
AgeCategory
AgeRestriction
AWGoingDescription
Breed
CoatColour
DirtGoingDescription
Disaster
Draw
FinishingPosition
FormBreak
FormFigures
Gender
GoingDescription
Going
Handedness
Headgear
HorseAge
HorseExperienceLevel
HorseHeight
Horse
Horselength
JockeyExperienceLevel
JumpCategory
ObstacleStyle
Outcome
RaceClass
RaceConditions
RaceDesignation
RaceDistance
RaceGrade
RaceLevel
RacePerformance
RaceTitle
RaceWeight
RacecourseContour
RacecourseShape
RacecourseStyle
Racecourse
RacingCode
Sex
Silks
StallsPosition
Surface
TurfGoingDescription