Skip to content

Commit e21c311

Browse files
committed
update links and disclaimer
1 parent b80a6e4 commit e21c311

File tree

6 files changed

+101
-93
lines changed

6 files changed

+101
-93
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ test: phony
1616
docs: phony
1717
uv run --python 3.10 lazydocs \
1818
--overview-file README.md \
19-
--src-base-url https://github.com/rustedpy/result/blob/main/ \
19+
--src-base-url https://github.com/montasaurus/result/blob/main/ \
2020
./src/result

README.md

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
# Result
22

3-
[![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/rustedpy/result/ci.yml?branch=main)](https://github.com/rustedpy/result/actions/workflows/ci.yml?query=branch%3Amain)
4-
[![Coverage](https://codecov.io/gh/rustedpy/result/branch/main/graph/badge.svg)](https://codecov.io/gh/rustedpy/result)
5-
63
A simple Result type for Python 3 [inspired by
74
Rust](https://doc.rust-lang.org/std/result/), fully type annotated.
85

9-
## Installation
10-
11-
Latest release:
6+
> [!WARNING]
7+
> Forked from the original [result](https://github.com/rustedpy/result) library after it became unmaintained. This version is experimental and mainly used for my own projects--use it at your own risk!
128
13-
``` sh
14-
$ pip install result
15-
```
9+
## Installation
1610

1711
Latest GitHub `main` branch version:
1812

1913
``` sh
20-
$ pip install git+https://github.com/rustedpy/result
14+
uv add git+https://github.com/montasaurus/result
2115
```
2216

2317
## Summary
@@ -422,29 +416,6 @@ Sometimes regular `do()` can handle async values, but this error means
422416
you have hit a case where it does not. You should use `do_async()` here
423417
instead.
424418

425-
## Contributing
426-
427-
These steps should work on any Unix-based system (Linux, macOS, etc) with Python
428-
and `make` installed. On Windows, you will need to refer to the Python
429-
documentation (linked below) and reference the `Makefile` for commands to run
430-
from the non-unix shell you're using on Windows.
431-
432-
1. Setup and activate a virtual environment. See [Python docs][pydocs-venv] for more
433-
information about virtual environments and setup.
434-
2. Run `make install` to install dependencies
435-
3. Switch to a new git branch and make your changes
436-
4. Test your changes:
437-
- `make test`
438-
- `make lint`
439-
- You can also start a Python REPL and import `result`
440-
5. Update documentation
441-
- Edit any relevant docstrings, markdown files
442-
- Run `make docs`
443-
6. Add an entry to the [changelog](./CHANGELOG.md)
444-
5. Git commit all your changes and create a new PR.
445-
446-
[pydocs-venv]: https://docs.python.org/3/library/venv.html
447-
448419
## FAQ
449420

450421
- **Why should I use the `is_ok` (`is_err`) type guard function over the `is_ok` (`is_err`) method?**

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
## Functions
1717

18+
- [`result.as_async_generator_result`](./result.md#function-as_async_generator_result)
1819
- [`result.as_async_result`](./result.md#function-as_async_result): Make a decorator to turn an async function into one that returns a ``Result``.
20+
- [`result.as_generator_result`](./result.md#function-as_generator_result)
1921
- [`result.as_result`](./result.md#function-as_result): Make a decorator to turn a function into one that returns a ``Result``.
2022
- [`result.do`](./result.md#function-do): Do notation for Result (syntactic sugar for sequence of `and_then()` calls).
2123
- [`result.do_async`](./result.md#function-do_async): Async version of do. Example:

0 commit comments

Comments
 (0)