ggps


Nameggps JSON
Version 0.5.1 PyPI version JSON
download
home_pageNone
Summaryggps - tcx and gpx file parsing for garmin connect and garmin devices
upload_time2024-10-15 17:08:37
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseMIT License Copyright (c) 2024 Chris Joakim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords files garmin gps gpx parse running tcx
VCS
bugtrack_url
requirements black certifi charset-normalizer click coverage docutils idna importlib-metadata iniconfig jaraco-classes jaraco-context jaraco-functools keyring m26 markdown-it-py mdurl more-itertools mypy-extensions nh3 packaging pathspec pkginfo platformdirs pluggy pygments pytest pytest-cov readme-renderer requests requests-toolbelt rfc3986 rich twine urllib3 zipp
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ggps

ggps - gps file parsing utilities for garmin connect and garmin devices


## Urls

- GitHub: https://github.com/cjoakim/ggps-py
- PyPi: https://pypi.org/project/ggps/

## Features

- Parse **gpx** and **tcx** files downloaded from Garmin Connect (https://connect.garmin.com)
- Use class **TcxHandler** to parse TCX files
  - contains the Trackpoint data with additional/augmented values, such as:
    - "elapsedtime", "elapsedseconds", "altitudefeet", "distancemiles", "distancekilometers", and "cadencex2"
  - also includes an event "stats" summary with heartbeat_data and cadence_data sections
  - the stats contains value histograms and computed values such as averages
  - cadence_data includes run/walk/idle time percentages
- Use class **GpxHandler** to parse GPX files
  - contains the Trackpoint data with additional/augmented values, such as:
    - "seq", "elapsedtime", "elapsedseconds"
- Discover the structure of the TCX/GPX/XML files with class **PathHandler**

---

## Quick start

### Installation

```
$ pip install ggps
```

### Use

#### Sample Program

See the following sample-program.py in the GitHub repo.

See the **data/** directory in the GitHub repo for the sample gpx and tcx files
processed by this sample program.

```
import json

import ggps

def parse_file(infile, handler_type):
    print("parsing file: {} type: {}".format(infile, handler_type))
    handler = None
    opts = dict()
    opts["run_walk_separator_cadence"] = 150  # 150 is the default
    # opts["no-stats"] = "any value"

    if handler_type == "tcx":
        handler = ggps.TcxHandler(opts)
    elif handler_type == "gpx":
        handler = ggps.GpxHandler(opts)
    else:
        handler = ggps.PathHandler(opts)

    handler.parse(infile)
    # print(str(handler))
    write_json_file(handler)


def write_json_file(handler, pretty=True, verbose=True) -> None:
    """Write the parsed handler data to a file in the same directory, with a .json filetype."""
    outfile = "{}.{}.json".format(handler.filename.strip(), handler.handler_type)
    jstr = None
    if pretty is True:
        jstr = json.dumps(handler.get_data(), sort_keys=False, indent=2)
    else:
        jstr = json.dumps(handler.get_data())

    with open(file=outfile, encoding="utf-8", mode="w") as file:
        file.write(jstr)
        if verbose is True:
            print(f"file written: {outfile}")


if __name__ == "__main__":

    print("ggps version {}".format(ggps.VERSION))

    # Latest files produced in 2024 with Forerunner 265S
    parse_file("data/activity_17075053124_lorimer_avinger.tcx", "tcx")
    parse_file("data/activity_17075053124_lorimer_avinger.tcx", "path")
    parse_file("data/activity_17075053124_lorimer_avinger.gpx", "gpx")
    parse_file("data/activity_17075053124_lorimer_avinger.gpx", "path")

    # Twin Cities Marathon files
    parse_file("data/twin_cities_marathon.tcx", "tcx")
    parse_file("data/twin_cities_marathon.tcx", "path")
    parse_file("data/twin_cities_marathon.gpx", "gpx")
    parse_file("data/twin_cities_marathon.gpx", "path")

    # New River 50K files
    parse_file("data/new_river_50k.tcx", "tcx")
    parse_file("data/new_river_50k.tcx", "path")
    parse_file("data/new_river_50k.gpx", "gpx")
    parse_file("data/new_river_50k.gpx", "path")

    # Davidson Track 5K files
    parse_file("data/dav_track_5k.tcx", "tcx")
    parse_file("data/dav_track_5k.tcx", "path")
    parse_file("data/dav_track_5k.gpx", "gpx")
    parse_file("data/dav_track_5k.gpx", "path")

    # activity_4564516081 files
    parse_file("data/activity_4564516081.tcx", "tcx")
    parse_file("data/activity_4564516081.tcx", "path")
    parse_file("data/activity_4564516081.gpx", "gpx")
    parse_file("data/activity_4564516081.gpx", "path")

    # activity_4564516081 files
    parse_file("data/activity_607442311.tcx", "tcx")
    parse_file("data/activity_607442311.tcx", "path")
    parse_file("data/activity_607442311.gpx", "gpx")
    parse_file("data/activity_607442311.gpx", "path")

```

#### Executing the Sample Program

```
$ python sample-program.py
```

#### Sample Program Output

```
ggps version 0.5.0
parsing file: data/activity_17075053124_lorimer_avinger.tcx type: tcx
file written: data/activity_17075053124_lorimer_avinger.tcx.tcx.json
parsing file: data/activity_17075053124_lorimer_avinger.tcx type: path
file written: data/activity_17075053124_lorimer_avinger.tcx.path.json
parsing file: data/activity_17075053124_lorimer_avinger.gpx type: gpx
file written: data/activity_17075053124_lorimer_avinger.gpx.gpx.json
parsing file: data/activity_17075053124_lorimer_avinger.gpx type: path
file written: data/activity_17075053124_lorimer_avinger.gpx.path.json
parsing file: data/twin_cities_marathon.tcx type: tcx
file written: data/twin_cities_marathon.tcx.tcx.json
parsing file: data/twin_cities_marathon.tcx type: path
file written: data/twin_cities_marathon.tcx.path.json
parsing file: data/twin_cities_marathon.gpx type: gpx
file written: data/twin_cities_marathon.gpx.gpx.json
parsing file: data/twin_cities_marathon.gpx type: path
file written: data/twin_cities_marathon.gpx.path.json
parsing file: data/new_river_50k.tcx type: tcx
file written: data/new_river_50k.tcx.tcx.json
parsing file: data/new_river_50k.tcx type: path
file written: data/new_river_50k.tcx.path.json
parsing file: data/new_river_50k.gpx type: gpx
file written: data/new_river_50k.gpx.gpx.json
parsing file: data/new_river_50k.gpx type: path
file written: data/new_river_50k.gpx.path.json
parsing file: data/dav_track_5k.tcx type: tcx
file written: data/dav_track_5k.tcx.tcx.json
parsing file: data/dav_track_5k.tcx type: path
file written: data/dav_track_5k.tcx.path.json
parsing file: data/dav_track_5k.gpx type: gpx
file written: data/dav_track_5k.gpx.gpx.json
parsing file: data/dav_track_5k.gpx type: path
file written: data/dav_track_5k.gpx.path.json
parsing file: data/activity_4564516081.tcx type: tcx
file written: data/activity_4564516081.tcx.tcx.json
parsing file: data/activity_4564516081.tcx type: path
file written: data/activity_4564516081.tcx.path.json
parsing file: data/activity_4564516081.gpx type: gpx
file written: data/activity_4564516081.gpx.gpx.json
parsing file: data/activity_4564516081.gpx type: path
file written: data/activity_4564516081.gpx.path.json
parsing file: data/activity_607442311.tcx type: tcx
file written: data/activity_607442311.tcx.tcx.json
parsing file: data/activity_607442311.tcx type: path
file written: data/activity_607442311.tcx.path.json
parsing file: data/activity_607442311.gpx type: gpx
file written: data/activity_607442311.gpx.gpx.json
parsing file: data/activity_607442311.gpx type: path
file written: data/activity_607442311.gpx.path.json
```

#### Sample Output File - TcxParser

```
{
  "filename": "data/twin_cities_marathon.tcx",
  "ggps_version": "0.5.0",
  "ggps_parsed_at": "2024-09-30 09:44:13.594348",
  "device_name": "Garmin Forerunner 620",
  "device_id": "3875991210",
  "trackpoint_count": 2256,
  "trackpoints": [
    {
      "type": "Trackpoint",
      "time": "2014-10-05T13:07:53.000Z",
      "latitudedegrees": 44.97431952506304,
      "longitudedegrees": -93.26310088858008,
      "altitudemeters": 259.20001220703125,
      "distancemeters": 0.0,
      "heartratebpm": 85,
      "speed": 0.0,
      "cadence": 89,
      "altitudefeet": 850.3937408367167,
      "distancemiles": 0.0,
      "distancekilometers": 0.0,
      "cadencex2": 178,
      "elapsedtime": "00:00:00",
      "seq": 1,
      "elapsedseconds": 0.0
    },

    ...

    {
      "type": "Trackpoint",
      "time": "2014-10-05T17:22:17.000Z",
      "latitudedegrees": 44.95180849917233,
      "longitudedegrees": -93.10493202880025,
      "altitudemeters": 263.6000061035156,
      "distancemeters": 42635.44921875,
      "heartratebpm": 161,
      "speed": 3.5460000038146977,
      "cadence": 77,
      "altitudefeet": 864.8294163501167,
      "distancemiles": 26.492439912628992,
      "distancekilometers": 42.63544921875,
      "cadencex2": 154,
      "elapsedtime": "04:14:24",
      "seq": 2256,
      "elapsedseconds": 15264.0
    }
  ],
  "stats": {
    "heartbeat_data": {
      "histogram": {
        "85": 2,
        "89": 2,
        "90": 2,
        "91": 3,
        "93": 1,
        "96": 2,
        "98": 1,
        "100": 1,
        "104": 1,
        "106": 1,
        "107": 1,
        "108": 3,
        "109": 2,
        "111": 1,
        "112": 1,
        "114": 4,
        "115": 2,
        "116": 1,
        "117": 7,
        "118": 2,
        "119": 3,
        "120": 3,
        "121": 5,
        "122": 3,
        "123": 4,
        "124": 8,
        "125": 15,
        "126": 5,
        "127": 17,
        "128": 22,
        "129": 12,
        "130": 17,
        "131": 23,
        "132": 37,
        "133": 39,
        "134": 34,
        "135": 49,
        "136": 70,
        "137": 82,
        "138": 113,
        "139": 223,
        "140": 221,
        "141": 195,
        "142": 192,
        "143": 124,
        "144": 81,
        "145": 72,
        "146": 75,
        "147": 61,
        "148": 77,
        "149": 55,
        "150": 47,
        "151": 39,
        "152": 32,
        "153": 29,
        "154": 21,
        "155": 12,
        "156": 16,
        "157": 17,
        "158": 8,
        "159": 5,
        "160": 12,
        "161": 8,
        "162": 5,
        "163": 7,
        "164": 3,
        "165": 3,
        "166": 1,
        "167": 4,
        "168": 3,
        "170": 7
      },
      "total_readings": 2256,
      "highest_bpm": 170,
      "average_bpm": 141.18262411347519,
      "most_frequent_bpm": 139
    },
    "cadence_data": {
      "histogram": {
        "88": 2,
        "92": 1,
        "94": 4,
        "100": 3,
        "102": 2,
        "104": 3,
        "106": 1,
        "108": 5,
        "110": 7,
        "112": 13,
        "114": 11,
        "116": 19,
        "118": 57,
        "120": 51,
        "122": 30,
        "124": 22,
        "126": 13,
        "128": 8,
        "130": 6,
        "132": 2,
        "134": 2,
        "136": 1,
        "138": 3,
        "140": 2,
        "142": 3,
        "144": 2,
        "146": 3,
        "148": 2,
        "152": 1,
        "154": 1,
        "156": 1,
        "158": 2,
        "160": 2,
        "162": 5,
        "164": 7,
        "166": 62,
        "168": 496,
        "170": 826,
        "172": 380,
        "174": 90,
        "176": 53,
        "178": 24,
        "180": 10,
        "182": 3,
        "184": 7,
        "186": 2,
        "188": 1,
        "234": 1
      },
      "running_avg_cadence": 170.28571428571428,
      "walking_avg_cadence": 119.6978417266187,
      "run_walk_separator_cadence": 150,
      "total_readings": 2252,
      "running_count": 1974,
      "walking_count": 278,
      "idle_count": 0,
      "running_pct": 87.65541740674956,
      "walking_pct": 12.344582593250445,
      "idle_pct": 0.0
    }
  }
}    
```

#### Sample Output File - PathParser

```
{
  "filename": "data/twin_cities_marathon.tcx",
  "ggps_version": "0.5.0",
  "ggps_parsed_at": "2024-09-30 09:44:14.336540",
  "path_counter": {
    "TrainingCenterDatabase": 1,
    "TrainingCenterDatabase@xsi:schemaLocation": 1,
    "TrainingCenterDatabase@xmlns:ns5": 1,
    "TrainingCenterDatabase@xmlns:ns3": 1,
    "TrainingCenterDatabase@xmlns:ns2": 1,
    "TrainingCenterDatabase@xmlns": 1,
    "TrainingCenterDatabase@xmlns:xsi": 1,
    "TrainingCenterDatabase@xmlns:ns4": 1,
    "TrainingCenterDatabase|Activities": 1,
    "TrainingCenterDatabase|Activities|Activity": 1,
    "TrainingCenterDatabase|Activities|Activity@Sport": 1,
    "TrainingCenterDatabase|Activities|Activity|Id": 1,
    "TrainingCenterDatabase|Activities|Activity|Lap": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap@StartTime": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|TotalTimeSeconds": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|DistanceMeters": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|MaximumSpeed": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Calories": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|AverageHeartRateBpm": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|AverageHeartRateBpm|Value": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|MaximumHeartRateBpm": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|MaximumHeartRateBpm|Value": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Intensity": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|TriggerMethod": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Time": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Position": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Position|LatitudeDegrees": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Position|LongitudeDegrees": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|AltitudeMeters": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|DistanceMeters": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|HeartRateBpm": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|HeartRateBpm|Value": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX@xmlns": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX|Speed": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX|RunCadence": 2256,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX": 108,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX@xmlns": 108,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|MaxRunCadence": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|AvgRunCadence": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|AvgSpeed": 27,
    "TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|Steps": 27,
    "TrainingCenterDatabase|Activities|Activity|Creator": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator@xsi:type": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|Name": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|UnitId": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|ProductID": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|Version": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|Version|VersionMajor": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|Version|VersionMinor": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|Version|BuildMajor": 1,
    "TrainingCenterDatabase|Activities|Activity|Creator|Version|BuildMinor": 1,
    "TrainingCenterDatabase|Author": 1,
    "TrainingCenterDatabase|Author@xsi:type": 1,
    "TrainingCenterDatabase|Author|Name": 1,
    "TrainingCenterDatabase|Author|Build": 1,
    "TrainingCenterDatabase|Author|Build|Version": 1,
    "TrainingCenterDatabase|Author|Build|Version|VersionMajor": 1,
    "TrainingCenterDatabase|Author|Build|Version|VersionMinor": 1,
    "TrainingCenterDatabase|Author|Build|Version|BuildMajor": 1,
    "TrainingCenterDatabase|Author|Build|Version|BuildMinor": 1,
    "TrainingCenterDatabase|Author|LangID": 1,
    "TrainingCenterDatabase|Author|PartNumber": 1
  }
}
```

---

## Changelog

```
Current version: 0.5.1

-  2024/10/15, version 0.5.1   Enabled support for python 3.11
-  2024/09/30, version 0.5.0   Output as JSON files with numeric attributes
                               stats added to TCX output by default with heartbeat_data and cadence_data sections
                               configurable run_walk_separator_cadence
                               new sample program
-  2024/09/23, version 0.4.1,  Fix pyproject.toml project description
-  2024/09/23, version 0.4.0,  Upgraded to python 3.12, pyproject.toml build mechanism, latest m26 >=0.3.1
-  2020/02/22, version 0.3.0,  Parsing improvements, normalize 'cadence' and 'heartratebpm' attribute names
-  2020/02/19, version 0.2.1,  Upgraded the m26 and Jinga2 libraries
-  2017/09/27, version 0.2.0,  Converted to the pytest testing framework
-  2017/09/26, version 0.1.13, packagin.
-  2016/11/07, version 0.1.12, updated packaging
-  2016/11/07, version 0.1.11, updated packaging
-  2016/11/07, version 0.1.10, updated packaging
-  2016/11/07, version 0.1.9,  updated packaging
-  2016/11/07, version 0.1.8,  updated packaging
-  2016/11/06, version 0.1.7,  updated description
-  2016/11/06, version 0.1.6,  republished
-  2016/11/06, version 0.1.5,  refactored ggps/ dir
-  2016/11/06, version 0.1.4,  refactored ggps/ dir. nose2 for tests
-  2015/11/07, version 0.1.3,  Added README.rst
-  2015/11/07, version 0.1.1   Initial release
```
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ggps",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "Chris Joakim <christopher.joakim@gmail.com>",
    "keywords": "files, garmin, gps, gpx, parse, running, tcx",
    "author": null,
    "author_email": "Chris Joakim <christopher.joakim@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/25/1a/a2933214d683ae89a53c5eb0aa1104614fd51717f85e4df424a9495440e9/ggps-0.5.1.tar.gz",
    "platform": null,
    "description": "# ggps\n\nggps - gps file parsing utilities for garmin connect and garmin devices\n\n\n## Urls\n\n- GitHub: https://github.com/cjoakim/ggps-py\n- PyPi: https://pypi.org/project/ggps/\n\n## Features\n\n- Parse **gpx** and **tcx** files downloaded from Garmin Connect (https://connect.garmin.com)\n- Use class **TcxHandler** to parse TCX files\n  - contains the Trackpoint data with additional/augmented values, such as:\n    - \"elapsedtime\", \"elapsedseconds\", \"altitudefeet\", \"distancemiles\", \"distancekilometers\", and \"cadencex2\"\n  - also includes an event \"stats\" summary with heartbeat_data and cadence_data sections\n  - the stats contains value histograms and computed values such as averages\n  - cadence_data includes run/walk/idle time percentages\n- Use class **GpxHandler** to parse GPX files\n  - contains the Trackpoint data with additional/augmented values, such as:\n    - \"seq\", \"elapsedtime\", \"elapsedseconds\"\n- Discover the structure of the TCX/GPX/XML files with class **PathHandler**\n\n---\n\n## Quick start\n\n### Installation\n\n```\n$ pip install ggps\n```\n\n### Use\n\n#### Sample Program\n\nSee the following sample-program.py in the GitHub repo.\n\nSee the **data/** directory in the GitHub repo for the sample gpx and tcx files\nprocessed by this sample program.\n\n```\nimport json\n\nimport ggps\n\ndef parse_file(infile, handler_type):\n    print(\"parsing file: {} type: {}\".format(infile, handler_type))\n    handler = None\n    opts = dict()\n    opts[\"run_walk_separator_cadence\"] = 150  # 150 is the default\n    # opts[\"no-stats\"] = \"any value\"\n\n    if handler_type == \"tcx\":\n        handler = ggps.TcxHandler(opts)\n    elif handler_type == \"gpx\":\n        handler = ggps.GpxHandler(opts)\n    else:\n        handler = ggps.PathHandler(opts)\n\n    handler.parse(infile)\n    # print(str(handler))\n    write_json_file(handler)\n\n\ndef write_json_file(handler, pretty=True, verbose=True) -> None:\n    \"\"\"Write the parsed handler data to a file in the same directory, with a .json filetype.\"\"\"\n    outfile = \"{}.{}.json\".format(handler.filename.strip(), handler.handler_type)\n    jstr = None\n    if pretty is True:\n        jstr = json.dumps(handler.get_data(), sort_keys=False, indent=2)\n    else:\n        jstr = json.dumps(handler.get_data())\n\n    with open(file=outfile, encoding=\"utf-8\", mode=\"w\") as file:\n        file.write(jstr)\n        if verbose is True:\n            print(f\"file written: {outfile}\")\n\n\nif __name__ == \"__main__\":\n\n    print(\"ggps version {}\".format(ggps.VERSION))\n\n    # Latest files produced in 2024 with Forerunner 265S\n    parse_file(\"data/activity_17075053124_lorimer_avinger.tcx\", \"tcx\")\n    parse_file(\"data/activity_17075053124_lorimer_avinger.tcx\", \"path\")\n    parse_file(\"data/activity_17075053124_lorimer_avinger.gpx\", \"gpx\")\n    parse_file(\"data/activity_17075053124_lorimer_avinger.gpx\", \"path\")\n\n    # Twin Cities Marathon files\n    parse_file(\"data/twin_cities_marathon.tcx\", \"tcx\")\n    parse_file(\"data/twin_cities_marathon.tcx\", \"path\")\n    parse_file(\"data/twin_cities_marathon.gpx\", \"gpx\")\n    parse_file(\"data/twin_cities_marathon.gpx\", \"path\")\n\n    # New River 50K files\n    parse_file(\"data/new_river_50k.tcx\", \"tcx\")\n    parse_file(\"data/new_river_50k.tcx\", \"path\")\n    parse_file(\"data/new_river_50k.gpx\", \"gpx\")\n    parse_file(\"data/new_river_50k.gpx\", \"path\")\n\n    # Davidson Track 5K files\n    parse_file(\"data/dav_track_5k.tcx\", \"tcx\")\n    parse_file(\"data/dav_track_5k.tcx\", \"path\")\n    parse_file(\"data/dav_track_5k.gpx\", \"gpx\")\n    parse_file(\"data/dav_track_5k.gpx\", \"path\")\n\n    # activity_4564516081 files\n    parse_file(\"data/activity_4564516081.tcx\", \"tcx\")\n    parse_file(\"data/activity_4564516081.tcx\", \"path\")\n    parse_file(\"data/activity_4564516081.gpx\", \"gpx\")\n    parse_file(\"data/activity_4564516081.gpx\", \"path\")\n\n    # activity_4564516081 files\n    parse_file(\"data/activity_607442311.tcx\", \"tcx\")\n    parse_file(\"data/activity_607442311.tcx\", \"path\")\n    parse_file(\"data/activity_607442311.gpx\", \"gpx\")\n    parse_file(\"data/activity_607442311.gpx\", \"path\")\n\n```\n\n#### Executing the Sample Program\n\n```\n$ python sample-program.py\n```\n\n#### Sample Program Output\n\n```\nggps version 0.5.0\nparsing file: data/activity_17075053124_lorimer_avinger.tcx type: tcx\nfile written: data/activity_17075053124_lorimer_avinger.tcx.tcx.json\nparsing file: data/activity_17075053124_lorimer_avinger.tcx type: path\nfile written: data/activity_17075053124_lorimer_avinger.tcx.path.json\nparsing file: data/activity_17075053124_lorimer_avinger.gpx type: gpx\nfile written: data/activity_17075053124_lorimer_avinger.gpx.gpx.json\nparsing file: data/activity_17075053124_lorimer_avinger.gpx type: path\nfile written: data/activity_17075053124_lorimer_avinger.gpx.path.json\nparsing file: data/twin_cities_marathon.tcx type: tcx\nfile written: data/twin_cities_marathon.tcx.tcx.json\nparsing file: data/twin_cities_marathon.tcx type: path\nfile written: data/twin_cities_marathon.tcx.path.json\nparsing file: data/twin_cities_marathon.gpx type: gpx\nfile written: data/twin_cities_marathon.gpx.gpx.json\nparsing file: data/twin_cities_marathon.gpx type: path\nfile written: data/twin_cities_marathon.gpx.path.json\nparsing file: data/new_river_50k.tcx type: tcx\nfile written: data/new_river_50k.tcx.tcx.json\nparsing file: data/new_river_50k.tcx type: path\nfile written: data/new_river_50k.tcx.path.json\nparsing file: data/new_river_50k.gpx type: gpx\nfile written: data/new_river_50k.gpx.gpx.json\nparsing file: data/new_river_50k.gpx type: path\nfile written: data/new_river_50k.gpx.path.json\nparsing file: data/dav_track_5k.tcx type: tcx\nfile written: data/dav_track_5k.tcx.tcx.json\nparsing file: data/dav_track_5k.tcx type: path\nfile written: data/dav_track_5k.tcx.path.json\nparsing file: data/dav_track_5k.gpx type: gpx\nfile written: data/dav_track_5k.gpx.gpx.json\nparsing file: data/dav_track_5k.gpx type: path\nfile written: data/dav_track_5k.gpx.path.json\nparsing file: data/activity_4564516081.tcx type: tcx\nfile written: data/activity_4564516081.tcx.tcx.json\nparsing file: data/activity_4564516081.tcx type: path\nfile written: data/activity_4564516081.tcx.path.json\nparsing file: data/activity_4564516081.gpx type: gpx\nfile written: data/activity_4564516081.gpx.gpx.json\nparsing file: data/activity_4564516081.gpx type: path\nfile written: data/activity_4564516081.gpx.path.json\nparsing file: data/activity_607442311.tcx type: tcx\nfile written: data/activity_607442311.tcx.tcx.json\nparsing file: data/activity_607442311.tcx type: path\nfile written: data/activity_607442311.tcx.path.json\nparsing file: data/activity_607442311.gpx type: gpx\nfile written: data/activity_607442311.gpx.gpx.json\nparsing file: data/activity_607442311.gpx type: path\nfile written: data/activity_607442311.gpx.path.json\n```\n\n#### Sample Output File - TcxParser\n\n```\n{\n  \"filename\": \"data/twin_cities_marathon.tcx\",\n  \"ggps_version\": \"0.5.0\",\n  \"ggps_parsed_at\": \"2024-09-30 09:44:13.594348\",\n  \"device_name\": \"Garmin Forerunner 620\",\n  \"device_id\": \"3875991210\",\n  \"trackpoint_count\": 2256,\n  \"trackpoints\": [\n    {\n      \"type\": \"Trackpoint\",\n      \"time\": \"2014-10-05T13:07:53.000Z\",\n      \"latitudedegrees\": 44.97431952506304,\n      \"longitudedegrees\": -93.26310088858008,\n      \"altitudemeters\": 259.20001220703125,\n      \"distancemeters\": 0.0,\n      \"heartratebpm\": 85,\n      \"speed\": 0.0,\n      \"cadence\": 89,\n      \"altitudefeet\": 850.3937408367167,\n      \"distancemiles\": 0.0,\n      \"distancekilometers\": 0.0,\n      \"cadencex2\": 178,\n      \"elapsedtime\": \"00:00:00\",\n      \"seq\": 1,\n      \"elapsedseconds\": 0.0\n    },\n\n    ...\n\n    {\n      \"type\": \"Trackpoint\",\n      \"time\": \"2014-10-05T17:22:17.000Z\",\n      \"latitudedegrees\": 44.95180849917233,\n      \"longitudedegrees\": -93.10493202880025,\n      \"altitudemeters\": 263.6000061035156,\n      \"distancemeters\": 42635.44921875,\n      \"heartratebpm\": 161,\n      \"speed\": 3.5460000038146977,\n      \"cadence\": 77,\n      \"altitudefeet\": 864.8294163501167,\n      \"distancemiles\": 26.492439912628992,\n      \"distancekilometers\": 42.63544921875,\n      \"cadencex2\": 154,\n      \"elapsedtime\": \"04:14:24\",\n      \"seq\": 2256,\n      \"elapsedseconds\": 15264.0\n    }\n  ],\n  \"stats\": {\n    \"heartbeat_data\": {\n      \"histogram\": {\n        \"85\": 2,\n        \"89\": 2,\n        \"90\": 2,\n        \"91\": 3,\n        \"93\": 1,\n        \"96\": 2,\n        \"98\": 1,\n        \"100\": 1,\n        \"104\": 1,\n        \"106\": 1,\n        \"107\": 1,\n        \"108\": 3,\n        \"109\": 2,\n        \"111\": 1,\n        \"112\": 1,\n        \"114\": 4,\n        \"115\": 2,\n        \"116\": 1,\n        \"117\": 7,\n        \"118\": 2,\n        \"119\": 3,\n        \"120\": 3,\n        \"121\": 5,\n        \"122\": 3,\n        \"123\": 4,\n        \"124\": 8,\n        \"125\": 15,\n        \"126\": 5,\n        \"127\": 17,\n        \"128\": 22,\n        \"129\": 12,\n        \"130\": 17,\n        \"131\": 23,\n        \"132\": 37,\n        \"133\": 39,\n        \"134\": 34,\n        \"135\": 49,\n        \"136\": 70,\n        \"137\": 82,\n        \"138\": 113,\n        \"139\": 223,\n        \"140\": 221,\n        \"141\": 195,\n        \"142\": 192,\n        \"143\": 124,\n        \"144\": 81,\n        \"145\": 72,\n        \"146\": 75,\n        \"147\": 61,\n        \"148\": 77,\n        \"149\": 55,\n        \"150\": 47,\n        \"151\": 39,\n        \"152\": 32,\n        \"153\": 29,\n        \"154\": 21,\n        \"155\": 12,\n        \"156\": 16,\n        \"157\": 17,\n        \"158\": 8,\n        \"159\": 5,\n        \"160\": 12,\n        \"161\": 8,\n        \"162\": 5,\n        \"163\": 7,\n        \"164\": 3,\n        \"165\": 3,\n        \"166\": 1,\n        \"167\": 4,\n        \"168\": 3,\n        \"170\": 7\n      },\n      \"total_readings\": 2256,\n      \"highest_bpm\": 170,\n      \"average_bpm\": 141.18262411347519,\n      \"most_frequent_bpm\": 139\n    },\n    \"cadence_data\": {\n      \"histogram\": {\n        \"88\": 2,\n        \"92\": 1,\n        \"94\": 4,\n        \"100\": 3,\n        \"102\": 2,\n        \"104\": 3,\n        \"106\": 1,\n        \"108\": 5,\n        \"110\": 7,\n        \"112\": 13,\n        \"114\": 11,\n        \"116\": 19,\n        \"118\": 57,\n        \"120\": 51,\n        \"122\": 30,\n        \"124\": 22,\n        \"126\": 13,\n        \"128\": 8,\n        \"130\": 6,\n        \"132\": 2,\n        \"134\": 2,\n        \"136\": 1,\n        \"138\": 3,\n        \"140\": 2,\n        \"142\": 3,\n        \"144\": 2,\n        \"146\": 3,\n        \"148\": 2,\n        \"152\": 1,\n        \"154\": 1,\n        \"156\": 1,\n        \"158\": 2,\n        \"160\": 2,\n        \"162\": 5,\n        \"164\": 7,\n        \"166\": 62,\n        \"168\": 496,\n        \"170\": 826,\n        \"172\": 380,\n        \"174\": 90,\n        \"176\": 53,\n        \"178\": 24,\n        \"180\": 10,\n        \"182\": 3,\n        \"184\": 7,\n        \"186\": 2,\n        \"188\": 1,\n        \"234\": 1\n      },\n      \"running_avg_cadence\": 170.28571428571428,\n      \"walking_avg_cadence\": 119.6978417266187,\n      \"run_walk_separator_cadence\": 150,\n      \"total_readings\": 2252,\n      \"running_count\": 1974,\n      \"walking_count\": 278,\n      \"idle_count\": 0,\n      \"running_pct\": 87.65541740674956,\n      \"walking_pct\": 12.344582593250445,\n      \"idle_pct\": 0.0\n    }\n  }\n}    \n```\n\n#### Sample Output File - PathParser\n\n```\n{\n  \"filename\": \"data/twin_cities_marathon.tcx\",\n  \"ggps_version\": \"0.5.0\",\n  \"ggps_parsed_at\": \"2024-09-30 09:44:14.336540\",\n  \"path_counter\": {\n    \"TrainingCenterDatabase\": 1,\n    \"TrainingCenterDatabase@xsi:schemaLocation\": 1,\n    \"TrainingCenterDatabase@xmlns:ns5\": 1,\n    \"TrainingCenterDatabase@xmlns:ns3\": 1,\n    \"TrainingCenterDatabase@xmlns:ns2\": 1,\n    \"TrainingCenterDatabase@xmlns\": 1,\n    \"TrainingCenterDatabase@xmlns:xsi\": 1,\n    \"TrainingCenterDatabase@xmlns:ns4\": 1,\n    \"TrainingCenterDatabase|Activities\": 1,\n    \"TrainingCenterDatabase|Activities|Activity\": 1,\n    \"TrainingCenterDatabase|Activities|Activity@Sport\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Id\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Lap\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap@StartTime\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|TotalTimeSeconds\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|DistanceMeters\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|MaximumSpeed\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Calories\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|AverageHeartRateBpm\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|AverageHeartRateBpm|Value\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|MaximumHeartRateBpm\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|MaximumHeartRateBpm|Value\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Intensity\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|TriggerMethod\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Time\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Position\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Position|LatitudeDegrees\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Position|LongitudeDegrees\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|AltitudeMeters\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|DistanceMeters\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|HeartRateBpm\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|HeartRateBpm|Value\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX@xmlns\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX|Speed\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Track|Trackpoint|Extensions|TPX|RunCadence\": 2256,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX\": 108,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX@xmlns\": 108,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|MaxRunCadence\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|AvgRunCadence\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|AvgSpeed\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Lap|Extensions|LX|Steps\": 27,\n    \"TrainingCenterDatabase|Activities|Activity|Creator\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator@xsi:type\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|Name\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|UnitId\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|ProductID\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|Version\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|Version|VersionMajor\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|Version|VersionMinor\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|Version|BuildMajor\": 1,\n    \"TrainingCenterDatabase|Activities|Activity|Creator|Version|BuildMinor\": 1,\n    \"TrainingCenterDatabase|Author\": 1,\n    \"TrainingCenterDatabase|Author@xsi:type\": 1,\n    \"TrainingCenterDatabase|Author|Name\": 1,\n    \"TrainingCenterDatabase|Author|Build\": 1,\n    \"TrainingCenterDatabase|Author|Build|Version\": 1,\n    \"TrainingCenterDatabase|Author|Build|Version|VersionMajor\": 1,\n    \"TrainingCenterDatabase|Author|Build|Version|VersionMinor\": 1,\n    \"TrainingCenterDatabase|Author|Build|Version|BuildMajor\": 1,\n    \"TrainingCenterDatabase|Author|Build|Version|BuildMinor\": 1,\n    \"TrainingCenterDatabase|Author|LangID\": 1,\n    \"TrainingCenterDatabase|Author|PartNumber\": 1\n  }\n}\n```\n\n---\n\n## Changelog\n\n```\nCurrent version: 0.5.1\n\n-  2024/10/15, version 0.5.1   Enabled support for python 3.11\n-  2024/09/30, version 0.5.0   Output as JSON files with numeric attributes\n                               stats added to TCX output by default with heartbeat_data and cadence_data sections\n                               configurable run_walk_separator_cadence\n                               new sample program\n-  2024/09/23, version 0.4.1,  Fix pyproject.toml project description\n-  2024/09/23, version 0.4.0,  Upgraded to python 3.12, pyproject.toml build mechanism, latest m26 >=0.3.1\n-  2020/02/22, version 0.3.0,  Parsing improvements, normalize 'cadence' and 'heartratebpm' attribute names\n-  2020/02/19, version 0.2.1,  Upgraded the m26 and Jinga2 libraries\n-  2017/09/27, version 0.2.0,  Converted to the pytest testing framework\n-  2017/09/26, version 0.1.13, packagin.\n-  2016/11/07, version 0.1.12, updated packaging\n-  2016/11/07, version 0.1.11, updated packaging\n-  2016/11/07, version 0.1.10, updated packaging\n-  2016/11/07, version 0.1.9,  updated packaging\n-  2016/11/07, version 0.1.8,  updated packaging\n-  2016/11/06, version 0.1.7,  updated description\n-  2016/11/06, version 0.1.6,  republished\n-  2016/11/06, version 0.1.5,  refactored ggps/ dir\n-  2016/11/06, version 0.1.4,  refactored ggps/ dir. nose2 for tests\n-  2015/11/07, version 0.1.3,  Added README.rst\n-  2015/11/07, version 0.1.1   Initial release\n```",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Chris Joakim  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "ggps - tcx and gpx file parsing for garmin connect and garmin devices",
    "version": "0.5.1",
    "project_urls": {
        "Homepage": "https://github.com/cjoakim/ggps-py",
        "Issues": "https://github.com/cjoakim/ggps-py/issues",
        "Repository": "https://github.com/cjoakim/ggps-py.git"
    },
    "split_keywords": [
        "files",
        " garmin",
        " gps",
        " gpx",
        " parse",
        " running",
        " tcx"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9555e2b1dea5b4bbc05fe4f76f8eddf709258ee2c42fcc272340ce4d06ff0b88",
                "md5": "314ab4defef41d1d19898d5c602d3e36",
                "sha256": "3d6b6c6986027e65a4b8a46e4a36a944a21535c4db7c7ffc4419339d6814c591"
            },
            "downloads": -1,
            "filename": "ggps-0.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "314ab4defef41d1d19898d5c602d3e36",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 12764,
            "upload_time": "2024-10-15T17:08:35",
            "upload_time_iso_8601": "2024-10-15T17:08:35.800734Z",
            "url": "https://files.pythonhosted.org/packages/95/55/e2b1dea5b4bbc05fe4f76f8eddf709258ee2c42fcc272340ce4d06ff0b88/ggps-0.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "251aa2933214d683ae89a53c5eb0aa1104614fd51717f85e4df424a9495440e9",
                "md5": "f598ca3e6c380861f380b95226b103b5",
                "sha256": "5488d05da82a10c5312363a7c0b805e18bd324ded881e66f3ed7575e846fac00"
            },
            "downloads": -1,
            "filename": "ggps-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f598ca3e6c380861f380b95226b103b5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 13602,
            "upload_time": "2024-10-15T17:08:37",
            "upload_time_iso_8601": "2024-10-15T17:08:37.069497Z",
            "url": "https://files.pythonhosted.org/packages/25/1a/a2933214d683ae89a53c5eb0aa1104614fd51717f85e4df424a9495440e9/ggps-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-15 17:08:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "cjoakim",
    "github_project": "ggps-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "black",
            "specs": [
                [
                    "==",
                    "24.8.0"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2024.8.30"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "3.3.2"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "coverage",
            "specs": [
                [
                    "==",
                    "7.6.1"
                ]
            ]
        },
        {
            "name": "docutils",
            "specs": [
                [
                    "==",
                    "0.21.2"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.10"
                ]
            ]
        },
        {
            "name": "importlib-metadata",
            "specs": [
                [
                    "==",
                    "8.5.0"
                ]
            ]
        },
        {
            "name": "iniconfig",
            "specs": [
                [
                    "==",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "jaraco-classes",
            "specs": [
                [
                    "==",
                    "3.4.0"
                ]
            ]
        },
        {
            "name": "jaraco-context",
            "specs": [
                [
                    "==",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "jaraco-functools",
            "specs": [
                [
                    "==",
                    "4.0.2"
                ]
            ]
        },
        {
            "name": "keyring",
            "specs": [
                [
                    "==",
                    "25.4.1"
                ]
            ]
        },
        {
            "name": "m26",
            "specs": [
                [
                    "==",
                    "0.3.2"
                ]
            ]
        },
        {
            "name": "markdown-it-py",
            "specs": [
                [
                    "==",
                    "3.0.0"
                ]
            ]
        },
        {
            "name": "mdurl",
            "specs": [
                [
                    "==",
                    "0.1.2"
                ]
            ]
        },
        {
            "name": "more-itertools",
            "specs": [
                [
                    "==",
                    "10.5.0"
                ]
            ]
        },
        {
            "name": "mypy-extensions",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "nh3",
            "specs": [
                [
                    "==",
                    "0.2.18"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "24.1"
                ]
            ]
        },
        {
            "name": "pathspec",
            "specs": [
                [
                    "==",
                    "0.12.1"
                ]
            ]
        },
        {
            "name": "pkginfo",
            "specs": [
                [
                    "==",
                    "1.10.0"
                ]
            ]
        },
        {
            "name": "platformdirs",
            "specs": [
                [
                    "==",
                    "4.3.6"
                ]
            ]
        },
        {
            "name": "pluggy",
            "specs": [
                [
                    "==",
                    "1.5.0"
                ]
            ]
        },
        {
            "name": "pygments",
            "specs": [
                [
                    "==",
                    "2.18.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    "==",
                    "8.3.3"
                ]
            ]
        },
        {
            "name": "pytest-cov",
            "specs": [
                [
                    "==",
                    "5.0.0"
                ]
            ]
        },
        {
            "name": "readme-renderer",
            "specs": [
                [
                    "==",
                    "44.0"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.32.3"
                ]
            ]
        },
        {
            "name": "requests-toolbelt",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "rfc3986",
            "specs": [
                [
                    "==",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "rich",
            "specs": [
                [
                    "==",
                    "13.8.1"
                ]
            ]
        },
        {
            "name": "twine",
            "specs": [
                [
                    "==",
                    "5.1.1"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "2.2.3"
                ]
            ]
        },
        {
            "name": "zipp",
            "specs": [
                [
                    "==",
                    "3.20.2"
                ]
            ]
        }
    ],
    "lcname": "ggps"
}
        
Elapsed time: 0.58030s