Proof of Human SDK — scan wallets, poll async jobs, access signal methods
Project description
poh-sdk
Python SDK for the Proof of Human API.
Install
pip install poh-sdk
Quick start
import asyncio
from poh_sdk import PohClient
async def main():
async with PohClient("https://proofofhuman.ge") as poh:
result = await poh.scan("0xabc...")
print(result.result) # True = human, False = bot, None = inconclusive
asyncio.run(main())
Sync usage
from poh_sdk import PohClient
poh = PohClient.sync("https://proofofhuman.ge")
result = poh.scan("0xabc...")
Bulk scanning
async with PohClient("https://proofofhuman.ge") as poh:
job = await poh.scan_bulk(["0xaaa", "0xbbb", "0xccc"])
async for snap in poh.watch_job(job.job_id):
print(f"{snap.percent:.0f}% done")
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
poh_sdk-0.1.0.tar.gz
(6.4 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
File details
Details for the file poh_sdk-0.1.0.tar.gz.
File metadata
- Download URL: poh_sdk-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f400ba7e7c9a5e5bbfd432923519971e5d058992e2216b72c72989c9ba54861
|
|
| MD5 |
4a4ace83bcfc452b79f931f5540a0597
|
|
| BLAKE2b-256 |
763d3dc5c0bb6487f46c5f7df105df2c3a7a880e42738d031ac2d0c9c7996d6f
|
File details
Details for the file poh_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: poh_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7db039f09fff6f014593951fe683b4e17ccd29110e807a94757109bbcedebb02
|
|
| MD5 |
3a27b329e2aed261b9958d9d86990fa8
|
|
| BLAKE2b-256 |
907fcf405601651d85ddb3906ebd484c7f4b987e67b8f013bc7c89fbf11572ae
|