# gps-data-codec
Python library, implemented in rust, including base functions for encoding and decoding of gps data (timestamp, latitude, and longitude) using leb128 algorythm.
It is used to store competitors data on https://www.routechoices.com
## install
```
pip install gps-data-codec
```
```
>> import gps_data_codec
>> gps_data_codec.encode([(1628667993, 4.56543, -110.536214), ]) # [(time, lat, lon), ...]
'qtaxyT}tzZhbtaT'
>> gps_data_codec.decode('qtaxyT}tzZhbtaT')
[(1628...
```
# Warning:
- The list of GPS points must be sorted by increasing timestamps.
Raw data
{
"_id": null,
"home_page": "https://github.com/routechoices/gps-data-codec",
"name": "gps-data-codec",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "gps, data, encode, decode",
"author": "Raphael Stefanini <raphael@routechoices.com>",
"author_email": "Raphael Stefanini <raphael@routechoices.com>",
"download_url": null,
"platform": null,
"description": "# gps-data-codec\n\nPython library, implemented in rust, including base functions for encoding and decoding of gps data (timestamp, latitude, and longitude) using leb128 algorythm.\nIt is used to store competitors data on https://www.routechoices.com\n\n## install\n \n```\npip install gps-data-codec\n```\n\n\n```\n>> import gps_data_codec\n>> gps_data_codec.encode([(1628667993, 4.56543, -110.536214), ]) # [(time, lat, lon), ...]\n'qtaxyT}tzZhbtaT'\n>> gps_data_codec.decode('qtaxyT}tzZhbtaT')\n[(1628...\n```\n\n# Warning: \n - The list of GPS points must be sorted by increasing timestamps.\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": null,
"version": "1.6.4",
"project_urls": {
"Homepage": "https://github.com/routechoices/gps-data-codec",
"Source Code": "https://github.com/routechoices/gps-data-codec.git"
},
"split_keywords": [
"gps",
" data",
" encode",
" decode"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "48e164581c1328de0c54eedd3f838020b2a69c52d6cd7cfdc20069b2d318ae74",
"md5": "972a94e38ab4be4403567ae19c2b565c",
"sha256": "62e9caeea6cffa2a3e1aef7e67d73255d782782a7bd3ae9b6e6533ce83877ce1"
},
"downloads": -1,
"filename": "gps_data_codec-1.6.4-cp310-cp310-manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "972a94e38ab4be4403567ae19c2b565c",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 235839,
"upload_time": "2024-10-27T07:30:40",
"upload_time_iso_8601": "2024-10-27T07:30:40.333989Z",
"url": "https://files.pythonhosted.org/packages/48/e1/64581c1328de0c54eedd3f838020b2a69c52d6cd7cfdc20069b2d318ae74/gps_data_codec-1.6.4-cp310-cp310-manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cc8d9409bda8b2b971e0556fff874d200252602eed38b68335209fa190ab6284",
"md5": "3488baad71e4394221649d5c248170a0",
"sha256": "d62c804c4b8c29f49f0b81429df13e509ba14d5873b243de792f480c1218ab95"
},
"downloads": -1,
"filename": "gps_data_codec-1.6.4-cp311-cp311-manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "3488baad71e4394221649d5c248170a0",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 235930,
"upload_time": "2024-10-27T07:30:41",
"upload_time_iso_8601": "2024-10-27T07:30:41.895152Z",
"url": "https://files.pythonhosted.org/packages/cc/8d/9409bda8b2b971e0556fff874d200252602eed38b68335209fa190ab6284/gps_data_codec-1.6.4-cp311-cp311-manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b350c2be79cba45c98c51d035e77aea2a8cccd8ae39739402d0bed5c852210fe",
"md5": "7efef1d18e0941458778c709cc5f538e",
"sha256": "052e5389dcdf33bf9f3cac5a90b4875e8df844e0c98db2631b701cd9865fdcd0"
},
"downloads": -1,
"filename": "gps_data_codec-1.6.4-cp312-cp312-manylinux_2_28_x86_64.whl",
"has_sig": false,
"md5_digest": "7efef1d18e0941458778c709cc5f538e",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": null,
"size": 234728,
"upload_time": "2024-10-27T07:30:43",
"upload_time_iso_8601": "2024-10-27T07:30:43.428052Z",
"url": "https://files.pythonhosted.org/packages/b3/50/c2be79cba45c98c51d035e77aea2a8cccd8ae39739402d0bed5c852210fe/gps_data_codec-1.6.4-cp312-cp312-manylinux_2_28_x86_64.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-27 07:30:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "routechoices",
"github_project": "gps-data-codec",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "setuptools-rust",
"specs": [
[
"==",
"1.7.0"
]
]
}
],
"lcname": "gps-data-codec"
}