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

Indices and tables