Skip to main content

spanum

The spanum Python module converts numbers to Spanish numerals and vice versa.

Installation

pip install spanum

Functions

spanum.numbers_to_words.number_to_words(n: int) -> str

  • Description: Converts a number to its Spanish word representation.

  • Parameters:

    • n (int): Any number you want to convert.
  • Returns: The Spanish word for the provided number (str).

spanum.words_to_numbers.words_to_number(text: str) -> int

  • Description: Converts a Spanish numeral to an integer.

  • Parameters:

    • text (str): Any Spanish numeral you want to convert.
  • Returns: The integer value corresponding to the provided Spanish numeral (int).

Metadata

Release files for spanum 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for spanum 0.0.2
File Interpreter ABI Platform
spanum-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / spanum-0.0.2-py3-none-any.whl

Download URL spanum-0.0.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44e215dc5d20d1b62e24b8d6505ad7669316d111eeff2aadd5306f701babe50e
BLAKE2b-256 checksum
How to use checksums
5c464f3f655b2e4715341063cd90c95c9c477e079620125cce2eb5ffe31650d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page