Fast Python Betfair historic data file parser
Project description
Betfair Data
Betfair Data is a fast Betfair historical data file parsing library for python. It currently supports tar archives containing BZ2 compressed NLJSON files.
Installation
pip install betfair_data
Note: requires Python >= 3.6.
Example
import betfair_data
paths = [
"data/HistoricalDataFile1.tar",
"data/HistoricalDataFile2.tar",
]
market_count = 0
update_count = 0
for market in betfair_data.TarBz2(paths):
market_count += 1
while market.update():
update_count += 1
print("Markets {} Updates {}".format(market_count, update_count), end='\r')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
betfair_data-0.1.3.tar.gz
(22.6 kB
view hashes)
Built Distributions
Close
Hashes for betfair_data-0.1.3-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35626686b22c9f4783f0f44c14460eefaddc6e06fc88557e740b3b717a4c770f |
|
MD5 | 294237380105d7187fe1ee04693a7032 |
|
BLAKE2b-256 | 8828f99a14ae7d244ca0eb0e838cb906e26e54cde5e65620cb577a4055ed8a76 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83120643b6c12765d514c48b242afac8d4ee7e5066bbf25b8dd4607726a3a73c |
|
MD5 | 006bc8a21fd728d6c22f353dd4453463 |
|
BLAKE2b-256 | 56005adca4515f281e57e62c414433eb08d786d0f06a9f3e9c6f35baa069399a |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ee33653a83cd49dc041081630c45482443b2bf1b81ea5f614c6a1ea33ecc2c |
|
MD5 | c6cc08ce1eec6cf008a7919021cac42c |
|
BLAKE2b-256 | d94d34a70ed43c91fcdd5f989537f738ff476eb137b655561cafa01f8137e2d0 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e17ab3f330e853b59c240c5c832341c6660d260f5ef6b0b9b772ec4b12e75010 |
|
MD5 | 9b07655b9b24884bd95c34d77264104b |
|
BLAKE2b-256 | 96676bf6fd7c751d1abbd6a25391f8d473ae25332ff5e0a56b07d3a0484a46e9 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7fd29b4c2a1e04d822adbf606ad2214a0a78e5e6ca64799cba10bd6565fb41 |
|
MD5 | 9ccf97b13041ec55b04f4a768b78d4d3 |
|
BLAKE2b-256 | 9b442559443915f5df707232c5f596385754d71fe91ff97ea7d1c264e1788dee |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab499ba767e2dd4e897ce44fe01fc134a92d4c22255e4f3b77a70b4925add74 |
|
MD5 | a99421539e57d04563ab2b0c52ddcb88 |
|
BLAKE2b-256 | ef399eec886528737007b7cb9f9bca0c18567501c5cb4491e495c0adfedc7ee5 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ef30a466f324e41a3b1528f35d087ac2c4b2961be206c19e68f330573bcd79 |
|
MD5 | 5d1a41fca9603bfcf0e3787302fc116f |
|
BLAKE2b-256 | 7b561e4841dbc62807f0531eaf3bc1b9690f8f846ab9d327909ab520799ba28b |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccbaca0fbdd4008fff36677d1555de73f5a00de3200d22ba4ddef32b927a74fe |
|
MD5 | 800f7ea0a8bd3fae5e62fe08c9a62cee |
|
BLAKE2b-256 | 8a65c8138ebe38a675890af3eb31899db3d9350dae57a230330327e645abb549 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a813f8054fc96996bc5372452f5d29b2bf387041e860a371a41099e33a7543b |
|
MD5 | fab15ea6e93bad7ee857c62b4ee72d8f |
|
BLAKE2b-256 | fad8b877bde6a4f1912017663269b00f742bacb710dabd580d3edbff9f85b2e1 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264e750bcb65a6eacff2be1fdd29990b2154bad14d79b0193d28f490becf4347 |
|
MD5 | 182c0d3a7c3ce5cd24ae22335616017d |
|
BLAKE2b-256 | 563039e33dcbbe3d9942e970e1e53b32b612ee26c0631203def9721e0893f7d7 |
Close
Hashes for betfair_data-0.1.3-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336779c54581668d1b25a75b54fbd84d505c6b2098fdf5d63ac69c62a02ebbde |
|
MD5 | f4bc1a1f57a6bb1490f89142d2926f4c |
|
BLAKE2b-256 | 257fe36c69be4478d3ed576e7db7f89a038a9a9126f4e35a68c4e48cb047818a |