No description
Find a file
Kumi 86e4be00ad
Add deploy stage and publish job to CI/CD pipeline
The commit adds a new deployment stage and a publish job to the .gitlab-ci.yml file. The deploy stage is placed after the test stage, and the publish job is defined to run only on tags. The publish job installs Hatchling, Twine, and Build packages, builds the project, and uploads the distribution files to PyPI using the provided token as the password.
2023-08-25 08:02:26 +02:00
src/pykeydelivery Current status 2023-08-16 11:28:38 +02:00
.gitignore Current status 2023-08-16 11:28:38 +02:00
.gitlab-ci.yml Add deploy stage and publish job to CI/CD pipeline 2023-08-25 08:02:26 +02:00
config.dist.ini Current status 2023-08-16 11:28:38 +02:00
LICENSE Current status 2023-08-16 11:28:38 +02:00
pyproject.toml Current status 2023-08-16 11:28:38 +02:00
README.md Current status 2023-08-16 11:28:38 +02:00
test.py Current status 2023-08-16 11:28:38 +02:00

KeyDelivery API Python Client

This is a Python client for the KeyDelivery API. It is a wrapper around the KeyDelivery API, which allows you to track your shipments.

It is not fully featured yet, but it is a good starting point.

Installation

pip install git+https://kumig.it/kumitterer/pykeydelivery

Usage

from keydelivery import KeyDelivery

api = KeyDelivery("YOUR_API_KEY", "YOUR_API_SECRET")

# Find carrier by shipment number

carrier_options = api.detect_carrier("YOUR_SHIPMENT_NUMBER")

# Realtime tracking

tracking = api.realtime("CARRIER_CODE", "YOUR_SHIPMENT_NUMBER")

License

This project is licensed under the MIT License - see the LICENSE file for details.