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.

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 .

Currently you need to log in to run the tests. To do so you need to set some environment variables:

  export KOMOOT_EMAIL=<your email>
  export KOMOOT_PASSWORD=<your password>

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.2

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.2
File Size Uploaded Provenance Actions
Kompy-0.0.2.tar.gz 17.7 kB Without provenance Details for Kompy-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 38.9 kB

Release files / Kompy-0.0.2.tar.gz

Download URL Kompy-0.0.2.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3ba9068f69ec2a4032b584192ab264b9be95a8fb477cb619051d2f80ab18bc12
BLAKE2b-256 checksum
How to use checksums
2586e01898d6a7962ec2ab6b8dedb104d29632916d3c15f897edf71fdb4b903e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

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

Download URL Kompy-0.0.2-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3324f50d918019959ae2cd53c399ae5f7747776455978947fdc585765309a216
BLAKE2b-256 checksum
How to use checksums
fab6c94b6d4436787793bb9a750e47c2f662f41610ff490d35912183b21f460a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for kompy 0.0.2

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