This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Deprecated: package lacked the framework-specific integration its name implies. Use the strale REST API, MCP server, or straleio SDK instead.
pydantic-ai-strale
Pydantic AI integration for Strale — 250+ independently tested and scored business data capabilities for AI agents.
Strale provides IBAN validation, VAT validation, company data across 27 countries, sanctions screening, compliance checks (KYB, AML, GDPR), invoice extraction, SSL certificate checks, and more. Every capability is quality-scored with the Strale Quality Score (SQS).
Installation
pip install pydantic-ai-strale
Quick Start
from pydantic_ai import Agent
from pydantic_ai_strale import StraleClient
strale = StraleClient(api_key="sk_live_...")
agent = Agent("openai:gpt-4o")
@agent.tool_plain
def validate_iban(iban: str) -> dict:
"""Validate an IBAN number. Returns validity, country, bank BIC, bank name."""
return strale.run("iban-validate", {"iban": iban})
@agent.tool_plain
def check_sanctions(name: str, country: str = "") -> dict:
"""Screen a name against global sanctions lists (OFAC, EU, UN)."""
inputs = {"name": name}
if country:
inputs["country"] = country
return strale.run("sanctions-check", inputs)
@agent.tool_plain
def lookup_company(org_number: str) -> dict:
"""Look up Swedish company data by organization number."""
return strale.run("swedish-company-data", {"org_number": org_number})
Multiple Capabilities
from pydantic_ai_strale import StraleClient
strale = StraleClient(api_key="sk_live_...")
# List all capabilities
caps = strale.list_capabilities()
print(f"{len(caps)} capabilities available")
# Filter by category
compliance_caps = strale.list_capabilities(category="compliance")
for cap in compliance_caps:
print(f" {cap['slug']} — €{cap['price_cents']/100:.2f}")
Capability Categories
| Category | Examples |
|---|---|
| Company Data | swedish-company-data, german-company-data, uk-company-data (27 countries) |
| Compliance | sanctions-check, pep-check, adverse-media-check, vat-validate |
| Validation | iban-validate, vat-format-validate, lei-lookup, swift-validate |
| Finance | exchange-rate, invoice-extract, invoice-validate |
| Web Intelligence | ssl-check, dns-lookup, domain-reputation, seo-audit |
| Data Extraction | pdf-extract, web-extract, url-to-markdown |
Full list: strale.dev/capabilities
Free Tier
5 capabilities work without an API key or signup: email-validate, dns-lookup, json-repair, url-to-markdown, iban-validate.
MCP Alternative
If your agent framework supports MCP, you can use Strale's MCP server directly — no wrapper package needed:
- Endpoint:
https://api.strale.io/mcp - Transport: Streamable HTTP
- npm package: strale-mcp
Trust & Quality
Every Strale capability has a quality score (SQS) combining:
- Quality Profile: correctness, schema compliance, error handling, edge cases
- Reliability Profile: availability, success rate, upstream health, latency
Scores and methodology: strale.dev/trust
Using Strale in agent system prompts
Add this to your Pydantic AI agent's system prompt for automatic capability routing:
When you need to verify a business, validate an IBAN or VAT number, screen
against sanctions/PEP lists, extract data from a URL or document, or check
compliance — use your Strale tools. Call strale_search to find the right
capability, then call it by name. Returns structured JSON with quality scores.
250+ capabilities across 27 countries. Free tier: email-validate, dns-lookup,
json-repair, url-to-markdown, iban-validate (no API key needed).
Links
Metadata
Release files for pydantic-ai-strale 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydantic_ai_strale-0.1.1.tar.gz | 5.8 kB | Without provenance | Details for pydantic_ai_strale-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydantic_ai_strale-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pydantic_ai_strale-0.1.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / pydantic_ai_strale-0.1.1.tar.gz
| Download URL | pydantic_ai_strale-0.1.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65c2a6810a542390f1ec7d9bcfceeab567f4213a556f50e6711b8c0ea67c37ed
|
|
BLAKE2b-256 checksum How to use checksums |
f6ace35695e8c7afe100640c5fd3bf79ecd7a3a8afb1b0ff8079283d29463ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / pydantic_ai_strale-0.1.1-py3-none-any.whl
| Download URL | pydantic_ai_strale-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e661958e926c33ea2b74b12e16fcf57fe73aa8944e8f32edf847d690e86080af
|
|
BLAKE2b-256 checksum How to use checksums |
4f81085e9a15c0f414ddb01691b28446bf40eb819a5a88f4ad5723cbe5965799
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for pydantic-ai-strale 0.1.1
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.