Skip to main content

Typed Alchemy

A fully typed, validated async client for the Alchemy API.

PyPI version Python versions Docs License



from typed_alchemy import Alchemy

async with Alchemy.new() as client:
  prices = await client.prices.by_symbol(symbols=['ETH', 'BTC'])
  transfers = await client.transfers(network='ethereum').get_asset_transfers(
    from_block='0x0',
    to_address='0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1',
    category=['external'],
    max_count='0x2',
  )

Why Typed Alchemy?

  • 🎯 Precise Types: Typed request and response models across Portfolio, Prices, NFT, Token, Transfers, Utility, and Simulation endpoints.
  • ✅ Runtime Validation: Responses validated by default, not just typed on paper.
  • ⚡ Async First: One shared async HTTP transport, ready for concurrent requests.
  • 📚 Full Surface: Every supported network exposed uniformly, not just Ethereum.

Installation

pip install typed-alchemy

How To

Reference

Design Philosophy

Typed Alchemy follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typed_alchemy-2.1.0.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typed_alchemy-2.1.0-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

Details for the file typed_alchemy-2.1.0.tar.gz.

File metadata

  • Download URL: typed_alchemy-2.1.0.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_alchemy-2.1.0.tar.gz
Algorithm Hash digest
SHA256 7b187fd125c9b37c5dfeec075095a6b16c4f17fc63c860a763eb9e41964eee0c
MD5 1b5d795a7f27de7f92554a861286bd78
BLAKE2b-256 1d3bd8bf2fe4d559deef5c1c75e3756399726f7e4c23bbb8b58660ebeb9af3f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_alchemy-2.1.0.tar.gz:

Publisher: release-alchemy.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file typed_alchemy-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: typed_alchemy-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 79.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for typed_alchemy-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a380c7690f492cfbd30c3aab69f611ad214e481635059a08462e30a1b3b8e6e3
MD5 6c84358af90989611124812168d251e5
BLAKE2b-256 2d2f48f11011db8555050ad0cd399f3e314e6355e7ce05b25fdbdeb6d56641db

See more details on using hashes here.

Provenance

The following attestation bundles were made for typed_alchemy-2.1.0-py3-none-any.whl:

Publisher: release-alchemy.yml on tribulnation/typed

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 files

2.0.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.1.1

2 files

0.1.0

2 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