Librería educativa para jugar con texto: invertir, contar vocales, alternar mayúsculas, etc.
Project description
textfun
textfun es una pequeña librería educativa en Python que permite realizar transformaciones divertidas con texto.
Funcionalidades
- invertir(texto) → invierte el texto.
- alternar_mayusculas(texto) → alterna mayúsculas y minúsculas.
- contar_vocales(texto) → cuenta las vocales.
- es_palindromo(texto) → comprueba si una frase es palíndroma.
- vocales_por_numeros(texto) → cambia las vocales por números parecidos.
Ejemplo de uso
'''python from textfun import alternar_mayusculas, es_palindromo
print(alternar_mayusculas("programacion")) print(es_palindromo("Anita lava la tina")) '''
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
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 textfun-0.1.2.tar.gz.
File metadata
- Download URL: textfun-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a3bb8a4b47b11ef1c42d3c260299faee95e1711a8fc93c54308cbe18ffa3c1b
|
|
| MD5 |
f63a325f15331c319019dd7bf48569d4
|
|
| BLAKE2b-256 |
efb35b4d0130d87384df83f3ba360f7e219ab1b5dc6ef59309e1d4c7f1d53234
|
File details
Details for the file textfun-0.1.2-py3-none-any.whl.
File metadata
- Download URL: textfun-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e74faeb06c06071652294bccf497ca7ea291a6d5bf0b05eaecabaed5ac0afc6b
|
|
| MD5 |
e6ae7384b87197239dcc7adc7b02407b
|
|
| BLAKE2b-256 |
ab0147d7920ac993f03f47c9831489331e4388528bb4ac0868f4e0206134555c
|