Client SDK for publishing posts to an Inkwire receiver (idempotent, retrying, typed errors).
Project description
inkwire-client
Python client for publishing posts to an Inkwire receiver.
from inkwire_client import publish
result = publish("https://blog.example.com", "your-api-key", {
"external_id": "my-post-1",
"title": "Hello",
"markdown": "# Hello\n\nFirst post via Inkwire.",
"status": "published",
})
publish(base_url, api_key, payload, retries=3) upserts by external_id, retries on 429/5xx with backoff, and raises InkwireClientError(code, message, http_status) on failure.
See the protocol spec for the full payload shape.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file inkwire_client-0.1.0.tar.gz.
File metadata
- Download URL: inkwire_client-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c1d66e475c5f11ab6e9c3ad10dc62f1b0c3880f1bf0b830b31ba4f2ba7f4d7d
|
|
| MD5 |
813a64e0ae9648aa05fa6c0eb93fee77
|
|
| BLAKE2b-256 |
f80ea3165ffd73d153689b31c886bb725125a1f3ad8e6c21fbf7ec92b62c95d5
|
File details
Details for the file inkwire_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: inkwire_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d4f14855780ae2aaf3082fb2e44b29836600d7f6684b45129a2f8fbac3e2e77
|
|
| MD5 |
97d2a1c36dbf6f05ff6c1a1c74c36c27
|
|
| BLAKE2b-256 |
40b87d2fd56bde750b19d96b7ec70c2c13ccf349f8b49fd12d7816c3b5875b8d
|