# rustedpy/result

NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.

Repository: https://github.com/rustedpy/result
Canonical: https://ross.abutalabs.com/products/rustedpy-result
Homepage: https://github.com/rustedpy/result/issues/201
Language: Python
License: MIT
License Family: permissive
Topics: functional-programming, mypy, python, python3, railway-oriented-programming, rust, strongly-typed, type-safety, typechecking
Archived: true
Last push: 2026-06-25T13:36:00+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 89, release rhythm 35, longevity 100
- inputs: {"age_days": 3915, "days_push": 69, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1680, forks 91 (observed 2026-08-28T04:05:21.538966+00:00)

## What it is
A Python library providing a Rust-like Result type (Ok/Err) for explicit error handling, fully type annotated for mypy and type checkers. The project was archived in June 2026 and is no longer maintained.

## Use cases
- return errors instead of raising exceptions in python
- rust-style result type for python
- type-safe error handling with mypy
- avoid optional tuple error returns
- pattern match on ok and err values
- railway-oriented programming in python

## When to choose
- you want explicit, type-checked error handling instead of exceptions
- your codebase already uses mypy or strict typing
- you want a small, stable, dependency-free result type

## When to avoid
- you need ongoing maintenance, bug fixes, or new Python version support
- starting a new project - consider maintained forks or alternatives
- your team prefers idiomatic Python exception handling

## Facets
- artifact type: library
- maturity: abandoned
- function: error-handling, type-system
- domain: developer-tools, programming-languages
- platform: python, cross-platform
- tags: result-type, rust-inspired, functional-programming, type-annotations, mypy, unmaintained

## Member repositories
- rustedpy/result (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:21.538966+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:41:29.190540+00:00, confidence not recorded.
  - readme: https://github.com/rustedpy/result (fetched 2026-08-28T04:05:21.538966+00:00, sha a1285d2ff130)
  - homepage: https://github.com/rustedpy/result/issues/201 (fetched 2026-08-29T11:14:40.447983+00:00, sha 9fc54e5b7c93)
  - registry_pypi: https://pypi.org/pypi/result/json (fetched 2026-08-29T11:14:40.456849+00:00, sha b4e4a18d2ba0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
