Kompy
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:
-
Ensure you have Python installed on your system. This app is compatible with Python 3.11 and above.
-
pip the package:
pip install kompy
-
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:
- Create a connector:
from kompy import KomootConnector connector = KomootConnector(password=..., email=...)
- 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".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Acknowledgements
Metadata
Release files for kompy 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kompy-0.0.9.tar.gz | 17.6 kB | Without provenance | Details for kompy-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Kompy-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for Kompy-0.0.9-py3-none-any.whl |
Total release size: 39.2 kB
Release files / kompy-0.0.9.tar.gz
| Download URL | kompy-0.0.9.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45817e11edeae81813ec7075ed7d6182d726fbfefb26afe501bbe0c61b609039
|
|
BLAKE2b-256 checksum How to use checksums |
b2ce22c9c9d4e44ffb0a58cd9eb4f5beda52317a9f8c7681eebfadb076444f62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / Kompy-0.0.9-py3-none-any.whl
| Download URL | Kompy-0.0.9-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0c6958cbd7af7eac8e33c63a9dacc4377964e1100d2c56a7798a7af583309a6
|
|
BLAKE2b-256 checksum How to use checksums |
a03f51aff7fa2f1d301030ec846b072af4d8d2af613c081112fc33ac5eab7e35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for kompy 0.0.9
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.