Skip to main content

llmtyped

uv add llmtyped
from dataclasses import dataclass
from llmtyped import ask

@dataclass
class A:
    n: int
    scores: dict[str, int]

# Set OPENAI_API_KEY in your environment.
result: A = ask[A]("Give Alice and Bob scores from 1 to 10, and set n to their sum.")
print(result.n, result.scores)
from llmtyped import Asker, AnthropicBackend

# Set ANTHROPIC_API_KEY in your environment.
claude = Asker(AnthropicBackend("claude-sonnet-4-5"))
result: A = claude[A]("Give Alice and Bob scores from 1 to 10, and set n to their sum.")

Metadata

Release files for llmtyped 0.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 llmtyped 0.0.1
File Size Uploaded Provenance Actions
llmtyped-0.0.1.tar.gz 16.0 kB With provenance Details for llmtyped-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 30.1 kB

Release files / llmtyped-0.0.1.tar.gz

Download URL llmtyped-0.0.1.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2ef896a0c9972734401b9717d414669a98acc441bfc6448d1f0cdb4f85abd38a
BLAKE2b-256 checksum
How to use checksums
bea67b5d27a37fb63cdfbdc2e7ddc104f1b892c4c246f17f1c061ac4ace909b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / llmtyped-0.0.1-py3-none-any.whl

Download URL llmtyped-0.0.1-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dc559ea7489bf100d80cbd921f9a85ae6e4321dd7492908183137aaa1dd4f32
BLAKE2b-256 checksum
How to use checksums
4adcced3a018af3f2bb91c8596b934d0292f06bc89c8d5ea5e6963fbaefb5667
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Security for llmtyped 0.0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llmtyped-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

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.0.1 This release

2 release files Full 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