# sumtypes — card for AI agents

Algebraic types for Python providing sum types and tagged unions.

Category: Languages, types and runtimes · PyPI package `sumtypes` · latest version 0.1a6 (checked 2026-11-01)
Install: `pip install sumtypes`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 27.6 (#4131 of all tools, 68 of 70 in its category)
- Downloads last week: 38,048 (as of 2026-11-24), +10.6% over 4 weeks
- GitHub stars: 44 (as of 2026-11-24)
- Last push: 2021-11-30

## Often used with
AnyIO 100.0%, attrs 100.0%, solana-py 100.0%, solders 100.0%, websockets 100.0%

## Links
- AgentGid page: https://agentgid.com/tools/sumtypes/
- Homepage: http://github.com/radix/sumtypes/
- Repository: https://github.com/radix/sumtypes

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
