Skip to main content

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

MIT

Project details


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)

Uploaded Source

Built Distribution

textformat-0.0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page