Skip to main content

Shivanshu Tiwari Python SDK (shivanshu-sdk)

Official Python client library for integrating with Shivanshu Tiwari Portfolio APIs, project catalogs, asynchronous background jobs, Model Context Protocol (MCP), and sandbox testing.

PyPI version Python 3.9+ License: MIT

Installation

pip install shivanshu-sdk

Note: The SDK relies solely on the Python standard library with zero external dependencies.

Quick Start

from shivanshu import ShivanshuClient

# Initialize client (uses https://shivanshutiwari.in by default)
client = ShivanshuClient()

# 1. Query engineering projects
res = client.list_projects(domain="ai-agents")
print(f"Total projects: {len(res['data'])}")
for proj in res["data"]:
    print(f"- {proj['title']} ({proj['slug']})")

# 2. Inspect project architecture and technical tradeoffs
project = client.get_project("agentic-honey-pot")
print("Architecture:", project.get("architecture", {}).get("summary"))

# 3. Test sandbox environment
sandbox = client.ping_sandbox()
print("Sandbox status:", sandbox)

# 4. Generate ephemeral sandbox key
key_data = client.generate_key()
print("Test API key:", key_data["apiKey"])

Features

  • Zero Dependencies: Pure Python 3.9+ using standard urllib and json.
  • Project Intelligence: Query 19 engineering projects, architecture diagrams, and honest limitation disclosures.
  • Batch Processing: Run multi-step operations in an atomic batch.
  • Async Polling: Built-in wait_for_job(job_id) helper.
  • AI Agent Friendly: Built for ingestion by autonomous agents, LangChain tools, and AutoGen systems.

API Reference

  • client.list_projects(limit=20, cursor=None, domain=None)
  • client.get_project(slug)
  • client.compare_projects(slug_a, slug_b)
  • client.generate_key()
  • client.ping_sandbox()
  • client.sandbox_contact(name, email, message)
  • client.run_batch(operations)
  • client.create_job(task, payload=None)
  • client.get_job(job_id)
  • client.wait_for_job(job_id, poll_interval=1.0, timeout=30.0)
  • client.submit_contact(name, email, message, idempotency_key=None)
  • client.get_docs(path="llms.txt")

Links

Release files for shivanshu-sdk 1.0.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 shivanshu-sdk 1.0.0
File Size Uploaded
shivanshu_sdk-1.0.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shivanshu-sdk 1.0.0
File Interpreter ABI Platform
shivanshu_sdk-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / shivanshu_sdk-1.0.0.tar.gz

Download URL shivanshu_sdk-1.0.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7e9a6f0336a553e13da3b5d9c3394b8614448909b9ae4f9d14cd35f1ec29eacb
BLAKE2b-256 checksum
How to use checksums
1c60fe1281a299ac26b26f8810a0e62a2bed0ae2342a010e686679c3fed35c1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / shivanshu_sdk-1.0.0-py3-none-any.whl

Download URL shivanshu_sdk-1.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c509c40514866fe8a8bd32f5e40029ff1d4fab3ed7a429a2d2c0028a31f8b07c
BLAKE2b-256 checksum
How to use checksums
0393a72293e4786f316e2dbd77f1eed9e62200145630c132cac834ccf40b80cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

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