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.1

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.1
File Size Uploaded
shivanshu_sdk-1.0.1.tar.gz 5.2 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / shivanshu_sdk-1.0.1.tar.gz

Download URL shivanshu_sdk-1.0.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c3a4ada0508d545e80df8f8dd3d50486cb5ed7bf360f45388121e24b5255de4a
BLAKE2b-256 checksum
How to use checksums
941486e7ac8b586826dee42f9c93560aa947c16f323497940334d257fb03b1db
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.1-py3-none-any.whl

Download URL shivanshu_sdk-1.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faa056a747e9bdafe171e334c16c31e5a797f63742a50f165b297aaf895c8217
BLAKE2b-256 checksum
How to use checksums
564a723ab35fbf55c4e89c611eb79e60d134d3662dd2bcb1a8e06f4837f35124
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

This release

1.0.1 This release

2 release files

1.0.0

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