HivePay Python SDK for agent-signed checkout lifecycle
Project description
hivepay
Python SDK for HivePay checkout lifecycle.
Install
From PyPI:
pip install hivepay
From this monorepo (editable):
pip install -e .
From backend-v1:
pip install -e ../hivepay-python-sdk
Publish
Build and validate:
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
Upload:
python -m twine upload dist/*
Usage
from hivepay import HivePayClient
client = HivePayClient.from_uploaded_key(
base_url="https://your-backend-domain.example",
uploaded_key="hp_agent_live_...",
sandbox=True,
)
checkout = client.request_checkout(
product_url="https://www.amazon.com/dp/B08N5WRWNW",
quantity=1,
merchant_hint="amazon.com",
)
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
hivepay-0.1.0.tar.gz
(18.0 kB
view details)
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
hivepay-0.1.0-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file hivepay-0.1.0.tar.gz.
File metadata
- Download URL: hivepay-0.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6232dc44b79a35fa8a2ae9081a6727af3dae1d32ea059739835d79485ec7eb7f
|
|
| MD5 |
0369dca404609e7227820cfe55c3aee8
|
|
| BLAKE2b-256 |
8a402c984b18fd299114d74d5e3af07742c3c7b0c0d9fb2478eaa24b21a9f528
|
File details
Details for the file hivepay-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hivepay-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f24387baa34e3fb0ea2033f89466bd2ac6e59431031f37316afff7babd930ec
|
|
| MD5 |
2fece7786f493f308efcdb23c54c6b1d
|
|
| BLAKE2b-256 |
d55dd7dbd0f3bfa6f6fb82ba4dc2a405e2980295e3b45bc422980064496b8b89
|