EmbiPay Python SDK
Client library for EmbiPay Admin and Agent APIs.
Installation
pip install embipay
Or install from source for development:
git clone https://github.com/EmbiPay/EmbiPay-SDK-Python.git
cd EmbiPay-SDK-Python
pip install -e .
Usage
Admin API
from embipay import EmbiPayAdmin
admin = EmbiPayAdmin(
"https://embi-pay-dashboard.vercel.app",
"your_admin_api_token"
)
# Create wallet
result = admin.create_wallet(owner_user_id="uuid-from-supabase-auth", balance=100)
wallet = result["wallet"]
# Create pool
result = admin.create_shared_pool("resource-123", 50)
pool = result["pool"]
# Contribute to pool
admin.contribute_to_pool(pool["pool_id"], wallet["agent_id"], 10, usage_limit=5)
# Approve loan
admin.approve_loan(5)
# Record repayment
admin.record_repayment(5, 100, "Paid in full")
Agent API
from embipay import EmbiPayAgent
agent = EmbiPayAgent(
"https://embi-pay-dashboard.vercel.app",
"your_agent_key"
)
tasks = agent.fetch_tasks()
agent.complete_task(tasks["tasks"][0]["id"], "completed", "Done")
Metadata
Release files for embipay 1.0.0
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 | |
|---|---|---|---|---|
| embipay-1.0.0.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| embipay-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / embipay-1.0.0.tar.gz
| Download URL | embipay-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a333d0a573dd16163e421acded8b61a40b16eb4175ed96441e24fa0552358804
|
|
BLAKE2b-256 checksum How to use checksums |
50f1b7caa2d1b9b1cc1c3627db36c9ed68709ac652ed139a527d44104cdee926
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Release files / embipay-1.0.0-py3-none-any.whl
| Download URL | embipay-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79cb5a61148fae1b871fbb4a9b3cde598769675c78de9cf5dc052d753271c0cf
|
|
BLAKE2b-256 checksum How to use checksums |
4f37391efb23a889e0da56bf466815c7d101c590752f9d5e13866a1ffed6f49f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.6
|
Security for embipay 1.0.0
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.