{ "info": { "author": "Felipe Aguirre Martinez", "author_email": "felipeam86@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "###################################\nGarpy: Make your garmin data yours!\n###################################\n\n|PyPI-Versions| |PyPI-Status| |Codacy-Grade| |Travis| |Coveralls|\n\n``garpy`` is a simple app used to backup your data from Garmin Connect. It can be used to do incremental\nbackups of your data from Garmin Connect or to download one specific activity.\n\n********************************\nIncremental backup of activities\n********************************\n\nThe first time you use it, all the activities found on your Garmin Connect account will be downloaded to\nthe directory that you specify. Afterwards, each time you run the command, only the newly available\nactivities will be downloaded.\n\nThe command is used as follows:\n\n.. code:: sh\n\n garpy download {backup-dir}\n\nBehind the scenes, this is what will happen:\n\n- `garpy` will prompt you for your password and will then authenticate against Garmin Connect.\n- It will first fetch the list of all your activities from garmin.\n- It will check which activities have already been backed up on the given `backup-dir`\n- It will proceed to download all the missing activities.\n\n************************************\nDownloading one activity from its ID\n************************************\n\nIf you wish to download only one activity or simple you want to refresh an already downloaded activity,\nuse the '-a/--activity' flag as follows:\n\n.. code:: sh\n\n garpy download --activity 1674567326 {backup-dir}\n\nThis will download the activity in all existing formats to the given `backup_dir`\n\n****************\nFull CLI options\n****************\n\nFor more detailed usage, invoke the '--help' command:\n\n.. code:: sh\n\n $ garpy download --help\n Usage: garpy download [OPTIONS] [BACKUP_DIR]\n\n Download activities from Garmin Connect\n\n Entry point for downloading activities from Garmin Connect. By default, it\n downloads all newly created activities since the last time you did a\n backup.\n\n If you specify an activity ID with the \"-a/--activity\" flag, only that\n activity will be downloaded, even if it has already been downloaded\n before.\n\n If no format is specified, the app will download all possible formats.\n Otherwise you can specify the formats you wish to download with the\n \"-f/--formats\" flag. The flag can be used several times if you wish to\n specify several formats, e.g., 'garpy download [OPTIONS] -f original -f\n gpx [BACKUP_DIR]' will download .fit and .gpx files\n\n Options:\n -f, --formats [tcx|gpx|original|summary|fit|details]\n Which formats to download. The flag can be\n used several times, e.g. '-f original -f\n gpx'\n -u, --username {username} Username of your Garmin account\n -p, --password {password} Password of your Garmin account\n -a, --activity {ID} Activity ID. If indicated, download only\n that activity, even if it has already been\n downloaded. Otherwise, do incremental update\n of backup\n --help Show this message and exit.\n\n\n************\nInstallation\n************\n``garpy`` requires Python 3.6 or higher on your system. For those who know your way around with Python, install\n``garpy`` with pip as follows:\n\n.. code:: sh\n\n pip install -U garpy\n\n\nIf you are new to Python or have Python 2 installed on your\ncomputer, I recommend you install Miniconda_. To my knowledge, it is the simplest way of installing a robust and\nlightweight Python environment.\n\n\n****************\nAcknowledgements\n****************\n\nThe library is based on garminexport_. I borrowed the GarminClient, refactored it to my taste and\ncreated a package from it.\n\n\n.. |PyPI-Versions| image:: https://img.shields.io/pypi/pyversions/garpy.svg?logo=python&logoColor=white\n :target: https://pypi.org/project/garpy\n.. |PyPI-Status| image:: https://img.shields.io/pypi/v/garpy.svg\n :target: https://pypi.org/project/garpy\n.. |Codacy-Grade| image:: https://api.codacy.com/project/badge/Grade/2fbbd268e0a04cd0983291227be53873\n :target: https://app.codacy.com/manual/garpy/garpy/dashboard\n.. |Travis| image:: https://api.travis-ci.com/felipeam86/garpy.png?branch=master\n :target: http://travis-ci.com/felipeam86/garpy\n.. |Coveralls| image:: https://coveralls.io/repos/github/felipeam86/garpy/badge.svg?branch=develop\n :target: https://coveralls.io/github/felipeam86/garpy?branch=develop\n\n\n.. _Miniconda: https://docs.conda.io/en/latest/miniconda.html\n.. _garminexport: https://github.com/petergardfjall/garminexport\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "MIT", "maintainer": "Felipe Aguirre Martinez", "maintainer_email": "felipeam86@gmail.com", "name": "garpy", "package_url": "https://pypi.org/project/garpy/", "platform": "", "project_url": "https://pypi.org/project/garpy/", "project_urls": null, "release_url": "https://pypi.org/project/garpy/0.2.0/", "requires_dist": [ "requests (>=2.22,<3.0)", "attrs (>=19.1,<20.0)", "pendulum (>=2.0,<3.0)", "PyYAML (>=5.1,<6.0)", "click (>=7.0,<8.0)", "tqdm (>=4.36,<5.0)" ], "requires_python": ">=3.6,<4.0", "summary": "Python client for downloading activities from Garmin Connect", "version": "0.2.0" }, "last_serial": 5870282, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "79ea82ce9b6d66e6b834ec0f328fd985", "sha256": "7ee4379d6170e043b5fa6347c3d0641c68682d122c901dce2e2c83ad36e24680" }, "downloads": -1, "filename": "garpy-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "79ea82ce9b6d66e6b834ec0f328fd985", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 1068, "upload_time": "2019-08-24T10:39:55", "url": "https://files.pythonhosted.org/packages/c5/e7/3726fb3f0a856042a43fba8bdc2329effed469f007042b624c8e118d4eef/garpy-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a996ab94e8cd1eb47eb798e6c30c0aca", "sha256": "4f40829d51cdc4d07e8362edd9bfef9ce54e9ab0414538cd11af6fd6e9d07744" }, "downloads": -1, "filename": "garpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a996ab94e8cd1eb47eb798e6c30c0aca", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 877, "upload_time": "2019-08-24T10:39:57", "url": "https://files.pythonhosted.org/packages/66/14/5bffa410c40e50bc038f1ce8e0f2110c315e052ab8bc55a6b2640a7b65ec/garpy-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ac4bf4031ba2b069e2e3366bd4410af9", "sha256": "731ba0ce7d63355cbda3f65dd18dd3aea445947fab1e6202f07b6279511e0109" }, "downloads": -1, "filename": "garpy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ac4bf4031ba2b069e2e3366bd4410af9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 16264, "upload_time": "2019-09-22T20:28:53", "url": "https://files.pythonhosted.org/packages/e9/35/855e595d372c006a094a4d6f8461465b6fbc5c875695daaa08216d3a8dad/garpy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "86d40830e67d514a093b792e64119671", "sha256": "7f477a8c8bcf88980ca979ee85f1faafea621d1d19b58d2e6d2fc3f50f26ea1f" }, "downloads": -1, "filename": "garpy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "86d40830e67d514a093b792e64119671", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 14956, "upload_time": "2019-09-22T20:28:55", "url": "https://files.pythonhosted.org/packages/fb/f8/97a9a07a64a2d7167437f18baeecb19af51dde556e65202a244d12ddad98/garpy-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ac4bf4031ba2b069e2e3366bd4410af9", "sha256": "731ba0ce7d63355cbda3f65dd18dd3aea445947fab1e6202f07b6279511e0109" }, "downloads": -1, "filename": "garpy-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ac4bf4031ba2b069e2e3366bd4410af9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 16264, "upload_time": "2019-09-22T20:28:53", "url": "https://files.pythonhosted.org/packages/e9/35/855e595d372c006a094a4d6f8461465b6fbc5c875695daaa08216d3a8dad/garpy-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "86d40830e67d514a093b792e64119671", "sha256": "7f477a8c8bcf88980ca979ee85f1faafea621d1d19b58d2e6d2fc3f50f26ea1f" }, "downloads": -1, "filename": "garpy-0.2.0.tar.gz", "has_sig": false, "md5_digest": "86d40830e67d514a093b792e64119671", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 14956, "upload_time": "2019-09-22T20:28:55", "url": "https://files.pythonhosted.org/packages/fb/f8/97a9a07a64a2d7167437f18baeecb19af51dde556e65202a244d12ddad98/garpy-0.2.0.tar.gz" } ] }