sudhanva for Python
Minimal, dependency-free Python client for the public sudhanva.me API. It retrieves published profile and article metadata, performs bounded batch reads, searches the published site, and creates or polls temporary profile-insight jobs.
The API is public and requires no credentials. Do not send private data.
Install
python -m pip install sudhanva
Use
from sudhanva import Client
client = Client()
profile = client.profile()
posts = client.posts(limit=5, tag="kubernetes")
article = client.post("making-your-site-agent-friendly")
job = client.create_profile_insight(
audience="hiring-manager",
focus=["production-ml", "inference"],
idempotency_key="my-workflow-2026-08-23",
)
result = client.wait_for_profile_insight(job["job_id"])
All methods return decoded JSON dictionaries. Non-success responses raise sudhanva.APIError with
status, code, message, and the decoded response body.
API coverage
profile()posts()andpost()batch()create_profile_insight(),profile_insight(), andwait_for_profile_insight()ask()for NLWeb conversational search
The client follows the stable /api/v1 contract. See the
developer documentation and
versioning policy.
Development
python -m pip install -e .
python -m unittest discover -s tests -v
python -m build
The test suite uses an injected transport and never calls production.
License
MIT
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 sudhanva-0.1.0.tar.gz.
File metadata
- Download URL: sudhanva-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c6c37353e5f822b8b25bcc56eb8ae1a5b3991466037b9e33c9ed69004ed01d
|
|
| MD5 |
d8bdad916b5b4c980bd9812c6a02ccd7
|
|
| BLAKE2b-256 |
4bb024d626b4dc2a0d519d6eed6d76b2894eb5ec28b8cf592c0e42423ebaaf87
|
File details
Details for the file sudhanva-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sudhanva-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 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 |
6ac0fa3a5387753e7eb99e76110a20c4ccffe1302bbce16e18b2bc095dc18b86
|
|
| MD5 |
2a7f8f5e09327785e305bfe1e121c4b1
|
|
| BLAKE2b-256 |
d2f42e1c303c1c04dc24372fb8be0067197c1cb01a0ea25802c869c26dfad5e9
|