/usr/lib/python2.7/dist-packages/natsort/__init__.py is in python-natsort 4.0.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | # -*- coding: utf-8 -*-
from __future__ import (
print_function,
division,
unicode_literals,
absolute_import
)
# Local imports.
from natsort.natsort import (
natsort_key,
natsort_keygen,
natsorted,
versorted,
humansorted,
realsorted,
index_natsorted,
index_versorted,
index_humansorted,
index_realsorted,
order_by_index,
decoder,
as_ascii,
as_utf8,
ns,
)
from natsort._version import __version__
__all__ = [
'natsort_key',
'natsort_keygen',
'natsorted',
'versorted'
'humansorted',
'realsorted',
'index_natsorted',
'index_versorted',
'index_humansorted',
'index_realsorted',
'order_by_index',
'decoder',
'as_ascii',
'as_utf8',
'ns',
]
|