Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textfun-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textfun-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file textfun-0.1.1.tar.gz.

File metadata

  • Download URL: textfun-0.1.1.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

Hashes for textfun-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0cc93a533746f56fe908fbd073841af6db0711c955bfdaaf14a6dbaa393981ec
MD5 d347ee1c8813b16b9c1c9b1ef8ec08e3
BLAKE2b-256 06cbe15da08a46783737ad73f970ed3010f8b935ea0543328203243f178f4589

See more details on using hashes here.

File details

Details for the file textfun-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: textfun-0.1.1-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

Hashes for textfun-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 743a0446c8814f640a4f0118356540ffb572e23b00f7187ec965549ebfa07ed6
MD5 1574dd2c7cdb72597de93d416fceb57d
BLAKE2b-256 49dccbda32b8e44465529ddfbc693dd86c051f7b529735722a188202587340b6

See more details on using hashes here.

Supported by

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