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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textformat-0.0.1.tar.gz.
File metadata
- Download URL: textformat-0.0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0b859596adaa3307ac741880438c432a3c6b02ed7f1b6e1ac868ce34b65e077
|
|
| MD5 |
1c3a339f01e7e2fdeb58bd1753d3fc61
|
|
| BLAKE2b-256 |
4069884fa654c684cf0a0444d3f63bd23f3af58a3e8e622ec92981170fbbe10b
|
File details
Details for the file textformat-0.0.1-py3-none-any.whl.
File metadata
- Download URL: textformat-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ac072274df816b2665e03c78e96a377862f82a8fe24d5ea7abeb3da0cd31bee
|
|
| MD5 |
118afac90f8adf27afa0f97046498b71
|
|
| BLAKE2b-256 |
b56b442ffe524fa99ea5453db6aebf86861afd0bffe9c97e96bebe51eebde140
|