Skip to main content

Kompy

example workflow

Overview

Kompy is a wrapper for Komoot APIs that allows you to download and upload your activities from Komoot.

A documentation can be found here.

Features

  • Download Activities from Komoot: Download your activities from Komoot to GPX, FIT or Custom Object format.
  • Upload Activities to Komoot: Upload your activities to Komoot from GPX, FIT files.
  • Download Tours from Komoot: Download your tours from Komoot

Installation

To get started with the Kompy, follow these steps:

  1. Ensure you have Python installed on your system. This app is compatible with Python 3.11 and above.

  2. pip the package:

    pip install kompy
    
  3. Import the package to your project:

    import kompy as kp
    

Usage

For a more detailed usage example, please check this notebook.

The most basic usage is:

  1. Create a connector:
    from kompy import KomootConnector
    connector = KomootConnector(password=..., email=...)
    
  2. Fetch your activities:
    tours_list = connector.get_tours(user_identifier=None)
    

Run the tests

To run the tests (locally), run:

  pytest .

or

  python -m unittest

Contributing

Contributions to Kompy are welcome! If you have a suggestion that would make this app better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Acknowledgements

Metadata

Release files for kompy 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kompy 0.0.10
File Size Uploaded Provenance Actions
kompy-0.0.10.tar.gz 17.6 kB Without provenance Details for kompy-0.0.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kompy 0.0.10
File Interpreter ABI Platform Actions
Kompy-0.0.10-py3-none-any.whl Python 3 none any Details for Kompy-0.0.10-py3-none-any.whl

Total release size: 39.2 kB

Release files / kompy-0.0.10.tar.gz

Download URL kompy-0.0.10.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a0c052ec1ea17cf2353be1152ca78c527a8a8ecd37ab33ed66d1d8646b033167
BLAKE2b-256 checksum
How to use checksums
7d92fc1c180a1213019931cfe6f535bbaa8069ce114b3d33c1d93ebdaf0c4813
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / Kompy-0.0.10-py3-none-any.whl

Download URL Kompy-0.0.10-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcb555ab7a333ed674370c2f244893d67182f448400d61de19597eb6fe1982db
BLAKE2b-256 checksum
How to use checksums
854175cd18eb0abc27447338dec570e4a3065b0b5b45fd764b6369e7a632cd97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Security for kompy 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page