The sxtools
Useful Functions Set: Remove Accents, Pluralize, Deep Encode and etc..
Passes all original unittests.
>>> import sxtools
>>> sxtools.join_plus(['Slex', 'Dénis', 'Rafs'], end=' and ')
'Slex, Dénis and Rafs'
>>> import sxtools
>>> sxtools.remove_accents('Olá Mundo')
'Ola Mundo'
Use pip
or easy_install
:
$ pip install sxtools
Use py.test to run unittests