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
  • Change Activities on Komoot: Change activity type or name of your existing activity on Komoot
  • Delete Activities on Komoot: Delete your existing activity on 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.12

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.12
File Size Uploaded
kompy-0.0.12.tar.gz 18.2 kB Details

Built distribution (wheel)

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

Total release size: 40.2 kB

Release files / kompy-0.0.12.tar.gz

Download URL kompy-0.0.12.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
151d2e43ed4a946c30b25dacaed0c4a590760049ab848bbc82ea5fa11fe2b41a
BLAKE2b-256 checksum
How to use checksums
26f041b64e749d3b5f90032833a8a20759795502abec01a314655c4ee8b62f27
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.12-py3-none-any.whl

Download URL kompy-0.0.12-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87cc62178a259c6a09956da8eda6819edfa67f104d18e3b0d8be474f83ba042c
BLAKE2b-256 checksum
How to use checksums
2fd8c3113da27cc3282238aa67128dfd7ceaf5961c89ab46dfad9bf86d777fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release history Release notifications | RSS feed

This release

0.0.12 This release

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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