Пакет: python3-returns (0.25.0-1)
Ссылки для python3-returns
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код python-returns:
- [python-returns_0.25.0-1.dsc]
- [python-returns_0.25.0.orig.tar.gz]
- [python-returns_0.25.0-1.debian.tar.xz]
Сопровождающие:
Внешние ресурсы:
- Сайт [github.com]
Подобные пакеты:
Make your functions return something meaningful, typed, and safe
Basically, the answer is that returns provides useful abstractions that solve some problems every developer has:
* ``Maybe`` helps to work with None in a type-safe way * ``Result`` helps to work with exceptions in a type-safe way * ``IO`` helps to separate pure code from impure code to make your architecture better * ``Future`` helps to write await free code * ``RequiresContext`` helps to inject dependencies in a very readable, explicit, type-safe, and clean way * ``Pipelines`` can be used independently or together with the types above to create complex, declarative, and type-safe data pipelines
On top of that ``returns`` provides useful interfaces that allows you to switch implementation on the fly. For example, you can write code that works the same way for sync and async execution flows. While being fully type-safe at the same time.
And you can write your own primitives that will solve any other problem you can possible have based on ``returns`` existing or your custom interfaces.
Другие пакеты, относящиеся к python3-returns
|
|
|
|
-
- dep: python3
- интерактивный высокоуровневый объектно-ориентированный язык (версия python3 по умолчанию)
-
- dep: python3-typing-extensions (>= 4.0)
- Backported and Experimental Type Hints for Python
Загрузка python3-returns
| Архитектура | Размер пакета | В установленном виде | Файлы |
|---|---|---|---|
| all | 144,9 Кб | 708,0 Кб | [список файлов] |
