File: control

package info (click to toggle)
python-convertertools 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 352 kB
  • sloc: python: 133; makefile: 19; sh: 5
file content (56 lines) | stat: -rw-r--r-- 1,758 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
Source: python-convertertools
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Uploaders:
 Edward Betts <edward@4angle.com>,
Section: python
Priority: optional
Build-Depends:
 debhelper-compat (= 13),
 dh-sequence-python3,
 dh-sequence-sphinxdoc <!nodoc>,
 furo <!nodoc>,
 pybuild-plugin-pyproject,
 python3-all,
 python3-myst-parser <!nodoc>,
 python3-poetry-core,
 python3-pytest <!nocheck>,
 python3-pytest-cov <!nocheck>,
 python3-setuptools,
 python3-sphinx <!nodoc>,
 python3-sphinx-autobuild <!nodoc>,
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://github.com/bluetooth-devices/convertertools
Vcs-Browser: https://salsa.debian.org/homeassistant-team/deps/python-convertertools
Vcs-Git: https://salsa.debian.org/homeassistant-team/deps/python-convertertools.git

Package: python3-convertertools
Architecture: any
Depends:
 ${misc:Depends},
 ${python3:Depends},
 ${shlibs:Depends},
 ${sphinxdoc:Depends},
Built-Using:
 ${sphinxdoc:Built-Using},
Description: Tools for converting Python data types
 This library provides tools for manipulating Python data structures
 efficiently. It includes functions for deleting and popping elements in
 dictionaries using sets or tuples. These tools help in avoiding repetitive
 code by offering predefined methods for common operations on Python
 dictionaries.
 .
 Note that specific types are required for maximum performance.
 .
 Example usage:
 .
 from convertertools import (del_dict_tuple, del_dict_set,
                             pop_dict_tuple, pop_dict_set)
 .
 # del_dict* raise KeyError on missing keys
 del_dict_tuple(d, ("a", "b"))
 del_dict_set(d, {"a", "b"})
 .
 # pop_dict* ignores missing keys
 pop_dict_tuple(d, ("a", "b"))
 pop_dict_set(d, {"a", "b"})