404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.188.190.212: ~ $
Metadata-Version: 1.1
Name: PyICU
Version: 1.9.8
Summary: Python extension wrapping the ICU C++ API
Home-page: https://github.com/ovalhub/pyicu
Author: Andi Vajda
Author-email: github@ovaltofu.org
License: UNKNOWN
Description: # README file for PyICU
        
        ## Welcome
        
        Welcome to PyICU, a Python extension wrapping the ICU C++ libraries.
        
        ICU stands for "International Components for Unicode".
        These are the i18n libraries of the Unicode Consortium.
        They implement much of the Unicode Standard,
        many of its companion Unicode Technical Standards,
        and much of Unicode CLDR.
        
        The PyICU source code is hosted on GitHub at https://github.com/ovalhub/pyicu.
        
        The ICU homepage is http://site.icu-project.org/
        
        See also the CLDR homepage at http://cldr.unicode.org/
        
        ## Building PyICU
        
        Before building PyICU the ICU libraries must be built and installed. Refer
        to each system's instructions for more information.
        
        PyICU is built with distutils or setuptools:
        
           - verify that the ``INCLUDES``, ``LFLAGS``, ``CFLAGS`` and ``LIBRARIES``
             dictionaries in ``setup.py`` contain correct values for your platform
           - ``python setup.py build``
           - ``sudo python setup.py install``
        
        
        ## Running PyICU
        
          - Mac OS X
            Make sure that ``DYLD_LIBRARY_PATH`` contains paths to the directory(ies)
            containing the ICU libs.
        
          - Linux & Solaris
            Make sure that ``LD_LIBRARY_PATH`` contains paths to the directory(ies)
            containing the ICU libs or that you added the corresponding ``-rpath``
            argument to ``LFLAGS``.
        
          - Windows
            Make sure that ``PATH`` contains paths to the directory(ies)
            containing the ICU DLLs.
        
        
        ## What's available
        
        See the ``CHANGES`` file for an up to date log of changes and additions.
        
        
        ## API Documentation
        
        There is no API documentation for PyICU. The API for ICU is documented at
        http://icu-project.org/apiref/icu4c/ and the following patterns can be
        used to translate from the C++ APIs to the corresponding Python APIs.
        
        ### strings
        
        The ICU string type, ``UnicodeString``, is a type pointing at a mutable
        array of ``UChar`` Unicode 16-bit wide characters. The Python unicode type
        is an immutable string of 16-bit or 32-bit wide Unicode characters.
        
        Because of these differences, ``UnicodeString`` and Python's ``unicode``
        type are not merged into the same type when crossing the C++ boundary.
        ICU APIs taking ``UnicodeString`` arguments have been overloaded to also
        accept Python str or unicode type arguments. In the case of ``str``
        objects, the ``utf-8`` encoding is assumed when converting them to
        ``UnicodeString`` objects.
        
        To convert a Python ``str`` encoded in a encoding other than ``utf-8`` to
        an ICU ``UnicodeString`` use the ``UnicodeString(str, encodingName)``
        constructor.
        
        ICU's C++ APIs accept and return ``UnicodeString`` arguments in several
        ways: by value, by pointer or by reference.
        When an ICU C++ API is documented to accept a ``UnicodeString`` reference
        parameter, it is safe to assume that there are several corresponding
        PyICU python APIs making it accessible in simpler ways:
        
        For example, the
        ``'UnicodeString &Locale::getDisplayName(UnicodeString &)'`` API,
        documented at
        http://icu-project.org/apiref/icu4c/classLocale.html
        can be invoked from Python in several ways:
        
        1. The ICU way
        
                >>> from icu import UnicodeString, Locale
                >>> locale = Locale('pt_BR')
                >>> string = UnicodeString()
                >>> name = locale.getDisplayName(string)
                >>> name
                <UnicodeString: Portuguese (Brazil)>
                >>> name is string
                True                  <-- string arg was returned, modified in place
        
        2. The Python way
        
                >>> from icu import Locale
                >>> locale = Locale('pt_BR')
                >>> name = locale.getDisplayName()
                >>> name
                u'Portuguese (Brazil)'
        
            A ``UnicodeString`` object was allocated and converted to a Python
            ``unicode`` object.
        
        A UnicodeString can be coerced to a Python unicode string with Python's
        ``unicode()`` constructor. The usual ``len()``, ``str()``, comparison,
        ``[]`` and ``[:]`` operators are all available, with the additional
        twists that slicing is not read-only and that ``+=`` is also available
        since a UnicodeString is mutable. For example:
        
            >>> name = locale.getDisplayName()
            u'Portuguese (Brazil)'
            >>> name = UnicodeString(name)
            >>> name
            <UnicodeString: Portuguese (Brazil)>
            >>> unicode(name)
            u'Portuguese (Brazil)'
            >>> len(name)
            19
            >>> str(name)           <-- works when chars fit with default encoding
            'Portuguese (Brazil)'
            >>> name[3]
            u't'
            >>> name[12:18]
            <UnicodeString: Brazil>
            >>> name[12:18] = 'the country of Brasil'
            >>> name
            <UnicodeString: Portuguese (the country of Brasil)>
            >>> name += ' oh joy'
            >>> name
            <UnicodeString: Portuguese (the country of Brasil) oh joy>
        
        ### error reporting
        
        The C++ ICU library does not use C++ exceptions to report errors. ICU
        C++ APIs return errors via a ``UErrorCode`` reference argument. All such
        APIs are wrapped by Python APIs that omit this argument and throw an
        ``ICUError`` Python exception instead. The same is true for ICU APIs
        taking both a ``ParseError`` and a ``UErrorCode``, they are both to be
        omitted.
        
        For example, the ``'UnicodeString &DateFormat::format(const Formattable &,
        UnicodeString &, UErrorCode &)'`` API, documented at
        http://icu-project.org/apiref/icu4c/classDateFormat.html
        is invoked from Python with:
        
            >>> from icu import DateFormat, Formattable
            >>> df = DateFormat.createInstance()
            >>> df
            <SimpleDateFormat: M/d/yy h:mm a>
            >>> f = Formattable(940284258.0, Formattable.kIsDate)
            >>> df.format(f)
            u'10/18/99 3:04 PM'
        
        Of course, the simpler ``'UnicodeString &DateFormat::format(UDate,
        UnicodeString &)'`` documented here:
        http://icu-project.org/apiref/icu4c/classDateFormat.html
        can be used too:
        
            >>> from icu import DateFormat
            >>> df = DateFormat.createInstance()
            >>> df
            <SimpleDateFormat: M/d/yy h:mm a>
            >>> df.format(940284258.0)
            u'10/18/99 3:04 PM'
        
        ### dates
        
        ICU uses a double floating point type called ``UDate`` that represents the
        number of milliseconds elapsed since 1970-jan-01 UTC for dates.
        
        In Python, the value returned by the ``time`` module's ``time()``
        function is the number of seconds since 1970-jan-01 UTC. Because of this
        difference, floating point values are multiplied by 1000 when passed to
        APIs taking ``UDate`` and divided by 1000 when returned as ``UDate``.
        
        Python's ``datetime`` objects, with or without timezone information, can
        also be used with APIs taking ``UDate`` arguments. The ``datetime``
        objects get converted to ``UDate`` when crossing into the C++ layer.
        
        ### arrays
        
        Many ICU API take array arguments. A list of elements of the array
        element types is to be passed from Python.
        
        ### StringEnumeration
        
        An ICU ``StringEnumeration`` has three ``next`` methods: ``next()`` which
        returns a ``str`` objects, ``unext()`` which returns ``unicode`` objects
        and ``snext()`` which returns ``UnicodeString`` objects.
        Any of these methods can be used as an iterator, using the Python
        built-in ``iter`` function.
        
        For example, let ``e`` be a ``StringEnumeration`` instance::
        
        ```python
        [s for s in e] is a list of 'str' objects
        [s for s in iter(e.unext, None)] is a list of 'unicode' objects
        [s for s in iter(e.snext, None)] is a list of 'UnicodeString' objects
        ```
        
        ### timezones
        
        The ICU ``TimeZone`` type may be wrapped with an ``ICUtzinfo`` type for
        usage with Python's ``datetime`` type. For example::
        
        ```python
        tz = ICUtzinfo(TimeZone.createTimeZone('US/Mountain'))
        datetime.now(tz)
        ```
        
        or, even simpler::
        
        ```python
        tz = ICUtzinfo.getInstance('Pacific/Fiji')
        datetime.now(tz)
        ```
        
        To get the default time zone use::
        
        ```python
        defaultTZ = ICUtzinfo.getDefault()
        ```
        
        To get the time zone's id, use the ``tzid`` attribute or coerce the time
        zone to a string::
        
        ```python
        ICUtzinfo.getInstance('Pacific/Fiji').tzid -> 'Pacific/Fiji'
        str(ICUtzinfo.getInstance('Pacific/Fiji')) -> 'Pacific/Fiji'
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Localization
Classifier: Topic :: Software Development :: Internationalization

Filemanager

Name Type Size Permission Actions
Automat-0.6.0.egg-info Folder 0755
CommandNotFound Folder 0755
ConfigArgParse-0.11.0.egg-info Folder 0755
Crypto Folder 0755
DistUpgrade Folder 0755
HweSupportStatus Folder 0755
Jinja2-2.10.egg-info Folder 0755
LanguageSelector Folder 0755
MarkupSafe-1.0.egg-info Folder 0755
OpenSSL Folder 0755
PyJWT-1.5.3.egg-info Folder 0755
SecretStorage-2.3.1.egg-info Folder 0755
Twisted-17.9.0.egg-info Folder 0755
UpdateManager Folder 0755
__pycache__ Folder 0755
acme Folder 0755
acme-0.31.0.egg-info Folder 0755
apport Folder 0755
apt Folder 0755
aptsources Folder 0755
asn1crypto Folder 0755
asn1crypto-0.24.0.egg-info Folder 0755
attr Folder 0755
attrs-17.4.0.egg-info Folder 0755
automat Folder 0755
bcrypt Folder 0755
bcrypt-3.1.4.egg-info Folder 0755
blinker Folder 0755
certbot Folder 0755
certbot-0.31.0.egg-info Folder 0755
certbot_apache Folder 0755
certbot_apache-0.31.0.egg-info Folder 0755
certifi Folder 0755
certifi-2018.1.18.egg-info Folder 0755
chardet Folder 0755
chardet-3.0.4.egg-info Folder 0755
click Folder 0755
click-6.7.egg-info Folder 0755
cloud_init-23.1.2.egg-info Folder 0755
cloudinit Folder 0755
colorama Folder 0755
colorama-0.3.7.egg-info Folder 0755
configobj-5.0.6.egg-info Folder 0755
constantly Folder 0755
constantly-15.1.0.egg-info Folder 0755
cryptography Folder 0755
cryptography-2.1.4.egg-info Folder 0755
dbus Folder 0755
debian Folder 0755
debian_bundle Folder 0755
distro-1.0.1.egg-info Folder 0755
distro_info-0.18ubuntu0.18.04.1.egg-info Folder 0755
distro_info_test Folder 0755
dns Folder 0755
dnspython-1.15.0.egg-info Folder 0755
future Folder 0755
future-0.15.2.egg-info Folder 0755
gi Folder 0755
httplib2 Folder 0755
hyperlink Folder 0755
hyperlink-17.3.1.egg-info Folder 0755
icu Folder 0755
idna Folder 0755
idna-2.6.egg-info Folder 0755
incremental Folder 0755
incremental-16.10.1.egg-info Folder 0755
janitor Folder 0755
jinja2 Folder 0755
josepy Folder 0755
josepy-1.1.0.egg-info Folder 0755
jsonpatch-1.16.egg-info Folder 0755
jsonpointer-1.10.egg-info Folder 0755
jsonschema Folder 0755
jsonschema-2.6.0.egg-info Folder 0755
jwt Folder 0755
keyring Folder 0755
keyring-10.6.0.egg-info Folder 0755
keyrings Folder 0755
keyrings.alt-3.0.egg-info Folder 0755
landscape Folder 0755
language_selector-0.1.egg-info Folder 0755
libfuturize Folder 0755
libpasteurize Folder 0755
markupsafe Folder 0755
mock Folder 0755
mock-2.0.0.egg-info Folder 0755
ndg Folder 0755
ndg_httpsclient-0.4.4.egg-info Folder 0755
netifaces-0.10.4.egg-info Folder 0755
oauthlib Folder 0755
oauthlib-2.0.6.egg-info Folder 0755
parsedatetime Folder 0755
parsedatetime-2.4.egg-info Folder 0755
past Folder 0755
pbr Folder 0755
pbr-3.1.1.egg-info Folder 0755
pexpect Folder 0755
pip Folder 0755
pip-9.0.1.egg-info Folder 0755
pkg_resources Folder 0755
proton Folder 0755
proton_client-0.7.1.egg-info Folder 0755
protonvpn_cli Folder 0755
protonvpn_cli-3.13.0.egg-info Folder 0755
protonvpn_nm_lib Folder 0755
protonvpn_nm_lib-3.16.0.egg-info Folder 0755
ptyprocess Folder 0755
pyOpenSSL-17.5.0.egg-info Folder 0755
pyRFC3339-1.0.egg-info Folder 0755
pyasn1 Folder 0755
pyasn1-0.4.2.egg-info Folder 0755
pyasn1_modules Folder 0755
pygtkcompat Folder 0755
pyrfc3339 Folder 0755
python_debian-0.1.32.egg-info Folder 0755
pytz Folder 0755
pytz-2018.3.egg-info Folder 0755
requests_toolbelt Folder 0755
requests_toolbelt-0.8.0.egg-info Folder 0755
requests_unixsocket Folder 0755
requests_unixsocket-0.1.5.egg-info Folder 0755
secretstorage Folder 0755
serial Folder 0755
service_identity Folder 0755
service_identity-16.0.0.egg-info Folder 0755
setuptools Folder 0755
setuptools-39.0.1.egg-info Folder 0755
six-1.11.0.egg-info Folder 0755
softwareproperties Folder 0755
sos Folder 0755
ssh_import_id Folder 0755
ssh_import_id-5.7.egg-info Folder 0755
systemd Folder 0755
twisted Folder 0755
uaclient Folder 0755
ubuntu_advantage_tools-8001.egg-info Folder 0755
ufw Folder 0755
unattended_upgrades-0.1.egg-info Folder 0755
urllib3 Folder 0755
urllib3-1.22.egg-info Folder 0755
wheel Folder 0755
wheel-0.30.0.egg-info Folder 0755
xdg Folder 0755
yaml Folder 0755
zope Folder 0755
zope.component-4.3.0.egg-info Folder 0755
zope.event-4.2.0.egg-info Folder 0755
zope.hookable-4.0.4.egg-info Folder 0755
zope.interface-4.3.2.egg-info Folder 0755
PAM-0.4.2.egg-info File 193 B 0644
PAM.cpython-36m-x86_64-linux-gnu.so File 19.42 KB 0644
PyICU-1.9.8.egg-info File 10.32 KB 0644
PyICU.py File 1.43 KB 0644
PyYAML-3.12.egg-info File 1.48 KB 0644
README.txt File 119 B 0644
_cffi_backend.cpython-36m-x86_64-linux-gnu.so File 165.56 KB 0644
_dbus_bindings.cpython-36m-x86_64-linux-gnu.so File 155.67 KB 0644
_dbus_glib_bindings.cpython-36m-x86_64-linux-gnu.so File 18.7 KB 0644
_icu.cpython-36m-x86_64-linux-gnu.so File 710.82 KB 0644
_snack.cpython-36m-x86_64-linux-gnu.so File 42.59 KB 0644
_version.py File 21 B 0644
_yaml.cpython-36m-x86_64-linux-gnu.so File 220.16 KB 0644
apport_python_hook.py File 7.87 KB 0644
apt_inst.cpython-36m-x86_64-linux-gnu.so File 50.37 KB 0644
apt_inst.pyi File 227 B 0644
apt_pkg.cpython-36m-x86_64-linux-gnu.so File 338.66 KB 0644
apt_pkg.pyi File 8.69 KB 0644
augeas.py File 23 KB 0644
blinker-1.4.egg-info File 3.81 KB 0644
command_not_found-0.3.egg-info File 189 B 0644
configargparse.py File 40.35 KB 0644
configobj.py File 87.51 KB 0644
deb822.py File 146 B 0644
debconf.py File 6.61 KB 0644
dialog.py File 151.75 KB 0644
distro.py File 37.45 KB 0644
distro_info.py File 10.68 KB 0644
easy_install.py File 126 B 0644
gnupg.py File 52.79 KB 0644
httplib2-0.9.2.egg-info File 2.22 KB 0644
jsonpatch.py File 26.19 KB 0644
jsonpointer.py File 9.15 KB 0644
language_support_pkgs.py File 9.89 KB 0644
lsb_release.py File 14.09 KB 0644
netifaces.cpython-36m-x86_64-linux-gnu.so File 18.59 KB 0644
pexpect-4.2.1.egg-info File 2.23 KB 0644
problem_report.py File 26.28 KB 0644
pyasn1_modules-0.2.1.egg-info File 1.68 KB 0644
pycrypto-2.6.1.egg-info File 666 B 0644
pygobject-3.26.1.egg-info File 1013 B 0644
pyserial-3.4.egg-info File 1.62 KB 0644
python_apt-1.6.6.egg-info File 226 B 0644
python_augeas-0.5.0.egg-info File 238 B 0644
python_gnupg-0.4.1.egg-info File 1.46 KB 0644
pythondialog-3.4.0.egg-info File 13.7 KB 0644
pyxdg-0.25.egg-info File 576 B 0644
six.py File 30.16 KB 0644
snack.py File 30.4 KB 0644
sos-4.4.egg-info File 312 B 0644
systemd_python-234.egg-info File 586 B 0644
ufw-0.36.egg-info File 261 B 0644
validate.py File 46.13 KB 0644
zope.component-4.3.0-nspkg.pth File 529 B 0644
zope.event-4.2.0-nspkg.pth File 299 B 0644
zope.hookable-4.0.4-nspkg.pth File 529 B 0644
zope.interface-4.3.2-nspkg.pth File 529 B 0644