| 1 | Sourcescip-debian debian natsort 8.4.0-2 natsort/Source.: natsortscip-debian debian natsort 8.4.0-2 natsort/ |
| 2 | Sectionscip-debian debian natsort 8.4.0-2 natsort/Section.: python |
| 3 | Maintainerscip-debian debian natsort 8.4.0-2 natsort/Maintainer.: Debian Python Team <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 4 | Uploadersscip-debian debian natsort 8.4.0-2 natsort/Uploaders.: Agustin Henze <[email protected]scip-debian . . . identity/`[email protected]`.>, |
| 5 | Ulises Vitulli <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 6 | Build-Dependsscip-debian debian natsort 8.4.0-2 natsort/Build-Depends.: |
| 7 | debhelper-compatscip-debian debian debhelper-compat . debhelper-compat/debhelper-compat# (= 13), |
| 8 | dh-sequence-python3scip-debian debian dh-sequence-python3 . dh-sequence-python3/dh-sequence-python3#, |
| 9 | help2manscip-debian debian help2man . help2man/help2man#, |
| 10 | locales-allscip-debian debian locales-all . locales-all/locales-all# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 11 | python3-allscip-debian debian python3-all . python3-all/python3-all#, |
| 12 | python3-hypothesisscip-debian debian python3-hypothesis . python3-hypothesis/python3-hypothesis# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 13 | python3-pytestscip-debian debian python3-pytest . python3-pytest/python3-pytest# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 14 | python3-pytest-mockscip-debian debian python3-pytest-mock . python3-pytest-mock/python3-pytest-mock# <!nocheckscip-debian . . . build-profile/nocheck#>, |
| 15 | python3-setuptoolsscip-debian debian python3-setuptools . python3-setuptools/python3-setuptools#, |
| 16 | python3-sphinxscip-debian debian python3-sphinx . python3-sphinx/python3-sphinx#, |
| 17 | Standards-Versionscip-debian debian natsort 8.4.0-2 natsort/Standards-Version.: 4.7.3 |
| 18 | Homepagescip-debian debian natsort 8.4.0-2 natsort/Homepage.: https://github.com/SethMMorton/natsortscip-debian . . . url/`https://github.com/SethMMorton/natsort`. |
| 19 | Vcs-Gitscip-debian debian natsort 8.4.0-2 natsort/Vcs-Git.: https://salsa.debian.org/python-team/packages/natsort.git |
| 20 | Vcs-Browserscip-debian debian natsort 8.4.0-2 natsort/Vcs-Browser.: https://salsa.debian.org/python-team/packages/natsortscip-debian . . . url/`https://salsa.debian.org/python-team/packages/natsort`. |
| 21 | Testsuitescip-debian debian natsort 8.4.0-2 natsort/Testsuite.: autopkgtest-pkg-pybuild |
| 22 | |
| 23 | Packagescip-debian debian natsort 8.4.0-2 natsort/python3-natsort#Package.: python3-natsortscip-debian debian python3-natsort . python3-natsort/python3-natsort# |
| 24 | Architecturescip-debian debian natsort 8.4.0-2 natsort/python3-natsort#Architecture.: all |
| 25 | Multi-Archscip-debian debian natsort 8.4.0-2 natsort/python3-natsort#Multi-Arch.: foreign |
| 26 | Dependsscip-debian debian natsort 8.4.0-2 natsort/python3-natsort#Depends.: ${python3:Depends}, ${misc:Depends} |
| 27 | Suggestsscip-debian debian natsort 8.4.0-2 natsort/python3-natsort#Suggests.: python-natsort-docscip-debian debian python-natsort-doc . python-natsort-doc/python-natsort-doc# |
| 28 | Descriptionscip-debian debian natsort 8.4.0-2 natsort/python3-natsort#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 | Packagescip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#Package.: python-natsort-docscip-debian debian python-natsort-doc . python-natsort-doc/python-natsort-doc# |
| 51 | Architecturescip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#Architecture.: all |
| 52 | Multi-Archscip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#Multi-Arch.: foreign |
| 53 | Sectionscip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#Section.: doc |
| 54 | Dependsscip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#Depends.: ${misc:Depends}, ${sphinxdoc:Depends}, libjs-mathjaxscip-debian debian libjs-mathjax . libjs-mathjax/libjs-mathjax# |
| 55 | Recommendsscip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#Recommends.: python3-natsortscip-debian debian python3-natsort . python3-natsort/python3-natsort# |
| 56 | Descriptionscip-debian debian natsort 8.4.0-2 natsort/python-natsort-doc#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. |