Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: natsort
2 Section: python
3 Maintainer: Debian Python Team <[email protected]>
4 Uploaders: Agustin Henze <[email protected]>,
5 Ulises Vitulli <[email protected]>
6 Build-Depends:
7 debhelper-compat (= 13),
8 dh-sequence-python3,
9 help2man,
10 locales-all <!nocheck>,
11 python3-all,
12 python3-hypothesis <!nocheck>,
13 python3-pytest <!nocheck>,
14 python3-pytest-mock <!nocheck>,
15 python3-setuptools,
16 python3-sphinx,
17 Standards-Version: 4.7.3
18 Homepage: https://github.com/SethMMorton/natsort
19 Vcs-Git: https://salsa.debian.org/python-team/packages/natsort.git
20 Vcs-Browser: https://salsa.debian.org/python-team/packages/natsort
21 Testsuite: autopkgtest-pkg-pybuild
22
23 Package: python3-natsort
24 Architecture: all
25 Multi-Arch: foreign
26 Depends: ${python3:Depends}, ${misc:Depends}
27 Suggests: python-natsort-doc
28 Description: Natural sorting for Python (Python3)
29 natsort lets you apply natural sorting to your sequences easily, for example:
30 .
31 >>> from natsort import natsorted
32 >>> a = ['a2', 'a9', 'a1', 'a4', 'a10']
33 >>> data = [['a1', 'a5'], ['a1', 'a40'], ['a10', 'a1'], ['a2', 'a5']]
34 >>> natsorted(a)
35 ['a1', 'a2', 'a4', 'a9', 'a10'
36 >>> natsorted(data)
37 [['a1', 'a5'], ['a1', 'a40'], ['a2', 'a5'], ['a10', 'a1']]
38 .
39 natsort identifies the numbers and sorts them separately from strings.
40 .
41 natsort comes with a shell script to use natural sorting in shell scripts. You
42 can also execute natsort from the command line with Python -m natsort.
43 .
44 There exists another natural sorting package for Python called
45 python-naturalsort. You may prefer that package if you wish to only sort
46 version numbers.
47 .
48 This is the Python 3 version of the package.
49
50 Package: python-natsort-doc
51 Architecture: all
52 Multi-Arch: foreign
53 Section: doc
54 Depends: ${misc:Depends}, ${sphinxdoc:Depends}, libjs-mathjax
55 Recommends: python3-natsort
56 Description: Natural sorting for Python (doc)
57 natsort lets you apply natural sorting to your sequences easily, for example:
58 .
59 >>> from natsort import natsorted
60 >>> a = ['a2', 'a9', 'a1', 'a4', 'a10']
61 >>> data = [['a1', 'a5'], ['a1', 'a40'], ['a10', 'a1'], ['a2', 'a5']]
62 >>> natsorted(a)
63 ['a1', 'a2', 'a4', 'a9', 'a10'
64 >>> natsorted(data)
65 [['a1', 'a5'], ['a1', 'a40'], ['a2', 'a5'], ['a10', 'a1']]
66 .
67 natsort identifies the numbers and sorts them separately from strings.
68 .
69 natsort comes with a shell script to use natural sorting in shell scripts. You
70 can also execute natsort from the command line with Python -m natsort.
71 .
72 There exists another natural sorting package for Python called
73 python-naturalsort. You may prefer that package if you wish to only sort
74 version numbers.
75 .
76 This package contains API documentation and examples.