TextFormat is a Python library for data cleaning.
Project description
TextFormat
TextFormat is a Python library for data cleaning.
Installation
Use the package manager pip to install textformat.
pip install textformat
or
pip install -i https://test.pypi.org/simple/ textformat
Usage
from textformat import TextFormat
t = TextFormat()
t.tUrl('ejemplo de https://github.com url')
# return: ejemplo de url
t.fReplace('El acento gráfico o tilde es un signo ortográfico')
# return: El acento grafico o tilde es un signo ortografico
t.fEmoji('Some examples of emojis are 😃, 🧘🏻♂️, 🌍, 🍞, 🚗, 📞, 🎉, ♥️, 🍆, and 🏁')
# return: Some examples of emojis are , , , , , , , ️, , and
t.fTag('ejemplo de #pruebaTag')
# return: ejemplo de prueba tag
t.fFormat('Eejemplo 123de formato {ñ45', 'a-z')
# return: ejemplo de formato
# t.fTweet('tweet') --> Sin # o @ al inicio
# t.format('tweet') --> Todas las funciones anteriores
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
textformat-0.0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for textformat-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac072274df816b2665e03c78e96a377862f82a8fe24d5ea7abeb3da0cd31bee |
|
MD5 | 118afac90f8adf27afa0f97046498b71 |
|
BLAKE2b-256 | b56b442ffe524fa99ea5453db6aebf86861afd0bffe9c97e96bebe51eebde140 |