No project description provided
Project description
pyxrk
Python package for reading .xrk files. The Run class can be used to turn .xrk data files into pyarrow Tables.
Install pyxrk using pip:
$ pip install pyxrk
To load an .xrk file into a pyarrow Table:
>>> from pyxrk import Run
>>> run = Run.load("./my_run.xrk")
>>> run.racer
'Lewis Hamilton'
>>> run.to_table() # pyarrow.Table instance
>>> # Or for specific laps
>>> run.get_lap(1).to_table()
Channel unit information can be found in the arrow table metadata.
The pyxrk_raw submodule wraps much of the functionality from the rust library xdrk while adding some convenience methods.
To use the raw submodule for reading .xrk files:
>>> from pyxrk import pyxrk_raw
>>> run = pyxrk_raw.load_run("./my_run.xrk")
>>> run.lap_count
7
>>> run.racer
'Lewis Hamilton'
>>> channel = run.get_channel("GPS Speed")
>>> channel.unit
'm/s'
>>> channel.frequency # in Hz
100.0
>>> for data in channel.data():
... print(data) # tuple of (time offset, data point)
... break
...
(0.0, 0.1846618503332138)
In lieau of better API documentation, see pyxrk_raw.pyi for full interface and tests for more example usage.
Compatibility
Currently known to work on Linux and Windows, but not Mac. Contributions for getting it working on Mac are more than welcome.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyxrk-0.0.2.tar.gz.
File metadata
- Download URL: pyxrk-0.0.2.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d40b4c10220a06fd23d4ed8dfcb47d72b408d5da12222b5ac5964b3bb45efe9
|
|
| MD5 |
5396aaaeb30d713836eecab653c38ee6
|
|
| BLAKE2b-256 |
2fc8e8d1c3a0842ae1a840db437cb1aaae342e766522a69ac981405af9e67f59
|
File details
Details for the file pyxrk-0.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa21aa9efb712c95f8d6737261feebab8a0fa4d6cc9b30d29c09b8900002455a
|
|
| MD5 |
76829b92b9b46dc3baeda6a58ea13d93
|
|
| BLAKE2b-256 |
aaa316a9b4f1f33d68852aff5cfe5dfd47f995ee6a37ea2c04ebf049bcf57cf8
|
File details
Details for the file pyxrk-0.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
115e33d0a3e20eebaa4b5c2517b954ae9dca6ad6cc5a5de0842b5c2e1e37cc50
|
|
| MD5 |
5bd19313d93711648e3c23f4eb8c487a
|
|
| BLAKE2b-256 |
1279d8b2d1dacc2f73830f8e2007ec320349d7ce015640c3630ac89a997e0163
|
File details
Details for the file pyxrk-0.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e55ad8d2128a52f93a98669a0db8c645ccf031e96f11f242878b7c3d91fd89
|
|
| MD5 |
9166fdf81da43a25b6abb3279acceaef
|
|
| BLAKE2b-256 |
977a5701b4f44ff55aaee064ae7b44a6d95c8beb9b0ed762b740d40dd28b3620
|
File details
Details for the file pyxrk-0.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b29d82dd6bf1df19e20c271dc301bf81831117c1377ac239d6464d1747ab056b
|
|
| MD5 |
ebb511d7881c2d4002bfb3747792f4e6
|
|
| BLAKE2b-256 |
8826051e17f5c196095f5e605ef671f530f001e60b60d490b0404f009068d491
|
File details
Details for the file pyxrk-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1f866fdb3a0a813a97e1d9f03354a6038867241463eee91e7ac962e157b7dec
|
|
| MD5 |
badd0b9cac06c170f834c2f093c09f0e
|
|
| BLAKE2b-256 |
7a7753d13977694fa368985d5d5065b014f45858233f650930278d903a418b60
|
File details
Details for the file pyxrk-0.0.2-cp311-none-win_amd64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp311-none-win_amd64.whl
- Upload date:
- Size: 270.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a97f38e685e67109b6bd5307ce538b11c542d8830ef8ede24f527d0a224bf59
|
|
| MD5 |
843c32beeafd6e1dd386f615da4eaa0f
|
|
| BLAKE2b-256 |
6d46357000ddf338055690cc8a7a7eab14d2f51b0122b305c14fc0d318c8ddc9
|
File details
Details for the file pyxrk-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4772d9629a4f51702360eb31e8fec4ab446b28e86bd1eebbdadacd4018a3a95e
|
|
| MD5 |
2ed1f09c64fa80c9adfe4f943393fafd
|
|
| BLAKE2b-256 |
3c74469bfa2dbad3a45f7fd5e920e5d85721c42e1ee0a61875cad816497f348b
|
File details
Details for the file pyxrk-0.0.2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 413.4 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c46523e8922687855e746e3f9e4a0da79d7761574b154a506b503482396916a
|
|
| MD5 |
338532f286a4932bcc93fd5500993355
|
|
| BLAKE2b-256 |
80899b080f838e2877186e55386852d20d1a325d9f5c87b60c2fbb0f0c1035c9
|
File details
Details for the file pyxrk-0.0.2-cp311-cp311-macosx_10_7_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp311-cp311-macosx_10_7_x86_64.whl
- Upload date:
- Size: 424.8 kB
- Tags: CPython 3.11, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
676d570c5b7a3035348768c4e36b18ec657e5f233302f8c5ec2ef1c0a077c4e8
|
|
| MD5 |
f8c31de22fbd1d544608ec729ec522a5
|
|
| BLAKE2b-256 |
e540f96587e14c19323d368d4cb911fcd09551e30b4f98f2c89c547317a20838
|
File details
Details for the file pyxrk-0.0.2-cp310-none-win_amd64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp310-none-win_amd64.whl
- Upload date:
- Size: 270.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb714b04ed9d35d4fda29b1db29104016667dbeebdc42d1960e3557890f6c8e
|
|
| MD5 |
91f1d459fc57f19a96c38e0e97368507
|
|
| BLAKE2b-256 |
0710fe01f7c6cce055229f8a7f981de8d810b3e57fb07e63786864e709a94323
|
File details
Details for the file pyxrk-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b4181fadde5fdb2c8faea52ec1adfd435522b92cd250357d71e6a806b303609
|
|
| MD5 |
100d6c520ad67ac9a2e2f392c62c7059
|
|
| BLAKE2b-256 |
167242816cb505aaa4b49dbbc6330b704a68eeb79c65e7f0e266131ae4c6213e
|
File details
Details for the file pyxrk-0.0.2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 413.4 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42d4c045d0fb7ee013976dabf264bb88edccd0ffbe78c670d66ef8deb7b2b551
|
|
| MD5 |
dd50b87a53c8fcfae9bb873767ea744f
|
|
| BLAKE2b-256 |
171ae00ca2ce8131051c8086d9b4e380286cf56116548c39e1cbe8852141b308
|
File details
Details for the file pyxrk-0.0.2-cp310-cp310-macosx_10_7_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 424.8 kB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f475d701fd349da6b4e120280e9de2d79f7414677379f58274c9486437923c52
|
|
| MD5 |
96959aead76fcf40e865ee4dc6352748
|
|
| BLAKE2b-256 |
bb28072e26579e8f4451b620fa013851a0528039925348de4654bcd2e849a16e
|
File details
Details for the file pyxrk-0.0.2-cp39-none-win_amd64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp39-none-win_amd64.whl
- Upload date:
- Size: 271.2 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4482d3550a430d0938d72c6227d1e65824a6e2b502ccc4b3f70df332ad80a3d
|
|
| MD5 |
7ed01809fb42a587650ced7f2305f1c3
|
|
| BLAKE2b-256 |
1b360cc25f5b0f2484de89dd275371a597b7719799e4fdd95a98f849430b577b
|
File details
Details for the file pyxrk-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47fdf4ee649db3e00667d729eb8a61f7cc11065f796399f67bbba289cf72f220
|
|
| MD5 |
1bf257ca6dc8fb41c2f2b0f11eea4692
|
|
| BLAKE2b-256 |
b32085e607239456094d7e94dcee84877e60121dc3a7893f89a3c529017d92f2
|
File details
Details for the file pyxrk-0.0.2-cp38-none-win_amd64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp38-none-win_amd64.whl
- Upload date:
- Size: 270.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e4838597069761bbcd96988d0f4b3d92de33f9240494b9ece8f9c24d4f674d
|
|
| MD5 |
b397647a54419876c9add06f78ff5725
|
|
| BLAKE2b-256 |
d04e4524648f28f20e17444be22668ebe8bf9ee97dac64eb05862c0b9a90a42c
|
File details
Details for the file pyxrk-0.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcb36098ca65cc6b9d7d4773dbc7937f775f033990d438a58bf6d6328d24063d
|
|
| MD5 |
9a285a12243049702f784eb75abe18cf
|
|
| BLAKE2b-256 |
a3ccfbdd617fbb47768d075a31e3bfe931cd6b4d77eba7eb0bbbaa5e127ea952
|
File details
Details for the file pyxrk-0.0.2-cp37-none-win_amd64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp37-none-win_amd64.whl
- Upload date:
- Size: 270.6 kB
- Tags: CPython 3.7, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf24d38a3c3158bc9138d2a26b273c1cc9c2044877af3407b9ac2db2e4947024
|
|
| MD5 |
40f1db421fb77662d84f1defe35c43ce
|
|
| BLAKE2b-256 |
f6cb5641743e54f0116e216b993cf1051244de2ac6c59ecde15ae7c31efd6a86
|
File details
Details for the file pyxrk-0.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyxrk-0.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24fbaea2d394e5d6d5aa08e716718bc1658ca74cfea4932c97f599c15d8ffeb6
|
|
| MD5 |
6f62f7cbe838e436c618dd42d62fc1da
|
|
| BLAKE2b-256 |
ae5cdad7fc57ea7266338d296d8186257bae962d12f8392140a84c7f895e5106
|