Skip to main content

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

Requires Python 3.10 or newer.

python -m pip install sudhanva==0.2.0

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, hint, docs_url, and the decoded response body. RFC 9457 problem responses from the profile-insight endpoints map detail (or title) to message and the last segment of type to code.

API coverage

  • profile()
  • posts() and post()
  • batch()
  • create_profile_insight(), profile_insight(), and wait_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

Metadata

Release files for sudhanva 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sudhanva 0.2.0
File Size Uploaded Provenance Actions
sudhanva-0.2.0.tar.gz 7.4 kB Without provenance Details for sudhanva-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sudhanva 0.2.0
File Interpreter ABI Platform Actions
sudhanva-0.2.0-py3-none-any.whl Python 3 none any Details for sudhanva-0.2.0-py3-none-any.whl

Total release size: 13.7 kB

Release files / sudhanva-0.2.0.tar.gz

Download URL sudhanva-0.2.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a84aacaba06034ddbe33ede4dfec176cc7c2b5a1cceea2617e60d413e25365e1
BLAKE2b-256 checksum
How to use checksums
9175124a4f22b9b8ea13ae3c8e9ce8fd52155156093ed053721cc3a3d27bec63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sudhanva-0.2.0-py3-none-any.whl

Download URL sudhanva-0.2.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27f046a5d62c3456d3cf0b949042729cbbdaa5c6c06d746ab3a88d7f4d4d823d
BLAKE2b-256 checksum
How to use checksums
8c627ed3d1c7c491ef4263024a839c067721e36f99357425378de5622fed1aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for sudhanva 0.2.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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page