{ "info": { "author": "Vinod Kurup", "author_email": "vinod@kurup.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "python-tcxparser\n================\n\n.. image:: https://img.shields.io/pypi/v/python-tcxparser.svg\n :target: https://pypi.python.org/pypi/python-tcxparser\n :alt: Latest PyPI version\n\n.. image:: https://travis-ci.org/vkurup/python-tcxparser.svg?branch=master\n :target: https://travis-ci.org/vkurup/python-tcxparser\n :alt: Latest Travis CI build status\n\n.. image:: https://pyup.io/repos/github/vkurup/python-tcxparser/shield.svg\n :target: https://pyup.io/repos/github/vkurup/python-tcxparser/\n :alt: Requirement Updates\n\n.. image:: https://codecov.io/gh/vkurup/python-tcxparser/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/vkurup/python-tcxparser\n :alt: Code Coverage\n\n\npython-tcxparser is a minimal parser for Garmin's TCX file format. It\nis not in any way exhaustive. It extracts just enough data to allow me\nto post data from my Garmin ForeRunner 410 watch to\n`DailyMile's `_ API.\n\nData extracted:\n - latitude & longitude of start point of workout\n - type of workout (running, walking, etc)\n - time of completion of workout (in ISO UTC)\n - distance of workout (in meters)\n - duration of workout (in seconds)\n - calories burned during workout (as estimated by device)\n - average, max and min heart rate during workout\n - average pace during workout\n - average altitude during workout\n - ascent and descent of workout\n - max and min altitude\n - time stamp of each data point (in ISO UTC)\n - average and max cadence (cycling activities)\n\nInstallation\n------------\n\nInstall it from PyPI::\n\n pip install python-tcxparser\n\nUsage\n-----\n\nBasic usage example::\n\n >>> import tcxparser\n >>> tcx = tcxparser.TCXParser('/home/vinod/Downloads/20121226-212953.tcx')\n >>> # Duration of workout in seconds\n ... tcx.duration\n 1992.78\n >>> # latitude/longitude at start of workout\n ... tcx.latitude\n 35.951880198\n >>> tcx.longitude\n -79.0931872185\n >>> tcx.activity_type\n 'running'\n >>> # ISO UTC timestamp when workout completed\n ... tcx.completed_at\n '2012-12-26T22:03:05Z'\n >>> # distance of workout in meters\n ... tcx.distance\n 4686.31103516\n >>> tcx.distance_units\n 'meters'\n >>> # calories burned (as reported by device)\n ... tcx.calories\n 379\n\nCompatibility\n-------------\n\n* Python 2.7 or 3.7+\n\nLicense\n-------\n\n* BSD\n\nContact\n-------\n\nPlease contact me with any questions: Vinod Kurup (vinod@kurup.com)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vkurup/python-tcxparser/", "keywords": "tcx", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "python-tcxparser", "package_url": "https://pypi.org/project/python-tcxparser/", "platform": "", "project_url": "https://pypi.org/project/python-tcxparser/", "project_urls": { "Homepage": "https://github.com/vkurup/python-tcxparser/" }, "release_url": "https://pypi.org/project/python-tcxparser/1.0.0/", "requires_dist": [ "lxml" ], "requires_python": "", "summary": "Simple parser for Garmin TCX files", "version": "1.0.0" }, "last_serial": 4603621, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "107f76e97ba2f2e76e7f2f1e9485115c", "sha256": "69e722a8f32f96c3c23bf2fd37ce518d658ffe0c690f3b2b94a732bd71559b53" }, "downloads": -1, "filename": "python-tcxparser-0.1.0.tar.gz", "has_sig": false, "md5_digest": "107f76e97ba2f2e76e7f2f1e9485115c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2640, "upload_time": "2013-01-09T02:09:19", "url": "https://files.pythonhosted.org/packages/32/61/3d04ef2fae6b581632d6a74d262c74f4ef28b5dec6e7c0666cd1a3376577/python-tcxparser-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "beedb53e5bd78bcff9a59fd611a4270e", "sha256": "b7f7d027f41ef87f0f0ede055891f49420cef4949294ff04e19542b5473f1c6a" }, "downloads": -1, "filename": "python-tcxparser-0.2.0.tar.gz", "has_sig": false, "md5_digest": "beedb53e5bd78bcff9a59fd611a4270e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2655, "upload_time": "2013-01-09T02:16:37", "url": "https://files.pythonhosted.org/packages/98/5a/355e6636f1baa96a7d94cb7af2c7b93f6eb84ee1b74c5757e1366c5a63c5/python-tcxparser-0.2.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "93f7db88c422c195985e8dc1d58fe472", "sha256": "9a9d36c409045379030fa880897074c859140e95f1e7bfd74256e97af8e00122" }, "downloads": -1, "filename": "python-tcxparser-0.4.0.tar.gz", "has_sig": false, "md5_digest": "93f7db88c422c195985e8dc1d58fe472", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3169, "upload_time": "2013-01-11T20:17:54", "url": "https://files.pythonhosted.org/packages/c7/39/0989f89011e5d7c7f9a17d3d4c7aab370c42ac10a05f0a050139e6dc4367/python-tcxparser-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "c8970c485c23bd79120c2e96088add67", "sha256": "bd36ebc287f1d08d4feeb55b38a698c44a6e30a7e99ecf6ef8f552c476876f20" }, "downloads": -1, "filename": "python-tcxparser-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c8970c485c23bd79120c2e96088add67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3419, "upload_time": "2013-02-08T17:01:43", "url": "https://files.pythonhosted.org/packages/c1/cc/5d6f69f7101a675054825421b2f4097d3486fecfbd04448e50fb3f4f256c/python-tcxparser-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "526417208a3908aee42e7a577a426c6d", "sha256": "333c7019e2162593ba9951e27018a8d8b1ed58c81e0342763b7ed301cdfe7c62" }, "downloads": -1, "filename": "python-tcxparser-0.6.0.tar.gz", "has_sig": false, "md5_digest": "526417208a3908aee42e7a577a426c6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3799, "upload_time": "2014-11-19T12:03:01", "url": "https://files.pythonhosted.org/packages/3e/53/0eadcb4c8d70541e8a3777d78a73bdae552a9a18f7dc5bdd0149b34b5ba9/python-tcxparser-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "ced7b5183580f92d09c59ed3b0528f89", "sha256": "3360cfaad723522882093dd102d384cb87da4bc24338a1e1f92cea9aab13f829" }, "downloads": -1, "filename": "python-tcxparser-0.7.0.tar.gz", "has_sig": false, "md5_digest": "ced7b5183580f92d09c59ed3b0528f89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4023, "upload_time": "2016-01-01T18:09:46", "url": "https://files.pythonhosted.org/packages/8d/46/d0d4ad167d7cb5a1e6e68dcf773b6d142383f372551fa19c9ac0837ed195/python-tcxparser-0.7.0.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "2df60df5b201d18361134a16fad700e7", "sha256": "26baf795c50e8bf7d0cda4f96a9a6266fc2559d9a9726d08c2f449b6072f14e0" }, "downloads": -1, "filename": "python-tcxparser-0.7.1.tar.gz", "has_sig": false, "md5_digest": "2df60df5b201d18361134a16fad700e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4595, "upload_time": "2016-08-14T21:59:22", "url": "https://files.pythonhosted.org/packages/e4/d7/923087ea6d6c2e661dfa08e0603c51d320d5000eab81f6ea372c4f2d754a/python-tcxparser-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "8aa5241059639bcff24643e19b26fac2", "sha256": "f43a0c438733486c41fcacd53c67f55578c7ec25cd961d65f4433fc5fbb29d99" }, "downloads": -1, "filename": "python-tcxparser-0.7.2.tar.gz", "has_sig": false, "md5_digest": "8aa5241059639bcff24643e19b26fac2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4759, "upload_time": "2017-03-03T02:00:25", "url": "https://files.pythonhosted.org/packages/4d/67/2650aa9d78afa3abdac10073ddaff197785afc7683b6ea5c4997753faed0/python-tcxparser-0.7.2.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "adccf4ff00e9d8707d19414e820fb6e7", "sha256": "905c3b5d25e3b7a20a84d23724aad198d441142f3c96d49bef952e264ce546f0" }, "downloads": -1, "filename": "python_tcxparser-0.8.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "adccf4ff00e9d8707d19414e820fb6e7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3609, "upload_time": "2018-04-27T23:33:59", "url": "https://files.pythonhosted.org/packages/7a/59/c48cf12fa8cc937d795eaf6680681c625dfb279a7ad902a96a3a45f62bdd/python_tcxparser-0.8.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "569f3e36c4e738026921722fe02a0a28", "sha256": "f3959e58cea1d302d1d4090dd6c69b1e0987ef413a9aae8aedd9926567fab4e7" }, "downloads": -1, "filename": "python-tcxparser-0.8.0.tar.gz", "has_sig": false, "md5_digest": "569f3e36c4e738026921722fe02a0a28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3454, "upload_time": "2018-04-27T23:34:01", "url": "https://files.pythonhosted.org/packages/dc/18/332c0880a88d38a0aa701b2579aa7f17687e45142d2d9d4997820d6362a9/python-tcxparser-0.8.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "84110b13b7d04d4d1ce17766f3bb54b3", "sha256": "7189ee8a1237de1a0de0b21a3689a1db01afaeba5b76741dfaa5da33b4d33f8b" }, "downloads": -1, "filename": "python_tcxparser-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "84110b13b7d04d4d1ce17766f3bb54b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5028, "upload_time": "2018-12-15T21:06:24", "url": "https://files.pythonhosted.org/packages/e6/e8/14f9abfa4e645ee0bb7e54e595e8d993bcc804f844c159c3e6a62c79b182/python_tcxparser-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2f29552f9a21086cfa2a5ad7988b2ec", "sha256": "223862521b1f8e3d5a7a16c1afa25749d0595ef1edcd28dab0c67ede4b53e381" }, "downloads": -1, "filename": "python-tcxparser-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e2f29552f9a21086cfa2a5ad7988b2ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3594, "upload_time": "2018-12-15T21:06:25", "url": "https://files.pythonhosted.org/packages/cd/62/95374cbd22794cb29ce22ce67b82e6f10414e99c8f6f54cc19ef4f398ba8/python-tcxparser-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "84110b13b7d04d4d1ce17766f3bb54b3", "sha256": "7189ee8a1237de1a0de0b21a3689a1db01afaeba5b76741dfaa5da33b4d33f8b" }, "downloads": -1, "filename": "python_tcxparser-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "84110b13b7d04d4d1ce17766f3bb54b3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5028, "upload_time": "2018-12-15T21:06:24", "url": "https://files.pythonhosted.org/packages/e6/e8/14f9abfa4e645ee0bb7e54e595e8d993bcc804f844c159c3e6a62c79b182/python_tcxparser-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e2f29552f9a21086cfa2a5ad7988b2ec", "sha256": "223862521b1f8e3d5a7a16c1afa25749d0595ef1edcd28dab0c67ede4b53e381" }, "downloads": -1, "filename": "python-tcxparser-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e2f29552f9a21086cfa2a5ad7988b2ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3594, "upload_time": "2018-12-15T21:06:25", "url": "https://files.pythonhosted.org/packages/cd/62/95374cbd22794cb29ce22ce67b82e6f10414e99c8f6f54cc19ef4f398ba8/python-tcxparser-1.0.0.tar.gz" } ] }