Metadata-Version: 2.4
Name: infrarabbit
Version: 0.1.0
Summary: Python client for the InfraRabbit price API: cheapest VPS, GPU and LLM prices, with sources and dates.
License-Expression: MIT
Project-URL: Homepage, https://infrarabbit.com
Project-URL: API, https://infrarabbit.com/api
Project-URL: Repository, https://github.com/InfraRabbit/sdk
Project-URL: Bug Tracker, https://github.com/InfraRabbit/sdk/issues
Keywords: infrarabbit,pricing,vps,gpu,llm,api-client
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.2; extra == "langchain"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: build; extra == "dev"
Dynamic: license-file

# infrarabbit (Python)

Client for the public InfraRabbit price API: cheapest VPS, GPU and LLM prices, each with source and read date. No key.

```python
# pip install infrarabbit
from infrarabbit import Client
c = Client()
top = c.cheapest("vps", ram_gb=4, region="eu", limit=1)["skus"][0]
print(top["name"], top["price"], top["currency"], top["verified_at"])
print(c.search_skus("h100", limit=3)["count"], "H100 SKUs")  # also: sku(), history(), changes(), since(), vps_plans(), index()
```

Async: `from infrarabbit import AsyncClient`, then `await AsyncClient().cheapest("gpu", gpu="H100")`.
LangChain: `pip install "infrarabbit[langchain]"`, then `from infrarabbit.langchain import tools`.
User-Agent is `infrarabbit-python/<version>`. MCP server: https://infrarabbit.com/mcp.

Data: InfraRabbit, infrarabbit.com. Data terms: https://infrarabbit.com/data (the MIT licence covers this code only).
