Skip to main content

Gkmex Python SDK and CLI

gkmex is the official zero-auth Python SDK and command-line client for the public Gkmex used-crane inventory. It requires no account, token, or API key. Every operation is read-only.

Install

pip install gkmex

Python 3.10 or newer is required. The installed package has no runtime dependencies.

Python SDK

from gkmex import GkmexClient

client = GkmexClient()
inventory = client.list_cranes(brand="Liebherr", limit=5)
crane = client.get_crane(inventory["data"][0]["id"])
comparison = client.compare_cranes([
    inventory["data"][0]["id"],
    inventory["data"][1]["id"],
])

print(crane["url"])
print(comparison)

list_cranes supports the published brand, type, limit, offset, and cursor filters. get_crane reads one public record. compare_cranes asks the public Gkmex MCP tool to compare two to five unique crane IDs.

Methods return ordinary Python dictionaries and lists with the published field names unchanged. A JSON price_eur value of null becomes Python None; it means POA (price on application), not zero.

CLI

Every successful command writes indented JSON to stdout:

gkmex list --brand Liebherr --limit 5
gkmex get PUBLIC_ID
gkmex compare PUBLIC_ID PUBLIC_ID

Use gkmex --help for the complete option list and gkmex --version for the installed version. Invalid usage exits with status 2. API, MCP, or network failures print a concise message to stderr and exit with status 1.

Commercial boundary

A published crane listing is an inventory signal, not a reservation. Follow the public record's url field and contact Gkmex to confirm final specifications and availability, condition information, transport, financing, and commercial terms before a purchase decision.

Public resources

Release files for gkmex 1.0.0

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

Source distribution (sdist)

Source distribution for gkmex 1.0.0
File Size Uploaded
gkmex-1.0.0.tar.gz 14.1 kB Details

Built distribution (wheel)

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

Total release size: 22.0 kB

Release files / gkmex-1.0.0.tar.gz

Download URL gkmex-1.0.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2cf4577554d20de9e10a6853d1e53a3b723ea4e08fffe4a74bec3dbfbfa2a73a
BLAKE2b-256 checksum
How to use checksums
03c7367c270ba825de567728222be6ed97ded1ef1bcab9dfec799ae0a8aa044b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / gkmex-1.0.0-py3-none-any.whl

Download URL gkmex-1.0.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92e991f461d254f488f6d02fafe8e736c293048f6d0f8f9136a32a4d4d4cb4ed
BLAKE2b-256 checksum
How to use checksums
615cbe5e916206b4ed2ac171b529d66fecc0e0dee18b9867030768f538b30d9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

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