File: control

package info (click to toggle)
python-returns 0.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,652 kB
  • sloc: python: 11,000; makefile: 18
file content (57 lines) | stat: -rw-r--r-- 2,167 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Source: python-returns
Homepage: https://github.com/dry-python/returns
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Maximiliano Curia <maxy@debian.org>
Section: python
Priority: optional
Standards-Version: 4.7.0
Build-Depends:
 debhelper-compat (= 13),
 dh-sequence-python3,
 pybuild-plugin-pyproject,
 python3-poetry-core,
 python3-all (>= 3.9),
 python3-typing-extensions (>= 4.0),
 mypy (>= 1.12),
 python3-covdefaults (>= 2.3.0),
 python3-pytest (>= 8),
 python3-hypothesis (>= 6.136),
 python3-anyio (>= 4.3),
 python3-trio (>= 0.25),
 python3-attr (>= 23.2),
 python3-httpx (>= 0.27),
 python3-pytest-cov (>= 5),
 python3-pytest-mypy (>= 3.1),
 python3-pytest-subtests (>= 0.14),
 python3-doc8,
Testsuite: autopkgtest-pkg-pybuild
Vcs-Git: https://salsa.debian.org/python-team/packages/python-returns.git
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-returns
Rules-Requires-Root: no

Package: python3-returns
Architecture: all
Depends: ${python3:Depends},
 ${shlibs:Depends},
 ${misc:Depends},
Description: 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.